>From the note about the MalFormURL Exception I would initially guess you
started the header DOCTYPE in the file incorrectly.  You gave a 6 line entry
from your validation.xml file split like so:

<!DOCTYPE form-validation
PUBLIC "-//Apache Software Foundation//
       DTD Commons Validator Rules
       Configuration 1.0//EN"
       "http://jakarta.apache.org/
      commons/dtds/validator_1_0.dtd">

In a DOCTYPE you should NEVER break up any quoted sections.  You should
either have one, two or three lines when you keep the quoted sections
together, not 6 lines.  The same goes for your validator-rules.xml file.  In
fact the validator-rules file should never be modified but be taken directly
from the struts distribution so its DOCTYPE line would not be split
incorrectly.  Would you be able to use a url like this in your browser with
a space in it? Not like this (which is much like how the SAX parser reads
it:

"http://jakarta.apache.org/ commons/dtds/validator_1_0.dtd"

It looks like you took your inaccurate entries from the 2004 Oracle article:
http://www.oracle.com/technology/oramag/oracle/04-jan/o14dev_struts.html

Once you have fixed this problem you will have at least ONE more issue.  You
made a typo (or copied your information into your email correctly) with the
form name.  You defined your mapping with 'name="LoginForm"'.  Your
validation.xml file lists it differently as "LogonForm".  If those two don't
match each other and your form-bean name="LoginForm" attribute (which didn't
appear in your 2nd to last email), then the validator will not match and
fail.  Not to mention you'll get errors because the bean cannot be found if
it not spelled "LoginForm" in your form-bean definition to match your
action's name attribute.

Regards,
David


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

Reply via email to