• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

A struts2 skeleton project

 
Ranch Hand
Posts: 439
Hibernate Eclipse IDE Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Greetings fellow ranchers,

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
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There's already a number of examples, including a "blank" skeleton application, included in the Struts distribution and available separately as Maven archetypes.
 
Saif Asif
Ranch Hand
Posts: 439
Hibernate Eclipse IDE Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
You didn't tell me he was so big. Unlike this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic