Update of /cvsroot/xdoclet/xdoclet/samples/src/java/test/web
In directory sc8-pr-cvs1:/tmp/cvs-serv1255/xdoclet/samples/src/java/test/web
Modified Files:
SimpleServlet.java
Log Message:
Modified the SimpleServlet to extend a subclass of HttpServlet, just to demonstrate
that this works too.
Index: SimpleServlet.java
===================================================================
RCS file: /cvsroot/xdoclet/xdoclet/samples/src/java/test/web/SimpleServlet.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** SimpleServlet.java 31 Aug 2002 15:55:41 -0000 1.4
--- SimpleServlet.java 3 Dec 2002 23:21:08 -0000 1.5
***************
*** 3,13 ****
import javax.servlet.ServletException;
- import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
/**
! * Simple Servlet.
*
* @web.servlet
--- 3,16 ----
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
+ import org.apache.velocity.servlet.VelocityServlet;
+
/**
! * Simple Servlet. This servlet illustrates that your servlet can be any
! * subclass of HttpServlet, as long as all the classes
! * in the hierarchy (and any classes they depend on) are on the classpath.
*
* @web.servlet
***************
*** 51,55 ****
* @author <a href="mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]</a>
*/
! public class SimpleServlet extends HttpServlet {
/**
* Called by the server (via the service method) to allow a servlet to handle a
POST request.
--- 54,58 ----
* @author <a href="mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]</a>
*/
! public class SimpleServlet extends VelocityServlet {
/**
* Called by the server (via the service method) to allow a servlet to handle a
POST request.
-------------------------------------------------------
This SF.net email is sponsored by: Microsoft Visual Studio.NET
comprehensive development tool, built to increase your
productivity. Try a free online hosted session at:
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr0003en
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel