How to set value in JSP from within an Action (Struts)
843840Feb 20 2008 — edited Feb 21 2008Hy guys,
I am quite new to struts and I have encountered a problem that seems to have no answer.
The problem is that my application is based on struts, (so I have an Action that triggers, and interprets the action type) and within my Action I calculate a variable that needs to appear in the form on the JSP, on initializitation of page.
So far I tried by setting an attribute to the request, but seems to get me nowhere.
The only solution that I have found is using an entity object, that will initialize the form, but in this case I do not have such an option, so I have to do it other way.
Thanks in advance,
Ender
Edited by: end3r on Feb 20, 2008 12:28 PM