org.mycore.frontend.servlets
Class MCRLinkServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.mycore.frontend.servlets.MCRServlet
org.mycore.frontend.servlets.MCRLinkServlet
- All Implemented Interfaces:
- Serializable, Servlet, ServletConfig
public class MCRLinkServlet
- extends MCRServlet
This servlet return the corresponding link value (from / to) for the
requested link value (from / to) of the MCRLinkTablemanager data. The return
is a simplified mcr:results JDOM tree.
- Author:
- Jens Kupferschmidt
- See Also:
MCRServlet,
Serialized Form
| Methods inherited from class org.mycore.frontend.servlets.MCRServlet |
buildRedirectURL, doGet, doGet, doPost, doPost, generateActiveLinkErrorpage, generateErrorPage, getBaseURL, getLastModified, getLayoutService, getProperty, getRemoteAddr, getServletBaseURL, getSession, handleException, initTrustedProxies, render, reportException, think |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MCRLinkServlet
public MCRLinkServlet()
init
public void init()
throws ServletException
- The initalization of the servlet.
- Overrides:
init in class MCRServlet
- Throws:
ServletException- See Also:
GenericServlet.init()
doGetPost
public void doGetPost(MCRServletJob job)
throws Exception
- The method replace the default form MCRServlet and redirect the
MCRLayoutService. Parameters are:
sendToLayout
protected void sendToLayout(HttpServletRequest req,
HttpServletResponse res,
Document jdom)
throws IOException
- Forwards the document to the output
- Throws:
IOException- See Also:
overwritten in jspdocportal