struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Hardy <ahardy.str...@cyberspaceroad.com>
Subject UrlValidator() takes options - but how?
Date Thu, 01 Apr 2004 11:17:42 GMT

In UrlValidator() in the validator package, one can set various options
upon instantiation, such as ALLOW_2_SLASHES or NO_FRAGMENTS.

However it appears from the code in
ValidatorAction.getValidationClassInstance() that I can't actually set
these at any point in the Validator framework so that they will be
picked up when run under struts.

I think I'm looking in the right place in the code.

I was hoping that there would be some method for configuring this via
validation.xml, but apparently not.

Am I correct?

Thanks
Adam

-- 
struts 1.1 + tomcat 5.0.16 + java 1.4.2
Linux 2.4.20 Debian


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message