This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes Using html: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 » Struts
Bookmark "Using html:select" Watch "Using html:select" New topic
Author

Using html:select

sanjeev shrivastev
Greenhorn

Joined: Oct 03, 2008
Posts: 4
Hi,
Hi,

I am using a two html select in a form.
I want to populate the value of one select on the basis of other ( from the database)

Right now, first one is fixed so I filled it in jsp file with the values.
2nd select is filled as the page loads from the database.

Both select are in same form tag.

But option of the second one is from another form(lets say sessionsstartForm) and it has a separate action as well.

Is there any way to load the 2nd list box (from DB query) according to the value from 1st list box.
Is there anyway to load page again with the change of value of first listbox?
 
jQuery in Action, 2nd edition
 
subject: Using html:select
 
Similar Threads
Struts Html select tag
could not load the select box during pageload.
Html Select - to make an option selected
JSP Form values Not able to submit
Dynamic Changes in JSP - Urgent