RE: session.invalidate() throws exception.

2003-12-11 Thread Kathiresan Murugesan
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

Re: session.invalidate() throws exception.

2003-12-11 Thread Antony Paul
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() >

Re: session.invalidate() throws exception.

2003-12-10 Thread Martin Gainty
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.

RE: session.invalidate() throws exception.

2003-12-10 Thread Trieu, Danny
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

Re: session.invalidate() throws exception.

2003-12-10 Thread Antony Paul
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

RE: session.invalidate() throws exception.

2003-12-10 Thread Milind Kulkarni
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

Re: session.invalidate() throws exception.

2003-12-10 Thread Gurpreet Dhanoa
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

Re: session.invalidate() throws exception.

2003-12-10 Thread Antony Paul
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, >

Re: session.invalidate() throws exception.

2003-12-10 Thread Raman Garg
Hello Antony Here is a sample of code, hopes this solves your problem... public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse resp

RE: session.invalidate() throws exception.

2003-12-10 Thread Navjot Singh
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