Search:

Type: Posts; User: markwen; Keyword(s):

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Spring MVC 2.5.6 - Form Select Tag not working as expected

    Hi everyone,

    I am doing a new web project, and still using the old property editor in spring 2.5. Recently I met a strange problem: a form Select tag has multiple values selected while it is not...
  2. It turns out to be a "class loading hell"...

    It turns out to be a "class loading hell" problem. After I marked some dependencies in the web module as provided, the issue is gone.

    Cannot believe that class loading is such a headache.
    ...
  3. It turns out to be a "class loading hell"...

    It turns out to be a "class loading hell" problem. After I marked some dependencies in the web module as provided, the issue is gone.

    Cannot believe that class loading is such a headache.
    ...
  4. Please see the second part of my post: ...

    Please see the second part of my post:

    http://forum.springsource.org/showthread.php?p=323155

    I am still wondering if anyone could help me out.

    Thanks.
  5. Having read the post below: ...

    Having read the post below:

    http://forum.springsource.org/showthread.php?t=50364

    I've added the file beanRefContext.xml:


    <?xml version="1.0" encoding="UTF-8"?>
    <beans...
  6. Spring 3 + JEE project: java.lang.NoClassDefFoundError

    Hi,

    Hi everyone,

    I am asking help for a simple Maven + Spring 3 + JEE project, which has three modules: ear, ejb and web. I am trying to use JPA and Spring's AbstractStatelessSessionBean class....
  7. AOP in Spring + JEE project: java.lang.NoClassDefFoundError

    Hi everyone,

    I am asking help for a simple Maven + Spring 3 + JEE project, which has three modules: ear, ejb and web. I am trying to use JPA and Spring's AbstractStatelessSessionBean class. The...
  8. Replies
    5
    Views
    1,386

    Problem Solved

    I just marked the spring dependencies in the war pom.xml as provided, and it seems the problem is solved.

    I really appreciate, guys! :)

    Mark
  9. Replies
    5
    Views
    1,386

    Hi Marten, Thanks for the quick response. ...

    Hi Marten,

    Thanks for the quick response.

    Actually, I am using Maven to make a multi-module JEE project. There is a copy of Spring jars in the ear file, and another copy in the war file. In...
  10. Replies
    5
    Views
    1,386

    MailEngine cannot be wired

    Hi everyone,

    I am asking help for deploying my spring application in JBoss 5.1.

    I have a MailEngine class like the one below (if you feel familiar, yes - it's from Appfuse):


    public class...
  11. Replies
    13
    Views
    7,306

    I met the same problem as Kantorn, and wonder how...

    I met the same problem as Kantorn, and wonder how he solved his problem.

    What I did was using a proxy server to load test a spring-mvc application, and I included *.html, *.jsp, excluded...
  12. Hi, cablepuff Your points make sense. However,...

    Hi, cablepuff

    Your points make sense. However, I did use AnonymousProcessingFilter to achieve my goal and it works fine. But I will listen to your opinions to adjust the codes.

    Thanks for the...
  13. em...

    I realized that maybe I can try AnonymousProcessingFilter.
  14. How to partially protect a website using Acegi

    Hi,

    I want to partially protect some links in a website, and used the following configuration:

    web.xml:

    <filter>
    <filter-name>securityFilter</filter-name>
    ...
  15. Replies
    7
    Views
    1,450

    I mistakenly used POST method instead of GET

    Hi,

    One thing is sure: according to the Spring document, use GET when entering the form, use POST when submitting the form. I mistakenly used POST when entering the form, so Spring took it as a...
  16. Is there any way to save the ExcelView or PDFView on the server?

    I am trying to use Spring to send an email and attach a computer generated Excel file in the mail. Is there any way to save the ExcelView on the server side? There is a thread on this forum to...
  17. brilliant

    Hi, Andrew

    Thanks so much for your great idea.

    I totally understand your FreeMarker code, but I am using JSTL, not sure this way will work for me before I try. Anyway, it's brilliant! I never...
  18. I am using Hibernate

    Hi, Andrew

    As I said in the first post, I am using Hibernate, and I tried the customized property editor before starting this thread, which didn't work.

    The reason is, according to the business...
  19. I don't mean I have problem in displaying fields

    Hi, orusso

    As I said, I was trying to edit those fields, like the follows:

    <spring:bind path="sailsDetails.deliveryFrom.id">
    <input name="xxxxx" value="xxxxx>
    </spring:bind>

    (Actually I...
  20. Hi, Andrew. Nice to meet you. :) Sorry, I...

    Hi, Andrew. Nice to meet you. :)

    Sorry, I thought people will understand my problem.

    For example, I have a sale details object, which has a delivery location property and pickup location...
  21. Any real solutions to the null value in nested binding path?

    Hi, Everybody

    I think a lot of people have met this problem.

    I searched in this forum for suggestions, but none of them works. Someone proposed using customized property editor, but if the...
  22. Thanks, yatesco. I looked at other sample...

    Thanks, yatesco.

    I looked at other sample projects, and they employed the same way.

    Buy my code didn't work, so I switched to Spring MVC file uploading - it worked perfectly, for uploading a...
  23. how to receive submitted data from a form with no binding?

    In a html form there is a textarea field:

    <form name="uploadForm" method="post" action="readItems.html">
    <textarea name="txtItems" cols="120" rows="50"></textarea>
    <br><br>
    <input...
  24. Replies
    7
    Views
    1,450

    Seems I solved the problem by adding another...

    Seems I solved the problem by adding another protected method in the EditBuyerController:

    protected ModelAndView handleInvalidSubmit(HttpServletRequest request, HttpServletResponse response)...
  25. Replies
    7
    Views
    1,450

    one more question: could anyone tell me under...

    one more question: could anyone tell me under what circumstance could a SimpleFormController doesn't show the formView? It's really weird.
Results 1 to 25 of 27
Page 1 of 2 1 2