A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
Sharing information between struts 2 variables and scriplets
Joined: Nov 02, 2007
Dec 13, 2007 12:02:00
I am working on a jsp page that uses a combination of jsp scriptlets and
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.
Joined: Feb 08, 2006
Dec 15, 2007 20:08:00
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.
I agree. Here's the link:
subject: Sharing information between struts 2 variables and scriplets
Debugging JSPs in Struts 2 application
working with hashmap using struts2
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014