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=29544>. 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=29544 provide more explanation to "No input attribute for mapping path" [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Normal |Minor ------- Additional Comments From [EMAIL PROTECTED] 2004-06-13 18:51 ------- I have added a bogus input="bogusInexisting.jsp" and the error no longer appears. I doubt that this is an advisable programming approach since the form-post causing the error wasn't from a browser, but from another application that isn't particularly well served with an answer coming in the form of full jsp page. I have used <<ServletOutputStream out = response.getOutputStream(); out.println("RETURN_CODEX"); out.close(); return null;>> to provide simple short return strings if needed. Sure, instead of providing a bogus input parameter, I could also set validate="false" in my struts-config.xml. But I don't want to do this because I do use the Struts Validator and want it to be effective. In conclusion, it almost appears that struts makes the "input" attribute mandatory even though in the struts-config_1_1.dtd it seems to be quite optional <!ELEMENT action (icon?, display-name?, description?, set-property*, exception*, forward*)> If so, why not either declare the input field mandatory already in the dtd or when bringing up the error message as per the summary indicate why in this particular situation (where no real error has occured), all of a sudden, it should be present anyway? To me this feels like an error in struts or at least an enhancement idea worthwhile to shortly consider. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]