Explain me why do we override the execute method is struts?
Submitted by: MuhammadAs part of Struts Framework, we can develop the Action Servlet, ActionForm servlets (ActionServlet means what class extends the Action class, and ActionForm means what class extends the Action Form class) and other servlet classes.
In case of ActionForm class, we can develop validate() method. This method will return the ActionErrors object. In this method we can write the validation code. If this method returns null or ActionErrors with size=0, the web container will call execute() as part of the Action class.
If it returns size > 0, it will not call the execute() method. It will rather execute the jsp, servlet or html file as value for the input attribute as part of the attribute in struts-config.xml file.
Submitted by: Muhammad
In case of ActionForm class, we can develop validate() method. This method will return the ActionErrors object. In this method we can write the validation code. If this method returns null or ActionErrors with size=0, the web container will call execute() as part of the Action class.
If it returns size > 0, it will not call the execute() method. It will rather execute the jsp, servlet or html file as value for the input attribute as part of the attribute in struts-config.xml file.
Submitted by: Muhammad
Read Online Data Warehouse Developer Job Interview Questions And Answers
Top Data Warehouse Developer Questions
☺ | Explain me why is chameleon method used in data warehousing? |
☺ | Tell us what is Hybrid SCD? |
☺ | Tell us what is the main difference between Inmon and Kimball philosophies of data warehousing? |
☺ | Can you list the Schema that a data warehouse system can implements? |
☺ | Tell us what is Virtual Warehouse? |
Top Data Warehouse Job Categories
☺ | Warehouse Assistant Interview Questions. |
☺ | Ab Initio Interview Questions. |
☺ | Data Stage Interview Questions. |
☺ | ColdFusion Interview Questions. |
☺ | Data Warehouse Supervisor Interview Questions. |