Results 1 to 10 of 10

Thread: Use of Servlet and JSP

  1. #1

    Use of Servlet and JSP

    Where we will use Servlet and JSP in J2EE projects?
    For what purpose we are using that?


  2. #2
    Junior Member
    Join Date
    May 2008
    Answers
    2

    Re: Use of Servlet and JSP

    jese is a stand alone application where as j2ee is web based application
    we can have client server intereaction jsp is mostly for front poage design and client side validation but servlet is for serverside validation


  3. #3
    Junior Member
    Join Date
    Jun 2007
    Answers
    2

    Re: Use of Servlet and JSP

    In J2ee,
    In general, Servlet and jsp is used for web based apllications in server side programming purpose.
    Jsp is using as Large View purpose.mainly to develope the Presentaions or frond apllication purpose.

    Servlet is also doing same thing , and in case of Struts Framework, Servlet acts as controller between the request comming from the browser and Server.


  4. #4
    Junior Member
    Join Date
    Apr 2008
    Answers
    5

    Re: Use of Servlet and JSP

    J2ee is used for web application development, it follows MVC architecture.
    Jsp is used a View
    Servlets are used for Controller.

    After struts framework has introduced, most the companies are using Struts frameworks only, advantages of using struts is, it has built in Controller, so need write any controller functionality need to write Action classes and Form beans


  5. #5
    Junior Member
    Join Date
    Feb 2009
    Answers
    1

    Re: Use of Servlet and JSP

    Quote Originally Posted by sharmi3583srini View Post
    Where we will use Servlet and JSP in J2EE projects?
    For what purpose we are using that?
    We use servlet for connectivity purpose.
    We use jsp for designing the page.for example Tiles page designing as header,
    Summary,footer.


  6. #6
    Junior Member
    Join Date
    Apr 2009
    Answers
    1

    Re: Use of Servlet and JSP

    jsp and servlet both are used in web based project.jsp is used as a front page where servlet acts as a controller..Basically jsp technology is based on servlet tecnology.For j2ee plateform, jsp is used to design front page(view page).suppose u r going to do project.definitely u would like to follow MVC pattern.in MVC M-Model, V-view(JSP), C-Controller. in MVC pattern controller is action servlet.


  7. #7

    Re: Use of Servlet and JSP

    The Main usage of Servlet is to handle the requests from the browser and process the data.
    Jsp's are used for User Interfaces


  8. #8
    Junior Member
    Join Date
    Apr 2008
    Answers
    1

    Re: Use of Servlet and JSP

    Servlet and Jsp is Used for Webapplication Development ,these are server side technology all the programs runs from the serveside when compared to applet this jsp and servlet executed from the servermachine applet are exceuted in the client browser


  9. #9

    Re: Use of Servlet and JSP

    jsp and servelts are part of j2ee specification. Main intention of jsp is for presentation logic.what i mean is ,to show the data or content on browser we will use jsp.Servlets are intended to handle Control the request to perticular Business logic. all business logics are implemented in java classes (can be ejb or ordinary java class it depends).but internally a jsp is again a servlet .This conversion will be done by web severs ...


  10. #10
    Junior Member
    Join Date
    Sep 2010
    Answers
    5

    Re: Use of Servlet and JSP

    Jsp and Servlets are used to generate dynamic response based on user requests.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact