Latest Answer: Use the Service Locator pattern to look up the ejbs Or you can use InitialContext and get the home interface ...
Latest Answer: In Struts1.0 have perform() methos in action class where as struts 1.1 have excute() method in action classAcction messages () are introduced in struts1.1DynaactionForms are introduce in struts1.1 ...
Latest Answer: Difference in output.ex: if we forward from one.jsp to two.jsp the contents of only two.jsp will be generated . if we include two.jsp in one.jsp the contents of both the jsp's will be generated ...
Latest Answer: Yes, we can have more than one struts-config.xml file in a web application.Each struts-config.xml file for different modules in our application.Declaration in web.xml is:config/pullman/WEB-INF/calculator/struts-pullman-config.xml ...
Latest Answer: MVC is generlised architecture. There is no MVC1 and MVC2. According to Sun Microsystems in MVC Model1 driven architecture Controller and view is JSP and model is bean. In MVC model2 driven architecture we will use Servlet as controller, ...
Latest Answer: Hi,According to my knowledge,If the same condition is mapped to the same jsp page in multiple actions we use global variable i.e to avoid repititon. ...
Latest Answer: Container doesn't know about any thing. what ever is configured in application's web.xml it will take it as a configuration. We can configure our own MVC implmentation and front controller in application configuration (i.e. web.xml) instead of ActionServlet. ...
Latest Answer: Few Disadvantage are mentioned in the below link. Struts have disadvantages mainly on performance of the application. Especially when using advanced tag like nested-loop etc, Resulting in creating many Forms object then required.http://www.coreservlets.com/Apache-Struts-Tutorial/Understanding-Struts.html ...
Please anybody send the abbreviation of struts? this is the question i have faced in the interview?
Latest Answer: Hi,
If the client comes to the struts application then the flow of control will be..
1) The request received by hte ActionServlet which is the default Controller in Struts...
2)ActionServlet then call RequestProcesser.preProcess method to ...
View page << Previous 1 2 3 [4] 5 6 7 8 9 10 Next >>

Go Top