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 / manikandan [ gtec,vellore ]

jsp files are converted to a servlet file it can b read any
one but servlet files are compile to .class file that so
servlet is used for business logic and jsp are not

Is This Answer Correct ?    5 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which method is called when reference variable is passed in system.net?

1820


What are the features added in Servlet 2.5?

760


What is the need of session tracking in web application?

575


What is the difference between sendredirect() and forward() in a servlet?

519


What are the servlet events?

583






What are the types of servlets? Explain

664


What are the steps involved in placing a servlet within a package?

579


Why do we need servlet filter?

558


What is the servlet?

611


How can we refresh automatically when new data has entered the database?

613


What is the use of request dispatcher interface?

560


How do you configure a centralized error handler in servlets?

529


Which application server is best for java?

550


How do you deal property files in servlet?

594


How do you invoke a servelt?

613