/Users/lyon/j4p/src/bookExamples/ch05ControlStructs/DispatchCommand.java

1    /** 
2     * Created by IntelliJ IDEA. 
3     * User: dlyon 
4     * Date: Nov 6, 2003 
5     * Time: 7:11:09 PM 
6     * To change this template use Options | File Templates. 
7     */ 
8    package bookExamples.ch05ControlStructs; 
9     
10   import javax.servlet.http.HttpServletRequest; 
11   import javax.servlet.http.HttpServletResponse; 
12    
13    
14   public class DispatchCommand { 
15       private String commandString = ""; 
16    
17       public DispatchCommand(String _commandString) { 
18           commandString = _commandString; 
19       } 
20    
21       public String getCommand() { 
22           return commandString; 
23       } 
24    
25       public void run(HttpServletRequest request, 
26                       HttpServletResponse response) { 
27    
28       } 
29   } 
30