Hi, I am new in Struts2. My question is, in Struts2 why we are keeping "sturts.xml" file into /src (may be I am wrong but thats the way I am seeing in most of the online examples)? Don't you think it will cause problem when we will create EAR (based on our current project) to deliver...because in EAR, it is keeping only the binary (.class) files-right?
Secondly, I was trying to create a simple Login/Logout process based on an given example in
Rose India. Mainly was
testing whether I understand the concept or not but still not successful 100%
Can any one please help me to find my mistake(s).
Problems are:
a) It is not reading values from the common.properties file
b) Sometimes the App is working and sometimes not (websphere is upset)
Errors I am getting are as follows (in my console)"
My Files are as follows:
(a) common.properties
(b) Login.java
(c) Logout.java
(d) index.jsp
(e) success.jsp
(f) struts.xml
(g) web.xml