:: Home Page            
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Categories >> Software >> Java Related >> Java J2EE >> Struts


 Core Java interview questions  Core Java Interview Questions (1722)
 Advanced Java interview questions  Advanced Java Interview Questions (331)
 Swing interview questions  Swing Interview Questions (44)
 EJB interview questions  EJB Interview Questions (134)
 Servlets interview questions  Servlets Interview Questions (255)
 Struts interview questions  Struts Interview Questions (196)
 JDBC interview questions  JDBC Interview Questions (187)
 JMS interview questions  JMS Interview Questions (9)
 SunOne interview questions  SunOne Interview Questions (3)
 J2EE interview questions  J2EE Interview Questions (71)
 Weblogic interview questions  Weblogic Interview Questions (147)
 Websphere interview questions  Websphere Interview Questions (14)
 Java Networking interview questions  Java Networking Interview Questions (20)
 Java J2EE AllOther interview questions  Java J2EE AllOther Interview Questions (87)
1.when actionservelet execute.
2.when web.xml executes
 Question Submitted By :: Struts
I also faced this Question!!     Answer Posted By  
# 1
1)The "web.xml" comes into the the picture when the
respective server is started. When the time of server is
starting the container will check the syntax and parse
the "web.xml" file.
2)The "web.xml" file is called as a deployment descripta
because it tells the server just what the application
contains that's it beyond of that it's doesn't do any thing.

1)ActionServlet is a predefined Servlet class which comes
along with struts framework.
2)When we implemented a struts based web application then
every request and response must go through the controller
3)We can define our own ActionServlet class insted of using
the predefined ActionServlt class but in most of all cases
we will use only the predefined ActionServlet class.
4)We should configure the ActionServlet class in
the "web.xml" file like as followed




5)If we specified "<load-on-startup>" then
the "ActionServlet" class will load,instantiated and
initilized when the server or application started.
6)If we didn't specify "<load-on-startup>" then
the "ActionServlet" class will load,instantiated and
initialized when the first request comes.
Is This Answer Correct ?    21 Yes 0 No
Shaik Baji
# 2
at container startup, container reads the web.xml using sax

in web.xml,we are configuring ActionServlet with load on
start up tag ,then ActionServlet will loaded,
Is This Answer Correct ?    0 Yes 0 No
# 3
web.xml will execute during the deployemnt / server start
up as the Action servlet instance been called from web.xml
the call will be secondary where the webxml precedes it
Is This Answer Correct ?    0 Yes 4 No

Other Struts Interview Questions
  Question Asked @ Answers
Can you call Action class methods from Struts config.xml? iGate 1
Can we write our own ActionServlet for front controller of Struts Applications? NIIT 2
Hi frnds Ima facing problm with tomcat configuration.kindly can any one tell to me what is the mistake iam doing.i already configured tomcat as fallowing even though iam getting the PortNO .and changed with different no of Ports but no working kindly can any one tell me what is the mistake iam doing........?   1
what is purpose cvs and vss in eclipse?   2
where you store password in banking project   1
Even though Servlets and JSP are web based concepts .wht is the use of using Struts using then TCS 8
when we enter the data in the form how it is stored in formbean class setter and getter methods? Wipro 1
what is the advantages and diadvantages of Struts?   1
advantages& 5 disadvantages of MVC architecture Satyam 6
in struts without integrate hibernate how to use directly explain?   1
What is the main difference between Mvc1 and Mvc2 Architecture?? Ness-Technologies 7
how to create a search field in struts.with code Infosys 3
For more Struts Interview Questions Click Here 

Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
Copyright 2013  All Rights Reserved.   ::