KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > xpetstore > web > webwork > action > signon > LogoutAction


1 /*
2  * Created on 24-Feb-2003
3  *
4  * To change this generated comment go to
5  * Window>Preferences>Java>Code Generation>Code Template
6  */

7 package xpetstore.web.webwork.action.signon;
8
9 import xpetstore.web.webwork.action.BaseAction;
10
11
12 /**
13  * @author <a HREF="mailto:tchbansi@sourceforge.net">Herve Tchepannou</a>
14  *
15  * @webwork.action
16  * name="logout"
17  * success="index.action"
18  */

19 public class LogoutAction
20     extends BaseAction
21 {
22     //~ Methods ----------------------------------------------------------------
23

24     /**
25      * @see webwork.action.ActionSupport#doExecute()
26      */

27     protected String JavaDoc doExecute( )
28         throws Exception JavaDoc
29     {
30         clearSession( );
31
32         return SUCCESS;
33     }
34 }
35
Popular Tags