This not throwing nullpointer exception
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%session.invalidate();%>
...kadir...
-Original Message-
From: Antony Paul
To: Struts Users Mailing List
Sent: 12/11/2003 3:55 PM
Subject: Re: session.inv
ginal Message -
From: "Martin Gainty" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, December 11, 2003 5:55 AM
Subject: Re: session.invalidate() throws exception.
> so you call invalidate()
>
artin
- Original Message -
From: "Antony Paul" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, December 10, 2003 7:35 AM
Subject: Re: session.invalidate() throws exception.
> A sample code is given. Using Tomcat 4.1.27.
Usually, it is a bad idea to do these thing inside a JSP(or View). Front
Controller is where you want to do all these tuff. Sure, you can query the
session object before you invalidate its or just try/catch
IlligalStateException and ignore it.
Danny Trieu
Internet Business Group
Downey Savings
NF/struts-logic.tld" prefix="logic"%>
<%
session.invalidate();
%>
The error statck is given in first message.
rgds
Antony Paul.
- Original Message -
From: "Gurpreet Dhanoa" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECT
invalidate the session.
Milind
-Original Message-
From: Antony Paul [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 10, 2003 5:31 PM
To: Struts Users Mailing List
Subject: Re: session.invalidate() throws exception.
Then index.jsp is to be mapped to an action in web.xml. My situation is
hi Antony
Can you please briefly explaing the scope and the error
Thanks
Gary
- Original Message -
From: "Antony Paul" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, December 10, 2003 5:30 PM
Subject: Re: sessi
L PROTECTED]>
Sent: Wednesday, December 10, 2003 5:05 PM
Subject: Re: session.invalidate() throws exception.
> Hello Antony
>
> Here is a sample of code, hopes this solves your problem...
>
> public ActionForward execute(ActionMapping mapping,
>
Hello Antony
Here is a sample of code, hopes this solves your problem...
public ActionForward execute(ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse resp
one should
either *catch* Exception OR
use errorPage attribute of <[EMAIL PROTECTED] ...> directive to handle error
HTH
Navjot Singh
>-Original Message-
>From: Antony Paul [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, December 10, 2003 5:08 PM
>To: struts
>Subject: session.invalidate() thr
10 matches
Mail list logo