Re: JSP variable problem

2002-07-10 Thread Raphael Di Cicco
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Well that's in the java doc sorry : " attributes only persist as long as the request is being handled. " Le Mercredi 10 Juillet 2002 09:55, Raphael Di Cicco a écrit : > Thanks I will try that as soon as I can. > > But when

Re: JSP variable problem

2002-07-10 Thread Raphael Di Cicco
and put > it into REQUEST and not session and then forward to the JSP page to > display. > > d. > > Raphael Di Cicco wrote: > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > > Hi, > > > > I'm faced with a problem that is maybe re

JSP variable problem

2002-07-09 Thread Raphael Di Cicco
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I'm faced with a problem that is maybe really easy to solve... I have n JSP pages, and they all have a form. Each page contains a JAVA object associated to it (called cRessource). Because I want to keep these objects within the page, this is w

Re: How to detect Timeout and take action consequently

2002-04-26 Thread Raphael Di Cicco
expired : reconnect"); > >} > >%> > > > >then catch the exception in error.jsp and print the message > > > >On Thursday 25 April 2002 10:16, Raphael Di Cicco wrote: > > > Hi > > > > > > my web application h

Re: How to detect Timeout and take action consequently

2002-04-25 Thread Raphael Di Cicco
Session has expired : reconnect"); } %> then catch the exception in error.jsp and print the message On Thursday 25 April 2002 10:16, Raphael Di Cicco wrote: > Hi > > my web application has a timeout of 15 minutes. I'm trying to figure out > how to check whether there is

How to detect Timeout and take action consequently

2002-04-25 Thread Raphael Di Cicco
Hi my web application has a timeout of 15 minutes. I'm trying to figure out how to check whether there is a timeout, and in this case warn the user to come back to the login page (instead of a horrible NullPointerException). Did anyone come up with a JSP that's working with this ? -- To unsub

Re: My Exceptions not caught anymore, why ?

2002-04-16 Thread Raphael Di Cicco
Yes you were right, but the error message is not very explicit... On Tuesday 16 April 2002 12:31, Todd Kaplinger wrote: > This is a compilation failure not a runtime failure. How will it know to > use the error page defined inside the jsp page if it never compiled. > > > From: R

My Exceptions not caught anymore, why ?

2002-04-16 Thread Raphael Di Cicco
I don't know if I have done something wrong or not... Let's see an example : <%@ include file="head-jsp-dec.jsp" %> <%@ include file="head-jsp.jsp" %> <%@ include file="head.jsp" %> <%@ page errorPage="error.jsp" %> <%@ page import="java.util.*, Myrdv.*" %> <% cStatic.toInt("hy"); %> cStatic.to

Exception when I try to reload a page

2002-04-11 Thread Raphael Di Cicco
Hi, my JSP page is printed on the screen (note that this webpage contains a but when I try to refresh it I get this message : java.io.IOException: Error: Attempt to clear a buffer that's already been flushed When I go to the compiled jsp the error is pointing to a line where there is out.cle

On timeout

2002-04-10 Thread Raphael Di Cicco
Hi, I have had this problem for a long time. This may not be very difficult but still. I have a timeout on my server, let's say 10 minutes. After 10 minutes, all session variables are destructed, so the user gets an exception message once he tries to interact with the application. Is there a

Re: Handle exceptions correctly

2002-04-10 Thread Raphael Di Cicco
I found that there was an error IN my error page that's why I had all this trouble ! On Tuesday 09 April 2002 17:54, Raphael Di Cicco wrote: > I know but the exception is pointing to > if (pageContext != null) pageContext.handlePageException(t); > > That's not very u

Re: Handle exceptions correctly

2002-04-09 Thread Raphael Di Cicco
Jeff > > > ----- Original Message - > From: "Raphael Di Cicco" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, April 09, 2002 10:10 AM > Subject: Handle exceptions correctly > > > Hi, > > > > I used to handle exceptions qui

Handle exceptions correctly

2002-04-09 Thread Raphael Di Cicco
Hi, I used to handle exceptions quite weel within my JSP pages. This is what I chose to do : - always throw Exceptions inside my Java methods and don't catch them inside. - don't do a try{} catch{} statement within my JSP pages. - but include an error page so that errors