Re: Struts2 sesionExpired page

2012-01-09 Thread Jeffrey Black
Are you deploying to Tomcat? Glassfish? What version are you running? Can you post your ... fragment here? jb / On Mon, Jan 9, 2012 at 12:00 AM, dhiren wrote: > SessionListen > > when ever i put this code in my web.xml file it give error like > > init: > deps-module-jar: > deps-ear-jar: > deps

Re: Struts2 sesionExpired page

2012-01-09 Thread dhiren
SessionListen when ever i put this code in my web.xml file it give error like init: deps-module-jar: deps-ear-jar: deps-jar: library-inclusion-in-archive: library-inclusion-in-manifest: compile: compile-jsps: Incrementally deploying http://localhost:8084/WWAtlas Completed incremental distribution

Re: Struts2 sesionExpired page

2008-02-07 Thread Dave Newton
In addition to the other suggestions posted you can also call the request's isValidSessionId() method (or something like that). Dave --- "jignesh.patel" <[EMAIL PROTECTED]> wrote: > > Hi, > I am having struts2 application with hibernate + mysql.I want to create > web app session Expired pag

Re: Struts2 sesionExpired page

2008-02-07 Thread Okan Özeren
Hi, I recommend to you should see *SessionInactivityFilter *on* * http://javawebparts.sourceforge.net/ page for page rejection and forwarding for session inactivity. However you must see to *HttpSessionListener *for created and destroyed sessions. Sample SessionCaptor: /* * */ public class Ses

Re: Struts2 sesionExpired page

2008-02-07 Thread Nuwan Chandrasoma
Hi, Why dont you check for a particular attribute you have added to the session in your interceptor. eg:- when a user login you add the attribute logedin to true. session.setAttribute("logedin","true"); and in the incerceptor you check if its there or null, if its not there or nu