Greetings from Australia.
I am designing a JSP app using custom-tags to control content. (MVC framework would be overkill)
I prefer to have no java code in my JSP pages,
just custom-tags and html.
One of my tags will validate usr/pwd against a mysql database.
I would like to establish a connection pool,
just as I would in init(), if I were using a servlet.
However, it appears that custom-tag classes (extends BodyTagSupport) are instantiated each time the jsp page is loaded.
Does anybody have any suggestion on how I can use connection pooling with my custom tag classes ??
(and keep java content in my JSP page to a minimum)
Thanks in advance
I am designing a JSP app using custom-tags to control content. (MVC framework would be overkill)
I prefer to have no java code in my JSP pages,
just custom-tags and html.
One of my tags will validate usr/pwd against a mysql database.
I would like to establish a connection pool,
just as I would in init(), if I were using a servlet.
However, it appears that custom-tag classes (extends BodyTagSupport) are instantiated each time the jsp page is loaded.
Does anybody have any suggestion on how I can use connection pooling with my custom tag classes ??
(and keep java content in my JSP page to a minimum)
Thanks in advance