Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to override action servlet in struts

 
sitaram irrinki
Ranch Hand
Posts: 158
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can we override the ActionServlet in struts
 
Thara Visu
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I hope I understood your question. I am assuming that u are asking if we could use our own action servlet instead of ActionServlet.
To my knowledge,We can extend an ActionServlet and can use the action servlet that we have got. But in general it is not good practice to extend the ActionServlet. For most of the problems we have the plug-ins and the request processor.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic