Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Dynamic drop down in struts

 
java mohamed
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi I am new to Struts.. how can i generate dynamic drop down using struts.....

thanks in advance
 
Johannes Geppert
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
java mohamed
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 141
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic