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                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
Google
 
Categories  >>  Software  >>  Java J2EE  >>  Java Related  >>  Servlets
 
 


 

 
 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
Hi Frieds, I am new to servlet  why to use servlet in 
webapplication. what  i know is " use servlet  as a
controller in  mvc and to implemnent business logic . is it
correct ?  One more thing reason for  implementing business
logic  with servlets , why not jsp.
 Question Submitted By :: Rajendra007
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Hi Frieds, I am new to servlet why to use servlet in webapplication. what i know is " use servlet as a controller in mvc and to implemnent business logic . is it correct ? One more thing reason for implementing business logic with servlets , why not jsp.
Answer
# 1
Servlet is a server side technology,for developing 
serverside application(web applications).

In ModelI we use Servlet and Jsp's only.jsp used for 
Presentation logic and Servlet used for Business logic & as 
Controller.

Why because- 1.for communating with DataBase
             2.for container(server)recognise java code.
 
Is This Answer Correct ?    3 Yes 0 No
Syed
 
  Re: Hi Frieds, I am new to servlet why to use servlet in webapplication. what i know is " use servlet as a controller in mvc and to implemnent business logic . is it correct ? One more thing reason for implementing business logic with servlets , why not jsp.
Answer
# 2
To build a dynamic web page servlets are used.
 
Is This Answer Correct ?    0 Yes 1 No
Ashok Kannan
 
 
 
  Re: Hi Frieds, I am new to servlet why to use servlet in webapplication. what i know is " use servlet as a controller in mvc and to implemnent business logic . is it correct ? One more thing reason for implementing business logic with servlets , why not jsp.
Answer
# 3
yes Boss we build....refer in ur old frd GOOGLE
 
Is This Answer Correct ?    0 Yes 0 No
Syed
 

 
 
 
Other Servlets Interview Questions
 
  Question Asked @ Answers
 
In servlets, Why do we need both GET and POST method implementations? IBM3
What is the default HttpRequest method?  1
What type of protocols are used in HttpServlet?  1
Hi Frieds, I am new to servlet why to use servlet in webapplication. what i know is " use servlet as a controller in mvc and to implemnent business logic . is it correct ? One more thing reason for implementing business logic with servlets , why not jsp.  3
how the jsp page can be regenerated? HCL1
can u give some realtime example in ploymorphism? and inheritance? SolutionNET6
What are the security issues in Servlets?  1
why business logic written using servlets not in jsp. Jsp used for presentation purpose. serlvet used for coding business logic and controller logic. Reason for using servlets in business logic.  2
What happens, if server sends a cookie to a browser that doesn't supports cookies?  2
Is there any need to shutdown the web server, if you want to modify a servlet?  3
what are the different services provided by the web server?  2
how a servlet is instantiated, whether the container calls init() or by calling any other method? please somebody reply.. Siemens5
What happens, when client requests for server object, which is not yet loaded into the memory?  1
how can we create object to a class in a jsp file? L&T3
can v create a constructor 4 servlet? Satyam4
Can we write a constructor for a Servlet class ? if yes how ? if no why not ?  10
How values can be passed from HTML page to servlet? ABC7
What are the difference between HttpServlet and GenericServlets?  1
where the generated jsp source file are stored? HCL5
can we create more than ServletContext and ServletConfig in your application Patni5
 
For more Servlets 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