Logo F2FInterview

Struts Interview Questions

Q   |   QA

The ActionClass overrides execute() method.
Then in body of execute() method:
Get Initial Context
Get home object using JNDI look up.
Create the bean and call the business methods.

The hierarchy of files depends upon Struts-config.xml that plays an important role in struts framework and it is used mainly to have an access to various Action classes using the Action-mapping element and then to forward it to appropriate jsp files. The struts tag libraries include Bean tag, Template tag, Tiles tag, Logic tag, and HTML tag libraries.

Struts framework follows the Model-View-Controller design pattern. Struts framework provides the centralised control to throughout the Web application. If the application is big like any banking application etc, then you should use Struts as it is very robust, makes the things simple, it also has lot of readily available security features.

In order to link this F2FInterview's page as Reference on your website or Blog, click on below text area and pres (CTRL-C) to copy the code in clipboard or right click then copy the following lines after that paste into your website or Blog.

Get Reference Link To This Page: (copy below code by (CTRL-C) and paste into your website or Blog)
HTML Rendering of above code: