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

List out difference between a JavaBean from a Servlet?

967


What are the steps that are involved in using the httpservlet class?

1063


How can we implement a jsp page?

1075


Is servlet a server side scripting language?

1063


How can you run a servlet program?

1029


Can you create a deadlock condition on a servlet?

1022


What are the steps that are required to handle the multi-threading?

1044


Once the destroy() method is called by the container, will the servlet be immediately destroyed? What happens to the tasks(threads) that the servlet might be executing at that time?

1204


How does java thread pool work?

1019


Explain Action Servlet?

1027


What is the process to implement doget and dopost methods?

926


What is servlet configuration?

1000


Describe in brief RequestDespatcher?

1071


What is the use of welcome-file-list?

975


What is the difference between portlet and servlet?

935