---------------------------------------------------- Please read the FAQ at <http://java.apache.org/faq/> It does have a search feature! We cannot guess what you are trying to do: #1. Include version numbers for all software. #2. Include relevant configuration settings. #3. Include full descriptions of the problem. ---------------------------------------------------- I'm stress testing my servlet application and I'm getting the following exception: java.lang.StackOverflowError at org.apache.jserv.JServConnection.processRequest(JServConnection.java, Compiled Code) at org.apache.jserv.JServConnection.run(JServConnection.java, Compiled Code) at java.lang.Thread.run(Thread.java, Compiled Code) I'm using NT4.0, apache 1.3.6 + Jserv 1.0. How do I get around this? -----Original Message----- From: Yuwin Fei <[EMAIL PROTECTED]> To: Java Apache Users <[EMAIL PROTECTED]> Date: Wednesday, October 06, 1999 11:08 AM Subject: Re: [database connection in servlet] >----------------------------- >Please read the FAQ! ><http://java.apache.org/faq/> >----------------------------- > > Just use a static object to keep track the connection to database. > >Sun JunXu <[EMAIL PROTECTED]> wrote: >----------------------------- >Please read the FAQ! ><http://java.apache.org/faq/> >----------------------------- > >hi, all >in a servlet, I have a database connection, named for example "Conn", I want >to use this connection in several servlets. >Can I leave it there, don't close it in first servlet, then I can use it in >next servlet? >how to do this? > >thanks. > >sincerely >sun > > > >-- >-------------------------------------------------------------- >Please read the FAQ! <http://java.apache.org/faq/> >To subscribe: [EMAIL PROTECTED] >To unsubscribe: [EMAIL PROTECTED] >Archives and Other: <http://java.apache.org/main/mail.html> >Problems?: [EMAIL PROTECTED] > > >____________________________________________________________________ >Get your own FREE, personal Netscape WebMail account today at http://webmail.netscape.com. > > >-- >-------------------------------------------------------------- >Please read the FAQ! <http://java.apache.org/faq/> >To subscribe: [EMAIL PROTECTED] >To unsubscribe: [EMAIL PROTECTED] >Archives and Other: <http://java.apache.org/main/mail.html> >Problems?: [EMAIL PROTECTED] > -- -------------------------------------------------------------- Please read the FAQ! <http://java.apache.org/faq/> To subscribe: [EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Archives and Other: <http://java.apache.org/main/mail.html> Problems?: [EMAIL PROTECTED]
