Everything is working nicely now.  Many thanks to Dave Newton and Harish
Krishnaswamy for your help.
Dave you are right if I had nickle....

Jason Long - CEO and Chief Software Engineer
Supernova Software - supernovasoftware.com
BS Physics, MS  Chemical Engineering

-----Original Message-----
From: Dave Newton [mailto:[EMAIL PROTECTED]
Sent: Sunday, March 09, 2003 3:57 PM
To: Jason Long
Subject: RE: Multiple forms with same format and validation problem.


> 1. request.getAttribute("page") is returning null and I cannot use the
> action form methods for inside this class even though it is being passed
in.

It should be request.getParameter("page")

Dontcha hate that? If I had a nickel for every time I've done that...
well, I'd have like $.15, but still.

> 2. My form field values are filled in except the errors are not being
> displayed an the page anymore.

    ActionErrors errs = form.validate(mapping, request);
    if ((errs != null) && !errs.isEmpty()) {
        saveErrors(request, errs);
    }

See if that does the trick!

Dave




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

Reply via email to