HiHow do i configure web.xml using with struts.

Showing Answers 1 - 3 of 3 Answers

vishali

  • Jul 27th, 2006
 

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

  Was this answer useful?  Yes

siva kumar reddy

  • Aug 3rd, 2006
 

 hi

when ever start the web application the web container creates AcctionServlet object by using load-on-startup method. then it gets the config init parameter. then read the config-xml file.

cheers

siva

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions