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.

Answers were Sorted based on User's Feedback



Hi Frieds, I am new to servlet why to use servlet in webapplication. what i know is " use s..

Answer / syed

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 ?    4 Yes 2 No

Hi Frieds, I am new to servlet why to use servlet in webapplication. what i know is " use s..

Answer / syed

yes Boss we build....refer in ur old frd GOOGLE

Is This Answer Correct ?    0 Yes 0 No

Hi Frieds, I am new to servlet why to use servlet in webapplication. what i know is " use s..

Answer / ashok kannan

To build a dynamic web page servlets are used.

Is This Answer Correct ?    0 Yes 1 No

Hi Frieds, I am new to servlet why to use servlet in webapplication. what i know is " use s..

Answer / p.a.v.k.prasad

in Many projects we can't write any BL in servlets and JSP's.
Write it in seperate class(Helper class). and just call to that helper class in u r servlet class.

bcoz if u write a BL in u r servlets(BL may be chenge from one senario to another) then again change in the servlets and redeploying........burden to the container........

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Servlets Interview Questions

What is the dispatcher servlet?

0 Answers  


What is the workflow of a servlet?

0 Answers  


What is a servlet context?

0 Answers  


How can a servlet refresh automatically if some new data has entered the database?

3 Answers   Citi Bank, CitiGroup, IBM, Satyam,


What are cookies and how will you use them?

3 Answers  






How we can get ip address of client in servlet?

0 Answers  


Given the request path below, which are context path, servlet path and path info? /bookstore/education/index.html

1 Answers  


How to upload a file to the server using servlet?

0 Answers  


when the webcontainer creates ServeletConfig,ServletContext objects? befoure creating the Servlet object or not?

4 Answers   TCS,


What’s the use of the servlet wrapper classes??

0 Answers  


What is the requirement of servlet config and servlet context implemented and how are they implemented?

0 Answers  


when the jsp page is translated to servlet?

5 Answers   HCL,


Categories