Validation
Validation 1)where sohould we place struts.xml
2)where should we place validation.xml fies
3)Which is the main controller that acts as a servlet:please brief me about the different controller in S2
url validation in struts2
\struts.xml,C:\Struts2URLValidation\webRoot\WEB-INF\classes,lib,please sugest me
struts2 - Framework
the css and pages folder you downloaded into Webroot
6)copy the struts.xml... file into WebRoot Directory
8)Now open the struts.xml file, change name="code
Create Action class
the mapping of Action classes are done
into the struts.xml file. You will learn how to map the action in struts.xml in
the next tutorial.
Download this example
Struts2.2.1 and hibernate integration application
Struts2.2.1 and hibernate integration application
InformationAction.java
Description
This is one of the most important class in the application. This class is
usually guided by stuts.xml file. According to action the struts.xml