How do you initialize values to use in a form? I tried just initializing the value in the action and referencing it in the form, but the value is not set.
In action:
private String test = "tesing";
in form:
<s:textfield value="%{test}"/>
How do you initialize values to use in a form? I tried just initializing the value in the action and referencing it in the form, but the value is not set.
In action:
private String test = "tesing";
in form:
<s:textfield value="%{test}"/>