Can i use constructor in Action Class?If yes how?

Answer Posted / sagar

No you cant use Constructor in Action class,
if you use it will unable to find action class
and gives Error Msg( No action instance for path )

Is This Answer Correct ?    0 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are disadvantages of Struts?

704


Explain the difference between jakarta struts and apache struts?

694


What are the benefits of Struts framework?

705


What is the purpose of @emailvalidator annotation?

655


Describe the mvc on struts?

703


Name the different types of actions found in struts.

734


What is the default suffix for struts2 action uri ?

711


What are the conditions for actionform to work correctly?

702


What are Struts2 core components?

737


What are the reasons for an error message not being displayed while developing struts application?

712


What is container struts2?

717


What are the some useful annotations introduced in struts2?

744


what is ACID test for fresh engineers??what is the pattern??

2538


What inbuilt themes are provided by struts2?

771


What is dispatch action class?

803