0

I heard that jsp is anyway be convevrted to servlet, so is it better to directly use servlets?

BalusC
  • 1,082,665
  • 372
  • 3,610
  • 3,555
user705414
  • 20,472
  • 39
  • 112
  • 155

2 Answers2

3

No

Use jsp for view only.

Use Servlet for controller only.

Use service layer to do processing ..etc..

See Also

Community
  • 1
  • 1
jmj
  • 237,923
  • 42
  • 401
  • 438
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,911
  • 17
  • 79
  • 123