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.

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is cgi?

1024


What do you mean by mime type?

977


Who is responsible to create the object of servlet?

1205


What is a deployment descriptor?

1106


How is a servlet implemented in code?

1083


What are the types of protocols supported by httpservlet ?

1224


What is the type of method for sending request from http server?

1109


Explain the jar and war files in servlet?

1104


What are the differences between the servletconfig interface and the servletcontext interface?

1188


Which application server is best for java?

1071


How to make sure a servlet is loaded at the application startup?

1043


What is the directory structure of a war file?

1170


What are the annotations used in servlet 3?

1040


What is servlet name in web xml?

995


What if you need to span your transaction across multiple servlet invocations?

1092