try this :)
public class SessionRequestProcessor extends TilesRequestProcessor{
protected String processPath(HttpServletRequest request,
HttpServletResponse response) throws IOException
{
Samanth Athrey wrote:
I am trying to handle session timeout by extending RequestProcessor. Since
the processPreprocess(...) method is called before the Action.execute(..)
method, am trying to add that piece of code to check if the session is
valid. The problem am facing is, if i return false from
People have suggested servlet filter is a good choice
to check session time-out that if I want all servlets
and JSPs remain intact.
I do not have any idea how it works in Struts. First
of all, I think this servlet filter has to be declared
in the web.xml. I have many actions in the struts
3 matches
Mail list logo