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
When is the arraystoreexception thrown?
What are the main concepts of oops in java?
What does opcode mean?
What is size () in java?
Give few examples of final classes defined in Java API?
What is bytecode in java ?
What is the history of java?
What is difference between array and arraylist in java?
what is inner class in java?
What do you mean by buffering?
What is a "pure virtual" member function?
I am a fresher and know core java, c languge, html, css etc if I am illegible for any job then send it on my email tatranakshay276@gmail.com
What do you mean by garbage collection used in java?
How does map works in java?
What is the use of join method?