Logo F2FInterview

Struts Interview Questions

Q   |   QA

Yes! Every html form property must have a corresponding FormBean get/set methods. Otherwise you’ll get an error.

A web.xml file is the DD (deployment descriptor) for any web based application while struts-config.xml is for specifically struts based application. A web.xml file establishes connection between application and container whereas struts-config.xml bridges gap between view and controller. A web.xml file is read by container when we start the container. struts-config.xml file is used by init() method of ActionServlet.

Struts tags bind the property value with the Formbean property defined. HTML tags are static and Struts tags are dynamic.

Action class extents org.apache.struts.action.Action which has nothing to do with Servlet.Its a plain java class which is been called/Managed by a well defined framework called Struts.

The core classes of Struts are:
ActionForward, etc.

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: