com.toalango.qzarch.servlet
Class QZarchJSPServlet

java.lang.Object
  |
  +--javax.servlet.GenericServlet
        |
        +--javax.servlet.http.HttpServlet
              |
              +--com.toalango.qzarch.servlet.AbstractQZarchServlet
                    |
                    +--com.toalango.qzarch.servlet.QZarchJSPServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class QZarchJSPServlet
extends AbstractQZarchServlet

This implementation puts the result set into a request attributes and dispatches the request to a JSP specified in one of the request parameters.

Author:
Rune Toalango Johannesen
See Also:
Serialized Form

Field Summary
static java.lang.String ATTRIBUTE_RESOURCES
           
 
Fields inherited from class com.toalango.qzarch.servlet.AbstractQZarchServlet
mDebug, PARAMETER_CASE_SENSITIVE, PARAMETER_FILE_TYPE, PARAMETER_FILE_TYPES, PARAMETER_KEYWORDS, PARAMETER_SUPPORT_EXPRESSIONS, PARAMETER_TARGET
 
Constructor Summary
QZarchJSPServlet()
           
 
Method Summary
 void handleResults(javax.servlet.http.HttpServletRequest pRequest, javax.servlet.http.HttpServletResponse pResponse, com.toalango.qzarch.Resource[] pResources, java.lang.String pTarget)
          Hand over the processing or the request to the implementing servlet in order to present the search result suing the desirable presentation technology.
 
Methods inherited from class com.toalango.qzarch.servlet.AbstractQZarchServlet
debug, doGet, doPost, init
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, 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
 

Field Detail

ATTRIBUTE_RESOURCES

public static final java.lang.String ATTRIBUTE_RESOURCES
See Also:
Constant Field Values
Constructor Detail

QZarchJSPServlet

public QZarchJSPServlet()
Method Detail

handleResults

public void handleResults(javax.servlet.http.HttpServletRequest pRequest,
                          javax.servlet.http.HttpServletResponse pResponse,
                          com.toalango.qzarch.Resource[] pResources,
                          java.lang.String pTarget)
                   throws java.io.IOException,
                          javax.servlet.ServletException
Description copied from class: AbstractQZarchServlet
Hand over the processing or the request to the implementing servlet in order to present the search result suing the desirable presentation technology.

Specified by:
handleResults in class AbstractQZarchServlet
Parameters:
pRequest - The request being processed
pResponse - The response object
pResources - The results from the search
pTarget - The target (page, template, resource etc.)
Throws:
java.io.IOException - if an i/o problem occoured
javax.servlet.ServletException - if the servlet failed in producing a response