struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wendy Smoak <Wendy.Sm...@asu.edu>
Subject RE: Validation Problems
Date Wed, 02 Jul 2003 16:30:03 GMT
Nathan wrote:
> I'm trying to set up struts validation (using the validate() function in
the
> actionForm) and I'm getting a few problems.
> First, as soon as I open the form it shows the validation errors. 
> It doesn't wait until I fill out the form. Is there a way to prevent this?

Search the archives, this has come up before.  One way is to override the
'validate' method and only call super.validate() when appropriate.

> Second if I fill out the form correctly (and hence there would be no 
> validation errors) I get a null pointer exception on the:
> org.apache.struts.taglib.html.ErrorsTag.doStartTag(ErrorsTag.java:239)
> tag.

What version of Struts?  I am not seeing this behavior at all.

-- 
Wendy Smoak
Applications Systems Analyst, Sr.
Arizona State University, PA, IRM 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message