dcsimg
"Global Variable" holds connetion for few pages linked by hyper-links
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Kornel_Skalkowski
Posted On:   Tuesday, February 13, 2007 07:10 AM

I'm writing a set of JSP pages which connect with database (by JDBC) and get some information from it. One page is for connecting (logging) to database, one is for disconnecting, one is for sending querys, etc... The pages are changed by hyper-links The question is how to hold a "static" or "global" variable which represents connection. It must be hold in memory by all time when one from these jsp pages is opened. I have tryed use a "session" variables, but it didn't help. Any ideas?

Re: "Global Variable" holds connetion for few pages linked by hyper-links

Posted By:   Christopher_Koenigsberg  
Posted On:   Saturday, February 17, 2007 12:55 PM

scope="application" maybe?
About | Sitemap | Contact