B
Bura Tino
Hi,
I prefer JSP over Servlets for two significant reasons:
1. When I introduce a change to a JSP page, I don't need to restart the
service. I guess the compiled class is "hot" loaded.
2. I don't need to deal with web.xml and it's easier to move or rename the
file.
In fact, I believe that the guideline for picking a Servlet over a JSP is
whether core functionality needs to be added to the server. However, the
fact that I can't open an OutputStream in a JSP prevents me from using a JSP
to produce something like a silly image.
Why was that decision made and is there a workaround?
In your responses, if you could emphasize the workaround part...
Thanks.
Bura
I prefer JSP over Servlets for two significant reasons:
1. When I introduce a change to a JSP page, I don't need to restart the
service. I guess the compiled class is "hot" loaded.
2. I don't need to deal with web.xml and it's easier to move or rename the
file.
In fact, I believe that the guideline for picking a Servlet over a JSP is
whether core functionality needs to be added to the server. However, the
fact that I can't open an OutputStream in a JSP prevents me from using a JSP
to produce something like a silly image.
Why was that decision made and is there a workaround?
In your responses, if you could emphasize the workaround part...
Thanks.
Bura