wood burning stoves 2.0*
The moose likes Struts and the fly likes Passing struts-tag value to java / javascript variable in JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Passing struts-tag value to java / javascript variable in JSP" Watch "Passing struts-tag value to java / javascript variable in JSP" New topic
Author

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

Srinivas Cool
Greenhorn

Joined: Nov 22, 2007
Posts: 1
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

Joined: Feb 15, 2005
Posts: 4864
It depends on what scope your TreeBean property is in. If it's in request scope, the following would work:



Merrill
Consultant, Sima Solutions
 
 
subject: Passing struts-tag value to java / javascript variable in JSP
 
Similar Threads
Struts +retrieving values from text area
Struts1.1 ( TreeView & Paging)
Problem with html:select
I need ur support in sorting out the struts issue
Writting Nested Properties