Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

struts have more than one controller or not  RSS feed

 
Abdul Gafoor
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a doubt struts have how many controllers or not
 
vidya sagar
Ranch Hand
Posts: 580
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
one and only ActionServlet
 
Henry Lowell
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, if you want to get a bit more vague, a Struts application has as many controllers as you have Action classes. The mother controller is the Struts ActionServlet, true. But every action class you create is pretty much a controller as well.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!