KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > raptus > vr > VRWatchBean


1 /*
2  * eAdmin/OWX
3  * Copyright (C) 1996-2003 OWX-Project Team <owx-team@gmx.net>
4  */

5
6 package com.raptus.vr;
7
8 import javax.servlet.http.HttpServletRequest JavaDoc;
9
10 import org.apache.struts.action.ActionMapping;
11
12 /**
13  *
14  *
15  * <hr>
16  * <table width="100%" border="0">
17  * <tr>
18  * <td width="24%"><b>Filename</b></td><td width="76%">VRWatchBean.java</td>
19  * </tr>
20  * <tr>
21  * <td width="24%"><b>Author</b></td><td width="76%">Guy Zürcher (gzuercher@raptus.com)</td>
22  * </tr>
23  * <tr>
24  * <td width="24%"><b>Date</b></td><td width="76%">2nd of February 2003</td>
25  * </tr>
26  * </table>
27  * <hr>
28  * <table width="100%" border="0">
29  * <tr>
30  * <td width="24%"><b>Date / Author</b></td><td width="76%"><b>Changes</b></td>
31  * </tr>
32  * </table>
33  * <hr>
34  */

35 public class VRWatchBean extends org.apache.struts.action.ActionForm
36 {
37     /**
38      *
39      */

40     protected String JavaDoc cmd = "";
41
42     /**
43      *
44      */

45     public void setCmd(String JavaDoc cmd)
46     {
47         if(cmd != null)
48             this.cmd = cmd.toLowerCase();
49     }
50
51     public String JavaDoc getCmd() { return this.cmd; }
52     
53     /**
54      *
55      */

56     protected String JavaDoc result = "";
57     
58     /**
59      *
60      */

61     public void setResult(String JavaDoc resl) { this.result = resl; }
62     
63     /**
64      *
65      */

66     public String JavaDoc getResult() { return this.result; }
67
68     /**
69      *
70      */

71     public void reset(ActionMapping mapping, HttpServletRequest JavaDoc request)
72     {
73         super.reset(mapping, request);
74     }
75 }
76
77 // eof
78
Popular Tags