I was coming across numerous questions from newbies in struts2 about basic configurations issues, how-to setup action classes, what configurations to do in the struts config files, naming ( and the list goes on .... ) so I thought to make a default skeleton project for struts2 just for this purpose. I have pushed this up on my personal git repo and anyone can pull and use it to compare his/her project configurations or even build his own on top of my skeleton project.
Of-course I am open to discussions and contributions along with advices as to how to improve it more. The link to the git repo is here
Good luck on your struts2 projects people
Muhammad Saif Asif Mirza
OCJA(5/6) OCJP(6) OCJWCD(6)
Yes you are right about that. My project is actually an extension of these in which I have setup a single action class, implemented basic Action functionalities. Theres also a default test case that any user can change as per his/her requirements and I have also implemented the log4j logger along with its configurations. So right now my project is more of a plug and play type where you can simple pull it up and run it as it is.
The reason why I implemented an action flow is that sometimes I noticed that new users of struts are able to setup everything allright and still they are confused about placing the JSP and action classes, so for this purpose I have already implemented a default easy to understand structure of folders and source folders as well that any new user can easily understand and implement his own project on top of it.
Your feed-back is highly appreciated on it and if you notice any bug , please do file a bug at the issues tab in that repo over git