hi all,

the following code causes IllegalStateExceptions on tomcat 6 while using jetty it works without errors. any idea?

        public URL onActionFromLinkLogoff() {
                User user = userDao.load(getVisit().getUserId());
                auditDao.audit(AuditType.LOGOFF, user);

                String startPage = getVisit().getStartPage();
                Session session = request.getSession(false);
                
                componentResources.discardPersistentFieldChanges();
                
                if (null != session)
                        session.invalidate();
                try {
                        return new URL(startPage);
                } catch (MalformedURLException e) {
                        return null;
                }
        }

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to