colin wang wrote:JSP will be translated into servlet.
That is an implementation detail that has no bearing on when JSPs should be used and when servlets should be used.
Tianrong Dai wrote:your means that servlet can do everything what jsp can do?
Not really. JSPs can use mechanisms such as the JSTL, EL, custom tags, tag files, and other mechanisms geared towards creating views. Mimicking these in a servlet would not only be difficult, but foolish.
colin wang wrote:JSP will be translated into servlet.
That is an implementation detail that has no bearing on when JSPs should be used and when servlets should be used.
Tianrong Dai wrote:your means that servlet can do everything what jsp can do?
Not really. JSPs can use mechanisms such as the JSTL, EL, custom tags, tag files, and other mechanisms geared towards creating views. Mimicking these in a servlet would not only be difficult, but foolish.
oh,i see,thank you very much.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.
subject: What's the difference between servlet and jsp?