?
=?iso-8859-1?q?S=F8ren_Poulsen?=
I have an action mapping (shown below) that forwards the user back to
the same
page if form validation fails. Only problem is the page requires a http
parameter
to setup some data thats shown. When struts forwards on validation
failure this
parameter is not set. What is the workaround for this situation??
<action path="/savex"
name="EditXForm"
type="SaveXAction"
input="/editx.jsp"
validate="true">
<forward name="saved" path="/viewx.do"/>
</action>
the same
page if form validation fails. Only problem is the page requires a http
parameter
to setup some data thats shown. When struts forwards on validation
failure this
parameter is not set. What is the workaround for this situation??
<action path="/savex"
name="EditXForm"
type="SaveXAction"
input="/editx.jsp"
validate="true">
<forward name="saved" path="/viewx.do"/>
</action>