What's the advantages of using JSP over Server Side Includes and vice versa?


Both JSP and SSI can receive parameters in the URL, so what is the
difference between a JSP page and an HTML page with an SSI that calls a
servlet (whose Service method contains the java code of the JSP)?

One reason for using JSP is that all of your presentation code is in the
.jsp file and all of the application logic is in the servlets.  Also, jsp
files can be changed and the webserver will take care of generating the
servlet.  With SSI you will need to recompile the servlet.  But technically,
is there anything that I could do in JSP that I couldn't do by making a
servlet and using SSI?


Cheers,
Darren

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to