| Author |
way to assign value from struts property to java variable?
|
Bhaarat Sharma
Ranch Hand
Joined: Jun 04, 2007
Posts: 96
|
|
Hi I have a page which is using scriplet java code in the JSP Is there a I can assign a value coming from struts2 action class's method to this java variable? for example or something like that. Thanks
|
omnipresent
|
 |
Patricia Samuel
Ranch Hand
Joined: Sep 12, 2007
Posts: 300
|
|
|
I could not get you what exactly you want to ask .
|
 |
Merrill Higginson
Ranch Hand
Joined: Feb 15, 2005
Posts: 4864
|
|
|
I don't know the answer to your question, but I suspect that you're asking the wrong question. The right question is "How do I accomplish what I want to accomplish by putting all my Java code in the Action class?". I believe if you ask yourself this question, you will find a better solution than if you answer your original question.
|
Merrill
Consultant, Sima Solutions
|
 |
Bhaarat Sharma
Ranch Hand
Joined: Jun 04, 2007
Posts: 96
|
|
sorry for late reply, I am trying to ask if there is a way to create a java variable in the jsp scriplet and assign it a value coming form <s : p roperty> tag so for example hope that makes it clear. Thanks! [ December 10, 2007: Message edited by: Anil Kumble ]
|
 |
 |
|
|
subject: way to assign value from struts property to java variable?
|
|
|