Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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 protocol used by Server & Client?

2 Answers  


Define servlet mapping?

0 Answers  


Can you call a jsp from the servlet?

0 Answers  


What is a deployment descriptor?

0 Answers  


What do you mean by httpservlet?

0 Answers  


give the syntax of doGet() and doPost()?

2 Answers  


What is setattribute in servlet?

0 Answers  


I have a requirement Here we have a ResultSet object that will contain 50 records i need to print those recors in to a webpage(i.e; view according to MVC architectures that mybe servlet or jsp) . Here i need to print the records 10 per page that is 1 to 10 in page one and 11 to 20 in page two like remaining will be appeared in other pages we need to display those page numbers whenever we click on that page number we will go to that page and display 10 records like we will display 5 pages it is like this << 1 2 3 4 5 next >>

0 Answers   ProKarma,


What is use of parseQueryString ?

1 Answers  


What is the difference between RequestDispatcher and sendRedirect?-

5 Answers   CTS,


what is the difference between?when we write the code in following manner? class One extends httpservlet { } and class One extends genericservlet { }

4 Answers  


Does servlet have main method?

0 Answers  


Categories