• Post Reply Bookmark Topic Watch Topic
  • New Topic

struts have more than one controller or not

 
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.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!