Saturday, 14 March 2015

Struts Interview Questions

1.       What is Struts? 
3.       What is ActionServlet?
5.       What is Action Class?
6.       What is ActionForm?
12.   What is ActionServlet?
13.   How you will make available any Message Resources Definitions file to the Struts Framework Environment?
14.   What is Action Class?
15.   Write code of any Action Class?
16.   What is ActionForm?
17.   What is Struts Validator Framework?
18.   Give the Details of XML files used in Validator Framework?
19.   How you will display validation fail errors on jsp page?
20.   How you will enable front-end validation based on the xml in validation.xml?
21.   What is RequestProcessor and RequestDispatcher?
22.   Why cant we overide create method in StatelessSessionBean?
23.   Is struts threadsafe?Give an example?
24.   Can we Serialize static variable?
25.   What are the uses of tiles-def.xml file, resourcebundle.properties file, validation.xml file?
26.   What is the difference between perform() and execute() methods?
27.   What are the various Struts tag libraries?
28.   What do you understand by DispatchAction?
29.   How Struts relates to J2EE?
30.   What is Struts actions and action mappings?
31.   What is MVC?
32.   What is the ActionForm?
33.   What are the important methods of ActionForm?
34.   Describe validate() and reset() methods ?
35.   What is ActionMapping?
36.   How is the Action Mapping specified ?
37.   What is role of Action Class?
38.   In which method of Action class the business logic is executed ?
39.   What design patterns are used in Struts?
40.   Can we have more than one struts-config.xml file for a single Struts application?
41.   What is the directory structure of Struts application?
42.   What is the difference between session scope and request scope when saving formbean ?
43.   What are the important tags of struts-config.xml ?
44.   What are the different kinds of actions in Struts?
45.   What is DispatchAction?
46.   How to use DispatchAction?
47.   What is the use of ForwardAction?
48.   What is IncludeAction?
49.   What is the difference between ForwardAction and IncludeAction?
50.   What is LookupDispatchAction?
51.   What is the use of LookupDispatchAction?
52.   What is difference between LookupDispatchAction and DispatchAction?
53.   What is SwitchAction?
54.   What if <action> element has <forward> declaration with same name as global forward?
55.   What is DynaActionForm?
56.   What are the steps need to use DynaActionForm?
57.   How to display validation errors on jsp page?
58.   What is the use of <logic:iterate>?
59.   What are differences between <bean:message> and <bean:write>
60.   How the exceptions are handled in struts?
61.   What is difference between ActionForm and DynaActionForm?
62.   How can we make message resources definitions file available to the Struts framework environment?
63.   What is the life cycle of ActionForm?






No comments:

Post a Comment