Dear all,

I have a property in an action class. How can I get its value in JSP pages
without using Struts tag (like s:property etc.)?
For example, how can I print it value using scriplet like this: <% String s
= request.getAttribute("myAttribute"); out.println("This is my string " +
s); %>

I tried this code but it doesn't work. In which scope (request, session,
application ...) is my property stocked?

Thank you very much.
-- 
View this message in context: 
http://old.nabble.com/Struts-2---Getting-values-from-action-in-JSP-pages-using-scriplet--tp28050118p28050118.html
Sent from the Struts - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to