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

what is the difference between Servlet and JSP?Advantage of
JSP over Servelt?Any concept present in JSP which we cant
implement in Servlet?

Answer Posted / shailaja

. The main difference between them is, In servlets both the
presentation and business logic are place it together.
Where as in jsp both are saparated by defining by java
beans .
In jsp's the overall code is modulated so the developer
who deesn't know about java can write jsp pages by simply
knowing the additional tages and class names.
One more important to be considered is servlet take less
time to compile. Jsp is a tool to simplify the process and
make the process automate.

Both are webapplications used to produce web content that
mean dynamic web pages. Bot are used to take the requests
and service the clients.

Is This Answer Correct ?    302 Yes 74 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the exceptions thrown by servlets? Why?

1174


What is the difference between encodeRedirectUrl and encodeURL?

1119


A client sends requests to two different web components. Both of the components access the session. Will they end up using the same session object or different session ?

1091


What do you mean by singlethreadmodel interface?

1051


Explain url encoding?

996


What is SingleThreadModel interface?

1151


How do I use cookies to store session state on the client?

970


Which HTTP method is non-idempotent?

1135


What are the life cycle methods of a servlet?

1054


What are sessions in servlets?

1066


How can we implement a jsp page?

1138


What are the servlet events?

1055


Which is the methods of generated servlet?

1225


What is servlet? Explain

1067


Why don't we write a constructor in a servlet?

1057