properties file in struts2
I am new to java struts2 and hibernate web development. In my project I have tow JSP files. both have different Action classes to proceed.
Suppose Login.jsp - LoginAction.java
Register.jsp - RegisterAction.java.
I want to validate these fields in two jsp files using a *.properties file and LoginAction-validation.xml and RegisterAction-validation.xml files.
Can I have multiple properties files in my project for different JSP files? If so what are the names of these properties files and folder structure? How struts knows about these properties files?(How I define them? For this JSP file use this properties file likewise?)
And also that validation xml file should be the <ActionClassName>-validation.xml?
Actually I have no clear idea of these folder structure for java web projects with struts2 and hibernate (eclipse). And the default file names.