why jsp is converted into servlet


  • JSP is just a fancy way of defining how your Servlet should look like.
    Everything you write into JSP goes either directly into Servlets service method or new Servlet mehod is created when <%! is used.

    With Serlvets you would need to put your HTML code into double qoutes and since JAVA doesn't support multi line strings this would be very annoying.

    After changing Servlet Web Application needs to be reloaded while JSP is reloaded automaticly.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


In this Discussion