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 difference between requestaware and servletrequestaware interface?

0 Answers  


What is front controller in struts?

0 Answers  


What is the different actions available in struts?

0 Answers  


How to display validation errors on jsp page?

0 Answers  


what are the actions in struts?

10 Answers   Nihilent, Wipro,






What are the classes used in struts?

0 Answers  


what is use of assert keyword in java..?

1 Answers  


When it’s useful to use IncludeAction?

0 Answers  


What is the difference between struts1 and struts2?

0 Answers  


What happens when Two users requests for same action class? How the threads are controlled?

4 Answers  


What’s the utilization of struts.xml configuration file?

0 Answers  


Is struts action class singleton?

0 Answers  


Categories