Hello everybody,
the power of a Servlet is, that I can "load" everything what I need
for the requests in its init()-Method.
A good example are DB-connections, which I need to build only
once.
I learned that in JSP I can use the jspInit() for it.
But I think the power of JSP is to avoid Java-Code in the pages at all
and use
Tag-Libs.
For example I can create a <connection>-Tag to manage the
Connection-stuff.
What is a good way, that the Connection is only created when
the JSP-page is first requested and persists between the requests using
such a
<connection>-Tag?
Thanks!
Jens

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to