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

Explain about the <html:base> tag?

0 Answers  


What is the purpose of @key annotation annotation?

0 Answers  


What is http redirect?

0 Answers  


What are the benefits of the struts system?

0 Answers  


What is the purpose of form-be tag in struct-config.xml?

0 Answers  


What are the steps used to setup dispatch action?

0 Answers  


session menagement in servlets explaion briefly?

1 Answers  


what is project architecture?give brief explanation about project architecture?

3 Answers   CTS, Etisalat, IBM, Infinite Computer Solutions, Mphasis,


What is role of actionservlet?

0 Answers  


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

4 Answers  


How many struts config file can be created in struts?

0 Answers  


What are the core classes of struts?

0 Answers  


Categories