|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.apache.velocity.servlet.VelocityServlet
com.j2biz.blogunity.web.servlet.VelocityThemeServlet
This servlet answers to all requests send to velocity-templates. It checks, what the velocity page was requested, merges it with the values found within the HttpRequest/HttpSession and includes resulted stream (String-instance at the moment) into the main theme's page: mainView.theme
Field Summary |
Fields inherited from class org.apache.velocity.servlet.VelocityServlet |
CONTENT_TYPE, DEFAULT_CONTENT_TYPE, DEFAULT_OUTPUT_ENCODING, INIT_PROPS_KEY, REQUEST, RESPONSE |
Constructor Summary | |
VelocityThemeServlet()
|
Method Summary | |
protected org.apache.velocity.Template |
handleRequest(HttpServletRequest request,
HttpServletResponse response,
org.apache.velocity.context.Context context)
|
protected Properties |
loadConfiguration(ServletConfig config)
|
Methods inherited from class org.apache.velocity.servlet.VelocityServlet |
chooseCharacterEncoding, createContext, doGet, doPost, doRequest, error, getTemplate, getTemplate, handleRequest, init, initVelocity, mergeTemplate, requestCleanup, setContentType |
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service |
Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public VelocityThemeServlet()
Method Detail |
protected Properties loadConfiguration(ServletConfig config) throws IOException, FileNotFoundException
IOException
FileNotFoundException
protected org.apache.velocity.Template handleRequest(HttpServletRequest request, HttpServletResponse response, org.apache.velocity.context.Context context) throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |