Search:

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

Page 1 of 3 1 2 3

Search: Search took 0.02 seconds.

  1. Replies
    13
    Views
    1,280

    actually, it happens when your action attribute...

    actually, it happens when your action attribute is left empty and you are using a request parameter that is same as one of your model object's attribute. You can use the empty action with a parameter...
  2. Have you looked at this approach ? ...

    Have you looked at this approach ?

    http://forum.springsource.org/showthread.php?t=9576&highlight=bind+errors+string+Integer
  3. Replies
    2
    Views
    668

    Take a look at the solution I posted for a...

    Take a look at the solution I posted for a similar problem.

    http://forum.springsource.org/showthread.php?t=45312
  4. Replies
    13
    Views
    1,280

    This is because when you have passed the userID...

    This is because when you have passed the userID parameter and dont mention the action url, spring uses the url used to get to the view as the action url. So, when the form is submitted it submits to...
  5. Replies
    13
    Views
    1,280

    You did not answer the specific question. But, if...

    You did not answer the specific question. But, if I am not mistaken, the includePage has the url to the spring controller with a parameter userID=123.

    But your problem will be fixed if you used...
  6. Replies
    13
    Views
    1,280

    This is what I was suspecting. Now how do you get...

    This is what I was suspecting. Now how do you get to this view ? do you use controller?userID=xxx ? If not how ?
  7. Replies
    13
    Views
    1,280

    Can I see the html form on your jsp ? I need to...

    Can I see the html form on your jsp ? I need to see how you invoke the controller. And also, how you create the view for the same. That may give me more insight into your problem.
  8. Replies
    13
    Views
    1,280

    I think you are calling the jsp/controller with...

    I think you are calling the jsp/controller with the same parameters, which will cause this problem. Can you check that and let me know ?
  9. The problem is before you can validate the model...

    The problem is before you can validate the model object, spring tries to bind the value entered on the form to the model. This is when its throwing the error. So, I believe you will have to extend...
  10. Replies
    1
    Views
    593

    I think you can do that by returning a...

    I think you can do that by returning a RedirectView object in your ModelAndView. The RedirectView should have your desired URL. Let me know if it does not work.
  11. Replies
    1
    Views
    658

    Yes. Definitely!

    Yes. Definitely!
  12. Replies
    3
    Views
    829

    Can you also post your spring config that handles...

    Can you also post your spring config that handles the page/welcome url ?
  13. Ranjith, If the class compiles, it does not mean...

    Ranjith, If the class compiles, it does not mean it will work at runtime unless you have the required jars in the classpath while running the application. One sure shot way of making sure that the...
  14. It would help if you could post the xml.

    It would help if you could post the xml.
  15. Replies
    5
    Views
    1,110

    Have you tried BeanPostProcessor ?

    Have you tried BeanPostProcessor ?
  16. Did you try removing the "classpath:" and just...

    Did you try removing the "classpath:" and just try with "message" ? You dont need to prefix it with "classpath:" and you also dont need to suffix with ".properties"
  17. Interesting! Never seen that before.. Did you get...

    Interesting! Never seen that before.. Did you get a chance to see the HTML content of the page when it loads up ? If you dont mind me asking for stupid info, could you please post the same ? Am...
  18. Sorry I am still not getting your problem. As I...

    Sorry I am still not getting your problem. As I asked earlier, can you answer me
    While using the spring tags, Does this happen when you first load the page ? Or when you submit the page ?

    PS:...
  19. So when u try to get to this page to input the...

    So when u try to get to this page to input the data, do you just see a blank page or a page with labels but no textboxes ?

    Can you paste your controller code as well ?
  20. Replies
    7
    Views
    1,439

    Well, This is something I have faced.. so I guess...

    Well, This is something I have faced.. so I guess I can answer this one very confidently.

    Its because of the way you have defined the <form:form /> tag. If you do not provide an...
  21. Check the success view for this controller. You...

    Check the success view for this controller. You may be going to a page which does not have these textboxes.
  22. Replies
    3
    Views
    1,112

    Must be a simple code fix in your...

    Must be a simple code fix in your validator/property editor. You should not validate format when there is nothing entered for the field. Your property editor should not try to format if there is...
  23. replace the doSubmitAction() with any of the...

    replace the doSubmitAction() with any of the following and it should work.




    protected ModelAndView processFormSubmission(HttpServletRequest request, HttpServletResponse response, Object...
  24. I never had such problems with tomcat. Did u try...

    I never had such problems with tomcat. Did u try to do this ?
    <property name="storeName" value="Bruce's Bikes" />
  25. Replies
    2
    Views
    1,854

    1. Try setting the content type of the response...

    1. Try setting the content type of the response to whatever u are trying to send.
    2. Get the handle on the SerlvletOutputStream from the response and stream your bytes to that.
Results 1 to 25 of 62
Page 1 of 3 1 2 3