com.jivesoftware.forum.everywhere
Class CommunityEverywhereServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.jivesoftware.forum.everywhere.CommunityEverywhereServlet
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
public class CommunityEverywhereServlet
- extends javax.servlet.http.HttpServlet
A Servlet that will process the incoming request and generate javascript that will create the
requested HTML content directly on the client's page.
The content can be modified by changing the community-javascript.ftl file.
The URL to access this servlet should be of the form /communityjs/optionID-key
where optionID is an integer representing various display options and key is the unique key
used to map to a specific thread.
If a key parameter is not specified, the referer will be used as the unique key.
If a title or description is not specified, the system will check for a corresponding META tag.
If a META tag is not available, a default title and description will be used.
- See Also:
- Serialized Form
Method Summary |
protected void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Process the incoming request and return javascript that will create the requested html content
directly on the client's page. |
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service |
Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommunityEverywhereServlet
public CommunityEverywhereServlet()
doGet
protected void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
- Process the incoming request and return javascript that will create the requested html content
directly on the client's page.
- Overrides:
doGet
in class javax.servlet.http.HttpServlet
- Parameters:
request
- the Http Servlet Requestresponse
- the Http Servlet Response
- Throws:
javax.servlet.ServletException
- if the content could not be added to the response
java.io.IOException
- if the content could not be added to the response
Copyright © 1999-2006 Jive Software.