ALLInterview.com :: Home Page KalAajKal.com
 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                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
 
Categories  >>  Software  >>  Core Java  >>  Java J2EE  >>  Java Related
 
 


 

 
 Core Java interview questions  Core Java Interview Questions
 Advanced Java interview questions  Advanced Java Interview Questions
 Swing interview questions  Swing Interview Questions
 EJB interview questions  EJB Interview Questions
 Servlets interview questions  Servlets Interview Questions
 Struts interview questions  Struts Interview Questions
 JDBC interview questions  JDBC Interview Questions
 JMS interview questions  JMS Interview Questions
 SunOne interview questions  SunOne Interview Questions
 J2EE interview questions  J2EE Interview Questions
 Weblogic interview questions  Weblogic Interview Questions
 Websphere interview questions  Websphere Interview Questions
 Java Networking interview questions  Java Networking Interview Questions
 Java J2EE AllOther interview questions  Java J2EE AllOther Interview Questions
Question
how to handle http request in struts
 Question Submitted By :: Gopalraop
I also faced this Question!!     Rank Answer Posted By  
 
  Re: how to handle http request in struts
Answer
# 1
in struts applications all the requests will be handled by 
the ActionServlet for that struts-config.xml is passed as a 
init-param in web.xml
 
Is This Answer Correct ?    3 Yes 0 No
Satish
 
  Re: how to handle http request in struts
Answer
# 2
"org.apache.action.ActionServlet" is responsible for 
handling all HTTP Requests. ActionServlet is responsible 
for configuring your application using struts configuration 
file.
     After that it calls RequestProcessor which is 
responsible for processing content type,mapping,forward and 
many other methods.Its duty is to process request i.e fetch 
appropiate action from Struts configuration file as per the 
request and assigning bean to appropiate ActinForm.
     One can customize the way request are handled in 
Struts by customizing RequestProcessor Class.
And finally our code begins ..... and controller and model 
come into play to give resulting view.
 
Is This Answer Correct ?    0 Yes 0 No
Shahnawaz Sheikh
 
 
 

 
 
 
Other Core Java Interview Questions
 
  Question Asked @ Answers
 
What is the difference between DataInputStream and BufferedReader  1
What are null interfaces in JAVA ? and give me some examples?  3
What is casting ?  2
whats is inheritance? HCL14
Interface A { String test(); } Interface B { int test(); } Create a class AB which must implements both A & B interfaces. Hewitt13
Can you have an inner class inside a method and what variables can you access?  2
Which method will get invoked first in a stand alone application?  1
Can you call a private data from an inner class?  3
What Method and class used for Connection pooling ? Wipro4
What is the difference between static and non-static variables?  2
What is hash method?  1
Why is prepared Statement, Callable Statement used for? What is the need of Batch updates? Logica-CMG1
How to add panel to a Frame?  2
Functionality of JVM? Infosys4
real time example for deadlock,starvation,livelock  4
AWT event listeners extends what interface?  1
What will happen inside init() in servlet. my interviewer asked servlet lifecycle. i said "once servlet is loaded in to memory init() will be called which performs servlet initialization " . Again interview asked what values will be initialized . what is difference between init() and init(ServletConfig config). Infinite-Computer-Solutions2
What is the superclass of exception?  2
why java not supproting multiple inheritance?  5
how u do unit testing? iFlex2
 
For more Core Java Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com