This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Customer Requirements for Developers and have Marcho Behler on-line!
See this thread for details.
The moose likes Struts and the fly likes Sharing information between struts 2 variables and scriplets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Sharing information between struts 2 variables and scriplets" Watch "Sharing information between struts 2 variables and scriplets" New topic
Author

Sharing information between struts 2 variables and scriplets

Gary Brader
Greenhorn

Joined: Nov 02, 2007
Posts: 1
Hello,

I am working on a jsp page that uses a combination of jsp scriptlets and struts 2 tags. How do I exchange values between these two types of variables. For example, between a variable defines as:

<% int gridSize ....


and one defined as

<s:set name="MaxGridSize" ....

Thanks in advance.
Gary
Brent Sterling
Ranch Hand

Joined: Feb 08, 2006
Posts: 948
I am not sure...I have not used Struts 2 much. With Struts 1 you could use the bean:define tag to do this. Look for a similar tag in Struts 2.

- Brent
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Sharing information between struts 2 variables and scriplets
 
jQuery in Action, 3rd edition