What is the purpose of @urlvalidator annotation?



What is the purpose of @urlvalidator annotation?..

Answer / Shoaib Alam

@urlvalidator annotation in Struts 2 validates URL parameters during the pre-execution phase. It can be used to validate that input URLs conform to specific formats or patterns.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Struts Interview Questions

What validate() and reset() method does ?

1 Answers  


Wat is Difference between Mvc1 architecture and Mvc2 Architecture?

21 Answers   HCL, IBM, Sanyaa Infotech,


What is the actionform?

1 Answers  


how canu done chechin and check out of u r project using with sample examples?

8 Answers   CTS, Logica CMG,


What is the purpose of @after annotation?

1 Answers  


How can we integrate log4j in Struts2 application?

1 Answers  


is it necessary to write struts-confing.xml ,what tags are important in that xml file?

2 Answers  


How to work with error tags?

1 Answers  


How exceptions are handled in struts application?

1 Answers  


whats is mean Actionerrors and Actionerror?

5 Answers   Wipro,


How do u provide security to ur project?(Banking domain project)

1 Answers   Polaris,


Can a reducer dispatch an action?

1 Answers  


Categories