Re: IllegalStateException on JSP page

2003-03-27 Thread Craig R. McClanahan
On Thu, 27 Mar 2003, Kenny G. Dubuisson, Jr. wrote: > Date: Thu, 27 Mar 2003 09:43:45 -0600 > From: "Kenny G. Dubuisson, Jr." <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject:

Re: IllegalStateException on JSP page

2003-03-27 Thread Kenny G. Dubuisson, Jr.
know what else to do at this point. Thanks, Kenny - Original Message - From: "Kenny G. Dubuisson, Jr." <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, March 27, 2003 10:40 AM Subject: Re: IllegalStat

Re: IllegalStateException on JSP page

2003-03-27 Thread Kenny G. Dubuisson, Jr.
omloge" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Thursday, March 27, 2003 10:36 AM Subject: Re: IllegalStateException on JSP page > Kenny, > > I am not sure of my facts here, but I believe that > response.sendRedirect() may clo

Re: IllegalStateException on JSP page

2003-03-27 Thread Ramsay Domloge
Kenny, I am not sure of my facts here, but I believe that response.sendRedirect() may close the response. If you then attempt to write to the response afterwards, you get an IllegalStateException. Since your code is in a JSP page, this causes problems - after Tomcat has processed the scriptlet

Re: IllegalStateException on JSP page

2003-03-27 Thread Kenny G. Dubuisson, Jr.
uot;Tomcat Users List" <[EMAIL PROTECTED]> Sent: Thursday, March 27, 2003 9:51 AM Subject: Re: IllegalStateException on JSP page > > > Kenny G. Dubuisson, Jr. wrote: > > Hello all. I've got a simple JSP page which is throwing an > > IllegalStateException when I t

Re: IllegalStateException on JSP page

2003-03-27 Thread Erik Price
Kenny G. Dubuisson, Jr. wrote: Hello all. I've got a simple JSP page which is throwing an IllegalStateException when I try to redirect the output to another page. What is the stack trace? Here is a snippet of the code: login = login.toUpperCase(); Connection myConnection =

IllegalStateException on JSP page

2003-03-27 Thread Kenny G. Dubuisson, Jr.
Hello all. I've got a simple JSP page which is throwing an IllegalStateException when I try to redirect the output to another page. Here is a snippet of the code: login = login.toUpperCase(); Connection myConnection = DriverManager.getConnection(url, login, password)