jQuery in Action, 2nd edition*
The moose likes Struts and the fly likes How to restrict URL in structs validations? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to restrict URL in structs validations?" Watch "How to restrict URL in structs validations?" New topic
Author

How to restrict URL in structs validations?

Sudarshan Reddy
Greenhorn

Joined: Aug 23, 2007
Posts: 20
Hi

can any one tell me how to restrict URL in struts form validation

i want to restrict http/https or script tags in struts validations

any one help me one this..?


With Regards<br /> <br />Sudarshan Reddy
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Which version of Struts?

In either version you'll probably need to either (a) write a custom validator, or (b) do the validation in Java.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to restrict URL in structs validations?
 
Similar Threads
Cannot find ActionMappings or ActionFormBeans collection
How to do Service Level Validations in struts
Server side Struts validation
client side validation through the Struts frame work
how many types of validations are available in struts framework