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...

waht is the main diference b/w servelts and JSP ?

Answer Posted / anurag joseph

there are minor difference btw these two.Servlet is used
for processing afterall containter is servlet engine.It
perform many task like load balancing,request
processing,generating image on fly.But if we want to
responce an html format than this is not efficient.thats
why jsp is needed.jsp is java inside Html and servlet is
like html inside java.JSP is used for graphical user
interface. it focus upon presentation not business logic
and processing.

Is This Answer Correct ?    11 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can the session in servlet can be destroyed?

1227


Write a command to get actual path of a servlet to the server?

1080


What is difference between get and post method?

1159


What is servlet in tomcat?

1106


What are the annotations used in servlet 3?

1091


What are the important functions of filters?

1212


How are filters?

1090


What is servlet initializer?

1037


What is http servlet? Explain with the help of an example.

1119


How do you create a cookie using servlet?

1232


What is dispatcher servlet?

1114


What is httpservlet class?

1233


If servlet receives multiple requests, how many objects will it create?

1444


Can you refresh servlet in client and server-side automatically?

1136


What is the effective way to make sure all the servlets are accessible only when user has a valid session?

1126