File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Dynamic drop down in struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Dynamic drop down in struts" Watch "Dynamic drop down in struts" New topic

Dynamic drop down in struts

java mohamed

Joined: Dec 22, 2010
Posts: 9
Hi I am new to Struts.. how can i generate dynamic drop down using struts.....

thanks in advance
Johannes Geppert
Ranch Hand

Joined: Jan 12, 2010
Posts: 67
what do you mean with "dynamic drop down"?

Maybe take a look at the Struts2 jQuery Project.
There exists an implementation for a dynamic select box.


My Java and Webprogramming Blog
java mohamed

Joined: Dec 22, 2010
Posts: 9
I am geeting error...

javax.servlet.jsp.JspException: Failed to obtain specified collection




please give me solution.... thanks in advance

Chris Montgomery
Ranch Hand

Joined: Jan 14, 2004
Posts: 141
Sorry was thinking this was Struts 2, I haven't done Struts 1 stuff in ages - but will give it a shot:

Your struts-config action is referencing your products form. do you have that form bean defined in your struts config?

I agree. Here's the link:
subject: Dynamic drop down in struts
It's not a secret anymore!