Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem in implementing the dropdown box based on the selection of other dropdown using struts2

 
Sampath Uppula
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using Struts2.

in a JSP page i have 5 dropdown boxes, based on the selection of the first dropdown i want to fill the second dropdown, the values should come from the database.
simillarly, third dropdown depends on second dropdown and continues till 5th dropdown.

can anybody suggest a way to implement the same.

i have tried the same in the struts 1.x but not able to implement (no luck).
if i go for plain JSP & AJAX implementation then its working but i want use the Struts 2 framework to implement the same.

appreciate your quick response.

Thanks,
Sampath.
 
Shankar Tanikella
Ranch Hand
Posts: 329
Eclipse IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sampath Uppula wrote:if i go for plain JSP & AJAX implementation then its working

The same should be applicable with any framework, only thing that might change is the way you call AJAX on change of your select box. What is the actual problem?

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic