I'm using struts 1.2.4, tomcat 5.0.28, and scaffold. I've got the validator set up, but it isn't working correctly. It is returning me to a blank page instead of returning me back to the input form. It only does this on the ProcessAction side of things, though. With my own action it works as it should. Some info:
This is with javascript turned off. With javascript on, the little error boxes pop up like they should. The one that doesn't work: logging output: 2004-09-21 11:08:49,613 DEBUG org.apache.struts.action.RequestProcessor - Validating input form properties 2004-09-21 11:08:49,701 DEBUG org.apache.struts.util.PropertyMessageResources -getMessage(en,changePassword.oldText) 2004-09-21 11:08:49,701 DEBUG org.apache.struts.util.PropertyMessageResources -loadLocale(en) 2004-09-21 11:08:49,732 DEBUG org.apache.struts.util.PropertyMessageResources -getMessage(en,changePassword.newText) 2004-09-21 11:08:49,733 DEBUG org.apache.struts.util.PropertyMessageResources -loadLocale(en) 2004-09-21 11:08:49,733 DEBUG org.apache.struts.util.PropertyMessageResources -getMessage(en,changePassword.newTextConfirm) 2004-09-21 11:08:49,733 DEBUG org.apache.struts.util.PropertyMessageResources -loadLocale(en) 2004-09-21 11:08:49,733 DEBUG org.apache.struts.action.RequestProcessor - Validation failed, returning to '/secure/util/changePassword.do' action mapping: <action path="/secure/util/changePasswordSubmit" type="org.apache.struts.scaffold.ProcessAction" parameter="collab.beans.secure.util.ChangePassword" input="/secure/util/changePassword.do" name="changePasswordForm" scope="request" validate="true" > <forward name="success" path="/secure/utilities.do" /> </action> (I've tried setting a 'failure' forward in the action, and changing the input to 'failure'.. same result) <action path="/secure/util/changePassword" forward=".secure.util.changePassword" /> form definition: <form name="changePasswordForm"> <field property="changepasswordold" depends="required,minlength,maxlength" > <arg0 key="changePassword.oldText"/> <arg1 key="${var:minlength}" name="minlength" resource="false"/> <arg2 key="${var:maxlength}" name="maxlength" resource="false"/> <var> <var-name>maxlength</var-name> <var-value>16</var-value> </var> <var> <var-name>minlength</var-name> <var-value>1</var-value> </var> </field> < with the field repeated twice again for new password, and new password2 > The form that I've got that DOES work is virtually identical to the above, except the relevant action mappings are: <!-- Process a user logon --> <action path="/logon" type="actions.LogonAction" name="logonForm" scope="request" validate="true" input="failure" > <forward name="success" redirect="true" path="/secure/summaryPage.do"/> <forward name="failure" path="/logonForward.do"/> </action> <action path="/logonForward" forward=".logonPage" /> Any clue what I'm missing? I've tried about every incantation I can think of (except the one that works correctly, of course) Thanks in advance, -- Kirby Vandivort --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]