You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2004/09/23 02:12:29 UTC
DO NOT REPLY [Bug 31374] New: -
Forward path in Validator struts-config.xml in struts-examples incorrect
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31374>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=31374
Forward path in Validator struts-config.xml in struts-examples incorrect
Summary: Forward path in Validator struts-config.xml in struts-
examples incorrect
Product: Struts
Version: 1.2.4
Platform: All
OS/Version: All
Status: UNCONFIRMED
Severity: Minor
Priority: Other
Component: Example
AssignedTo: dev@struts.apache.org
ReportedBy: rmsnz@xtra.co.nz
Currently in struts-examples, the validator module's struts-config.xml file
contains the following action:
<action path="/jsType-submit"
type="org.apache.struts.webapp.validator.TypeAction" name="jsTypeForm"
scope="request" validate="true" input="input">
<forward name="input" path="/editJsType-submit.do?typeForm.reset=false" />
<forward name="success" path="/welcome.do" />
</action>
The path for the "input" forward is incorrect as editJsType-submit does not
exist. I believe the "input" forward should read:
<forward name="input" path="/editJsType.do?typeForm.reset=false" />
I'm a bit of a Struts novice at the moment so can someone confirm that my
assessment is correct?
Unfortunately I don't have any access to create a patch for this at the moment
but will attempt to create one soon if no-one else does first.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org