Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts2 - Single action class vs. multiple action classes

 
Mellamo ashish
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've configured my application with Struts2, there are two ways through which I can write my action classes. First is that I write one single action class and write multiple methods for each action in that class, another one is to write separate action classes as per the module and business concerns.

I need the suggestions from everyone for and against using any specific approach.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic