Hi Vincent,
I've done exactly this before and it worked for me. In other words placing
<session-config>
<session-timeout>1</session-timeout>
</session-config>
in web.xml in the WEB-INF of my application worked.
Francis
On 2/3/06, Vincent <[EMAIL PROTECTED]> wrote:
>
> Is anyone also met this kind of situation?
>
> On 1/21/06, Vincent <[EMAIL PROTECTED]> wrote:
> > the web.xml inside the WEB-INF , to make it clear I post all of them.
> >
> > <?xml version="1.0" encoding="UTF-8"?>
> > <!DOCTYPE web-app
> > PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
> > "http://java.sun.com/dtd/web-app_2_3.dtd">
> > <!-- generated by Spindle, http://spindle.sf.net -->
> >
> >
> > <web-app>
> > <display-name>work_upload</display-name>
> >
> > <filter>
> > <filter-name>redirect</filter-name>
> > <filter-class>org.apache.tapestry.RedirectFilter
> </filter-class>
> > </filter>
> >
> > <filter-mapping>
> > <filter-name>redirect</filter-name>
> > <url-pattern>/</url-pattern>
> > </filter-mapping>
> >
> > <servlet>
> > <servlet-name>work_upload</servlet-name>
> > <servlet-class>org.apache.tapestry.ApplicationServlet
> </servlet-class>
> > <load-on-startup>1</load-on-startup>
> > </servlet>
> >
> > <servlet-mapping>
> > <servlet-name>work_upload</servlet-name>
> > <url-pattern>/app</url-pattern>
> > </servlet-mapping>
> >
> > <session-config>
> > <session-timeout>1</session-timeout>
> > </session-config>
> > </web-app>
> >
> >
> > On 1/21/06, Patrick Casey <[EMAIL PROTECTED]> wrote:
> > >
> > > Which web.xml are you setting? It's a global tomcat setting,
> so you
> > > need to add that line to the web.xml in:
> > >
> > > <tomcat root>/conf/web.xml
> > >
> > > --- Pat
> > >
> > > > -----Original Message-----
> > > > From: Vincent [mailto:[EMAIL PROTECTED]
> > > > Sent: Friday, January 20, 2006 9:54 PM
> > > > To: Tapestry users
> > > > Subject: Session time out
> > > >
> > > > How to configure the session time out in the tapestry?
> > > >
> > > > in my web.xml I set the following , but it does not seem to work.
> > > > <session-config>
> > > > <session-timeout>1</session-timeout>
> > > > </session-config>
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
>