public class SampleServlet
extends javax.servlet.http.HttpServlet
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CONTENT_TYPE |
static java.lang.String |
ENCODING |
static java.lang.String |
SEND_TEXT |
| Constructor and Description |
|---|
SampleServlet() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, servicepublic static final java.lang.String SEND_TEXT
public static final java.lang.String ENCODING
public static final java.lang.String CONTENT_TYPE
protected void doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws javax.servlet.ServletException,
java.io.IOException
doGet in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionjava.io.IOExceptionCopyright © 2014. All Rights Reserved.