This problem was solved thanks to another lister.  It has nothing to do
with JDK version.  JDK 1.4.1_01 works just fine.  The solution was to
reference a global forward in the input tag of the action.  Struts
versions prior to 1.1 did not require this.  Perhaps a bug?



On Mon, 2003-02-10 at 12:39, Robert Morse wrote:
> Hello,
> I have a very strange validator problem with 1.1-b3.  
> 
> I have a simple logon form (ValidatorForm) that accepts a userid and
> password.  In my validation.xml file I'm specifying that the fields are
> required.  The struts-config.xml file has the validate="true".  When I
> execute this, I get the logon.jsp page successfully displayed, but if I
> leave the fields blank and submit, no errors occur, but a blank white
> display shows up in the browser.
> 
> Now the strange part, if I change validate="false", check for
> non-existent password or userid in the Action, and use errors.add() to
> add the appropriate errors; this time when I submit with the fields
> blank, I get the form re-displayed with errors.  The 'input' key remains
> the same between both versions.
> 
> If I set up a log4.properties file with the level set to DEBUG, I can
> see that the resource keys for the error messages are being loaded, and
> I get a message saying that the validation failed -- so I know the
> validator is being called.  The last message I get tells me:  Validation
> failed, returning to '/logon/logon.jsp'.  But all I get after that is a
> blank white page, yet the '/logon/logon.jsp' is the correct path and
> works when validate='false'.
> 
> Any ideas?
> 
> Thanks!
> 
> -robert.
> -- 
> "All motion is not progress, and all movement is not forward" (anon)
> Key ID:  F0533BB6
> Finger Print:  7F07 D9CD 266F 29D4 3616  164D F055 6E4C F053 3BB6
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
-- 
"All motion is not progress, and all movement is not forward" (anon)
Key ID:  F0533BB6
Finger Print:  7F07 D9CD 266F 29D4 3616  164D F055 6E4C F053 3BB6



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to