aspose file tools*
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Dynamic drop down in struts" Watch "Dynamic drop down in struts" New topic
Author

Dynamic drop down in struts

java mohamed
Greenhorn

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.

Johannes


My Java and Webprogramming Blog
java mohamed
Greenhorn

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

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


struts-config.xml


products.java



productForm.java



productAction.java


link.jsp


transactionEntry.jsp



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: http://aspose.com/file-tools
 
subject: Dynamic drop down in struts
 
Similar Threads
drop down menu in struts
Dynamic Drop Down Menu
Dynamic adding values in ListBox
How to Dynamically populate the values(customized) of drop down list ?
javax.servlet.jsp.JspException: Failed to obtain specified collection