Hi Frieds, I am new to servlet why to use servlet in
webapplication. what i know is " use servlet as a
controller in mvc and to implemnent business logic . is it
correct ? One more thing reason for implementing business
logic with servlets , why not jsp.
Answer Posted / p.a.v.k.prasad
in Many projects we can't write any BL in servlets and JSP's.
Write it in seperate class(Helper class). and just call to that helper class in u r servlet class.
bcoz if u write a BL in u r servlets(BL may be chenge from one senario to another) then again change in the servlets and redeploying........burden to the container........
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What are the different session tracking techniques?
How do you configure a centralized error handler in servlets?
What is http servlet?
Write a hello world program using servlets.
Explain the servlet filter.
When servlet object is created?
What is java servlet?
What is difference between jsp and servlet?
Why do we use sendredirect() method?
When using servlets to build the HTML, you build a DOCTYPE line, why do you do that?
What is the dispatcher servlet?
What is the workflow of a servlet?
What exception should be thrown when servlet is not properly initialized?
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
Explain jsessionid and when is it created?