public class WebSite
extends javax.servlet.http.HttpServlet
Modifier and Type | Field and Description |
---|---|
static String |
BASE_URL
The base url.
|
static File |
STORAGE
The storage.
|
Constructor and Description |
---|
WebSite() |
Modifier and Type | Method and Description |
---|---|
protected void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
init(javax.servlet.ServletConfig config) |
static void |
loadSettingsFromContext(javax.servlet.ServletContext context)
Load settings from context.
|
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
public static File STORAGE
public static String BASE_URL
public static void loadSettingsFromContext(javax.servlet.ServletContext context)
context
- the contextpublic void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletException
init
in interface javax.servlet.Servlet
init
in class javax.servlet.GenericServlet
javax.servlet.ServletException
protected void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
doGet
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
HttpServlet.doGet(HttpServletRequest request, HttpServletResponse
response)
protected void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
doPost
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
HttpServlet.doPost(HttpServletRequest request, HttpServletResponse
response)
Copyright © 2019 SEMS project @ University of Rostock. All rights reserved.