why business logic written using servlets not in jsp. Jsp
used for presentation purpose. serlvet used for coding
business logic and controller logic. Reason for using
servlets in business logic.
Answer Posted / gopika
In layman's terms, JSP is core Java embedded in HTML. Servlet has HTML embedded in core Java. You must be aware that HTML is used to define the page structure of a web page at the client side and it deals with how to present the data in a web page. The purpose of JSP introduction is to add very few lines of core Java to help display the web page at the client side and hence, populating many lines of core Java is not appreciated in JSP.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are important features of Servlet 3?
What is servlet api used for conneting database?
What is servlet collaboration?
What mechanisms are used by a Servlet Container to maintain session information?
What do you mean by httpservlet?
Write a program to show the functionality of doget and dopost method?
What are the two important api's in for servlets?
Explain the servlet filter.
What are the life-cycle methods for a servlet?
How to rectify errors in java servlet while compilation?
Can we refresh servlet in client and server side automatically?
What do you mean by url pattern in servlet?
Hi frnd can i any one kindly can post for me portlet,hibernate and spring example application and with flow explantion configuration using Jdeveloper.and related links ar tutorials kindly please send me .its urgent for me .thanks in advance...........else can any one send to kondaiah.goddeti@gmail.com
Difference between GET and POST?
Explain the role of dispatcherservlet and contextloaderlistener.