Hello,

I want to assign a property to a value in jsp.

in struts 1.3 i could do it like:

<bean:define id="assign" name="somename" property="userName"
type="java.lang.String" />

Now I can access the variable via:  <%=assign%>

How can i accomplish this in struts2 for a property:
<s:property value="userName"/>


thanks
in advance.

Niels

Reply via email to