GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  J2EE  >  Struts
Go To First  |  Previous Question  |  Next Question 
 Struts  |  Question 62 of 103    Print  
Hi
How do i configure web.xml using with struts.

  
Total Answers and Comments: 3 Last Update: August 03, 2006     Asked by: Deven 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
July 27, 2006 15:22:32   #1  
vishali        

RE: HiHow do i configure web.xml using with stru...
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
 
Is this answer useful? Yes | No
July 31, 2006 07:50:33   #2  
meetnaveen4u Member Since: March 2006   Contribution: 14    

RE: HiHow do i configure web.xml using with stru...
Please be specific what you need to configure in web.xml for struts.
 
Is this answer useful? Yes | No
August 03, 2006 13:31:44   #3  
siva kumar reddy        

RE: HiHow do i configure web.xml using with stru...

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


 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape