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

Answer Posted / sekhar babu

Yes we can write the constructor for the Action clas rule is
Constructor should not have arguments ,
If we provide with arguments we should also proide no
argment constructor

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain about struts relation to html tags?

734


What are the bundled validators?

780


What are the components of struts framework?

780


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

719


What is spring hibernate and struts in java?

689


What is the difference between filters and interceptors ?

723


Do I have to credit struts on my own website?

732


How do you create message resource?

779


What is jakarta struts framework?

737


List the important attribute and elements of action mapping under struts.

733


Why do we need mapdispatchtoprops?

656


What are action errors and error?

790


What are the main classes which are used in struts application?

725


What is includeaction?

760


What is the purpose of @createifnull annotation annotation?

816