Does anyone know how to assign a value from <s:property> to a JSP variable?

I'm trying to do something like this (I know this doesn't work):

<%
   String prodType = <s:property value="productType"/>;
%>

We're migrating a struts 1.0.2 app to 2.1 and we have a lot of code that
used to access the ActionForm and assign values to JSP.

Thanks in advance,
Graham



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to