how to write my own Action servlet by extending
pre-defined Action servlet in struts config.

Answer Posted / kans

am not sure but folloing is the answer for this
we can write our own action servlet by extending
requestprocessor,requestprocessor is the class where u
define ur own methods,like processpreprocess().isUserinRole
()

Is This Answer Correct ?    0 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is struts in java with example?

503


What is actionservlet?

556


What is the use of web xml in struts2?

521


What is the difference between requestaware and servletrequestaware interface?

576


How do u provide security to ur project?(Banking domain project)

4444






What is the purpose of @stringlengthfieldvalidator annotation?

598


What is struts.devmode?

569


What are pull and push mvc architecture and which architecture does struts2 follow?

504


What are the core components of a struct2 based application?

552


What is spring hibernate and struts in java?

486


What is strut action mapping?

506


Why use struts framework in java?

544


What are the two different types of validations that the validator framework supports?

521


What is jakarta struts framework?

560


What is xml based validation in struts2?

555