Sturts framework use 2 types of configuration files: web.xml & struts-cofig.xmlConfiguaring web.xml for Struts is:2- steps are involved in this process1)Add .tld file in the web.xml. Eg: if you are using html file add strtus-html.tld in /WEB-INF/struts-html.tld/WEB-INF/struts-html.tld2) Configuring Action Servlet which wil recieve all incoming requests.Use Servet element to configure the instance of servlet & later can be mapped in the servlet mapping using some name the class name some name *.do
Category:Struts Interview Questions
No comments:
Post a Comment