• 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Junilu Lacar
  • Martin Vashko
  • Jeanne Boyarsky
  • Tim Cooke
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
  • salvin francis
  • Piet Souris

spring:bind not setting values in the command object

Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • 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



Command class

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

today's feeble attempt to support the empire
Java file APIs (DOC, XLS, PDF, and many more)
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!