Struts Interview Questions and Answers
Question: How can one enable front-end validation based on the xml in validation.xml?Answer: The<html:javascript> tag allows front-end validation based on the xml in validation.xml. For example the code: generates the client side JavaScript for the form "logonForm" as defined in the validation.xml file. The <html:javascript> when added in the JSP file generates the client side validation script. |
Is it helpful?
Yes
No
Most helpful rated by users:
- What is Struts?
- What helpers in the form of JSP pages are provided in Struts framework?
- How is the MVC design pattern used in Struts framework?
- Who makes the Struts?
- Why it called Struts?