• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Passing struts-tag value to java / javascript variable in JSP

 
Srinivas Cool
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all,

Im trying to pass the value got from the struts-tag to the java variable in the JSP page. However Im not able to get the output. Can you guys help me on this please...




Here the list can be populated in the jsp page. However I want the values into JSP list. Im not able to populate the same..




I want the values into the jspList variable for further processing. Can you guys please help me on this....
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It depends on what scope your TreeBean property is in. If it's in request scope, the following would work:

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic