Can we write our own ActionServlet for front controller of
Struts Applications?

Answers were Sorted based on User's Feedback



Can we write our own ActionServlet for front controller of Struts Applications?..

Answer / nmreddy

yes,

1.Take any servlet it must extends predefined ActionServlet
2. call super class methods
3.our own logic
4.it must be configure in web.xml file

Is This Answer Correct ?    23 Yes 2 No

Can we write our own ActionServlet for front controller of Struts Applications?..

Answer / biswaa

yes, but remember our CustomActionServlet class must do what
default ActionServlet is doing..

Is This Answer Correct ?    5 Yes 1 No

Post New Answer

More Struts Interview Questions

what is the purpose of action servlet and action?

5 Answers  


Difference between JSF Framework and Struts Framework.

13 Answers   Accenture, BSS, IBM, TCS,


What are the advantages of spring mvc over struts mvc?

0 Answers  


What is declarative exception handling in struts?

0 Answers  


what is the use of cvs in struts?

2 Answers  






How can I make own ActionServlet? with example

8 Answers   IBM, TCS,


In struts.xml, what does the attribute "method" stands for in the "action" tag?

0 Answers  


Why struts 1 classes are not thread safe whereas struts 2 classes are thread safe?

0 Answers  


How to use dispatchaction?

0 Answers  


Provide some important Struts2 constants that you have used?

0 Answers  


Explain about struts dispatch action?

0 Answers  


Which library is provided by struts for form elements like check boxes, text boxes etc?

0 Answers  


Categories