1:/** 2: * Title: TestServlet.java<p> 3: * Description: A servlet to try out some of the Dynamo stuff<p> 4: * Company: Critical Mass Productions Inc.<p> 5: * @author Darcy Schultz 6: * @version $Revision: $ 7: */ 8: 9:import atg.servlet.*; 10:import javax.servlet.*; 11:import java.io.*; 12: 13:public class TestServlet extends DynamoServlet { 14: 15: /** 16: * Default Contructor 17: */ 18: public TestServlet() { 19: } 20: 21: /** 22: * Method Description 23: * 24: * @author (classes and interfaces only, required) 25: * @version $Revision: $ 26: * 27: * @param DynamoHttpServletRequest request 28: * @param DynamoHttpServletResponse response 29: * @return (methods only) 30: * @exception (@throws is a synonym added in Javadoc 1.2) 31: * @see 32: */ 33: public void service( 34: DynamoHttpServletRequest request, 35: DynamoHttpServletResponse response) throws ServletException, IOException { 36: for( int i=0;i<10;i++){ 37: this.setParameter( "test", new Integer(i) ); 38: this.service( request, response ); 39: } 40: } 41:}