• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

spring:bind not setting values in the command object

 
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

I have tried this in one of the JSPs in my application, it works very well. But When I do it on any of subsequent or other JSPs I dont get values set into my command object. Please have a look at the following code and let me know where I am going wrong.
Note, I tried to copy from the download functionality to get this working, Hence the form bean reused here. But it did not work when I had upload bean either. So copying the code as it is.

Spring XML



Controller


JSP




Command class






In the log file, the following line has null for searchstring. Please let me know what is wrong in the code.




Thanks,
Kavitha.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic