Proceeding from the question
In Struts1, how to use set-property tag inside action tag?
When set-property
tag is used, its value is mapped to property in extended ActionMapping class. Is there any way to access this property in JSP ?
Proceeding from the question
In Struts1, how to use set-property tag inside action tag?
When set-property
tag is used, its value is mapped to property in extended ActionMapping class. Is there any way to access this property in JSP ?
You can make use of the
bean:struts
tag:Once defined, you can access the properties straight on the
myActionMapping
JSP bean:Or, using EL:
Reference: struts-bean.tld