0

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

BalusC
  • 1,040,783
  • 362
  • 3,548
  • 3,513
user705414
  • 19,158
  • 37
  • 109
  • 154

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
  • 232,312
  • 42
  • 391
  • 431
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