Hi,

I need your help. I will like to know on how you set up a connection pool in
struts. Will appreciate if you can give me some details on setting up the
connection pool and also how you use it in your servlet.

-Sanjay



----- Original Message -----
From: "Xavier Brunel" <[EMAIL PROTECTED]>
To: "'Struts-User" <[EMAIL PROTECTED]>
Sent: Wednesday, August 29, 2001 8:29 AM
Subject: How to catch the Session Time Out event ??


> Hi all,
>
> I am using Struts for an Intranet application (Linux,Sybase,Java) and it
is
> working very well.
> The last thing I would like to do is forwarding automatically the current
> client to the welcome page when his session is timeout, through a call to
a
> particular ActionForward of struts-config.xml
>
> I built a JSP page (index.jsp) who calls the correct forward :
> ----------------------------------------------------------------
> <%@ page language="java" %>
> <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
> <logic:forward name="welcome"/>
> ----------------------------------------------------------------
> I have the correct struts-config.xml structure (when i call the jsp
directly
> i actually go to the welcome page who is a template).
> -------------------------------------------------------------
> <global-forwards>
>         <forward name="welcome"  path="/jsp/t-welcome.jsp"/>
> </global-forwards>
> -------------------------------------------------------------
>
> But I have one last problem :
> I would like to know how to catch the session time out event, in order to
> call the index.jsp page.
> As anybody an idea about this ???
>
> Xavier


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

Reply via email to