I heard that jsp is anyway be convevrted to servlet, so is it better to directly use servlets?
Asked
Active
Viewed 110 times
2 Answers
3
No
Use jsp for view only.
Use Servlet for controller only.
Use service layer to do processing ..etc..
See Also
1
with jsp it is simpler to make good design with html and css, because in servlets you will use out.println to output every line of html code(e.g. out.println("<head>...</head>"))
maks
- 5,732
- 17
- 78
- 119