View Javadoc

1   package org.wcb.plugins.beans;
2   
3   import javax.servlet.http.HttpServletRequest;
4   
5   /***
6    * This software is written by 
7    * @author wbogaardt
8    * Date: Jan 28, 2004
9    * Time: 9:07:48 PM
10   * 
11   */
12  public class MonitorController {
13  
14  
15        public static String ACTION = "action";
16  
17       public MonitorController(){
18      }
19  
20      /***
21       * Process request information when users do form submits
22       * based on this we will save the keys, save the file, read
23       * in a new directory's build.properties file or run the ANT
24       * build script.
25       * @param request servlet form post request.
26       */
27      public void processRequest(HttpServletRequest request) {
28          if(request.getMethod().equalsIgnoreCase("post"))
29          {
30              String action = request.getParameter(ACTION);
31              if(action!=null)
32              {
33  
34              }
35          }
36      }
37  }