JOe,
JSP is a way to use servlets and maintain the HTML/XML code instead of java
comiled code.. Once the Servlet runner comiles the page it is then a servlet.
Once a servlet, you can do all kind of things like servlet chaining etc. It is a
good idea to use JSP pages for performance since the memory is load and ready
for everyone to use and the presentation is maintained using html.
As far as architecture - it is good. It influences you to concentrate on writing
re-usable code (java beans or snippets) and the HTML I/O does not influence the
writing of non-reusable servlets.
- steveb
Joe Drugus <[EMAIL PROTECTED]> on 12/07/99 08:37:05 PM
Please respond to "A mailing list for discussion about Sun Microsystem's Java
Servlet API Technology." <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
cc: (bcc: Steve Buonincontri)
Subject: Servlets and JSP - how should they interrelate to have a good arc
hitecture?
Hello,
I know that each JSP page is converted to a servlet. How does this reflects
on the overall architecture of a web-application.
Say, is it OK to use servlets for various actions and call them from within
the JSP pages? Or, maybe, it is better not to use servlets at all, except
those which are generated from the JSP pages automatically. Does anybody
know this? Thank you,
Joe
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html