my dog learned polymorphism*
The moose likes Spring and the fly likes Preloading form:select Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Preloading form:select" Watch "Preloading form:select" New topic
Author

Preloading form:select

Jay Abrahm
Ranch Hand

Joined: May 28, 2008
Posts: 183
I have a page that first makes a DB hit for authentication and at the same time populates the jsp dropdown. I was able to make the db hit for both queries but unable to populate the dropdown. Can someone please help me figure what is wrong in the attached code.






Also, if someone has some sample code to populate form:select it would be helpful.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Preloading form:select
 
Similar Threads
Spring MVC binding with List of Objects
how to prepopulate a form using form:input tag?
Calling a controller method without reloading whole page
Struts 2 s:div doubleselect problem ?
New value is inserted into db in @ManyToOne relation instead of update