We can write any Java Logics in our JSP. Then why we are
using servlets(Controller Layer) to interact with the DAO ?
Answer Posted / ami singh
yes you are right but why we write all the business logic in
jsp ,becuse we just in a first step to follow the mvc
architectuer like in struts so thats why we don't want to
write java code in jsp
we just use jsp for a view and he servlet for the
controller for business logic
oherwise you wan o right all business in jsp so is up to you
noone sop you do this
thanks amit singh
amitsing2008@gmail.com
| Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
What is java ceil?
Is a method a function?
Why java does not support pointers?
how are methods defined?
What is the inheritance?
What is meant by the value of a variable?
How to do encapsulation in java?
What does string mean in java?
How do you trim a space in java?
What is the default value of float and double datatype in java?
I am unable to find or learn about print command. I have a graphical program in core java in applet but i want to give print command but i have coding for that so if anyone know about this plz mail me on avdhesh_chauhan007@yahoo.co.in
What is the purpose of checked and unchecked exceptions in JAVA?
What does the append?
What is a method in coding?
What is difference between jdk,jre and jvm?