struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Hardy <>
Subject URL validation - anyone using it?
Date Fri, 05 Mar 2004 14:09:04 GMT
I'm looking at providing URL validation on a page which saves links for 

I put together the latest build of commons-validator (1.1.2) and struts 
(1.2) to see what the URL validation is like.

The class for server-side validation is in place, but the javascript 
doesn't exist.

It works very strictly, too strictly for me.

Most users will want to save links such as

none of which pass the urlValidator test. Only this format works:

I can put in my source code and modify it for my 
purposes, but I would like to know if there is anyone else interested or 
even actively working on this? Perhaps I should post this to the 
struts-dev list.


struts 1.1 + tomcat 5.0.16 + java 1.4.2
Linux 2.4.20 Debian

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message