oracle.clex.process.controller
Class PortletController

java.lang.Object
  |
  +--javax.servlet.GenericServlet
        |
        +--javax.servlet.http.HttpServlet
              |
              +--oracle.clex.process.controller.HttpServletController
                    |
                    +--oracle.clex.process.controller.ForwardPortletController
                          |
                          +--oracle.clex.process.controller.PortletController
All Implemented Interfaces:
PageConstants, Parent, ProcessConstants, ProcessController, java.io.Serializable, ServiceController, javax.servlet.Servlet, javax.servlet.ServletConfig

public class PortletController
extends ForwardPortletController

PortletController class- is responsible handling the requests and responses from/to Oracle Portal. Controllers that extend this class with also work as a standalone servlet application outside of the portal environment. This class extends ForwardPortletController. Use ForwardPortletController if your version of jpdk supports jsp forward.

Notes:

 The standard web provider that comes with the JPDK (DefaultProvider) uses
 an initialization file to manage the set of portlets that it owns.
 This initialization file is called provider.xml and should not be confused
 with the XML file that defines the MVC Frameworks service.
A service using a PortletController also works with HttpServletController. So, it may be a good idea to test your service entirely outside of OraclePortal before making it a portlet
If your pages contain relative paths, such as for css files and images, please remember that when your service is deployed in a portlet the paths will be relative to the portal server, therefore, you must have the images and css files appropriately located on portal server.If you are using the value of the controller seed info when creating a link, and need to add parameters for the link, please remember that the controller value of a PortletController already have parameters in it for portal rendering, hence you must not add another. For example, if you were using the following link with the HttpServletContoller: <A href="<%= infoBean.getStringInfo("controller") %>?addressid=<%=addr.getAddressId()%> &getaddress=1&PageId=<%= infoBean.getPageId() %>"> < %=addr.getStreetAddr()%></A> you would do this instead when using PortletController: <A href="<%= infoBean.getStringInfo("controller") %>&addressid=<%=addr.getAddressId()%> &getaddress=1&PageId=<%= infoBean.getPageId() %>"> <%=addr.getStreetAddr()%></A> the ? symbol is replaced with the & symbol.

See Also:
Serialized Form

Fields inherited from class oracle.clex.process.controller.HttpServletController
aSessionIdObj, CONTROLLER, CONTROLLER_USER, DEBUG, DEFAULT_UPLOAD_DIRECTORY, DEFAULT_UPLOAD_LIMIT, HTTPREQUEST, HTTPRESPONSE, HTTPSESSIONID, INFOTABLEPOOL, IS_SESSION_RESET, MULTIPART_UPLOAD_DIRECTORY, MULTIPART_UPLOAD_LIMIT, MULTIPARTREQUEST, REQUESTEDVALUES, serviceCache, ssoEnabler
 
Fields inherited from interface oracle.cle.process.ProcessConstants
ALLINFO, BINARYSIZE, CONNECTION_PROVIDER_DTD_NAME, CONNECTION_PROVIDER_VALIDATION_PROPERTY, CONTENTTYPE, CURRENTPAGEID, CURRENTSERVICE, ERRORMESSAGE, GENERICBINARYRESULT, GENERICTEXTRESULT, GETINFO_CHECK_ALL, GETINFO_CHECK_CONTROLLERONLY, GETINFO_CHECK_SERVICEONLY, HTML, HTMLRESULT, JSPRESULT, LOGOFF, NOMESSAGE, PAGEID, PDF, PDFRESULT, PRE_GROUP_DTD_NAME, PRE_GROUP_VALIDATION_PROPERTY, PROCESS_FEEDBACK, RESTART, RESULTTYPE, RULES_DTD_NAME, SERVICE_DESCRIPTOR, SERVICE_DTD_NAME, SERVICE_VALIDATION_PROPERTY, SERVICEINITIALSTATE, SERVICENAME, SESSIONID, SKIP, STACKTRACE, USER, USERROLE, WML, XML, XMLRESULT
 
Constructor Summary
PortletController()
           
 
Method Summary
 void handleJSPRedirect(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.String url)
          Handle forwarding to jsp page Override implementation in HttpServletController to use redirect
 
Methods inherited from class oracle.clex.process.controller.ForwardPortletController
getControllerValue
 
Methods inherited from class oracle.clex.process.controller.HttpServletController
buildTransitionTable, checkMultipartRequest, clearRequestedValues, cloneInfoTable, debug, doGet, doPost, getChildren, getConcreteService, getCurrentContentType, getDefaultContentType, getDefaultControllerResultType, getInfo, getInfo, getLoggedOffPageLocation, getName, getPageId, getParent, getParents, getServiceDescriptorName, getSessionId, getSetContentType, getSSOEnabler, getUploadDirectory, getUploadLimit, getValue, getValues, getWebServerLogLocation, handleAdditionalResults, handleJSPResult, handleLogoff, handleMultipartRequest, handleNewService, handleOSSOLogin, handlePostServiceException, handlePreServiceException, handleResults, handleUnhandledException, init, initSessionObjects, initSSOEnabler, isMultipartFormData, loadServiceInfo, newMultipartRequest, postServiceStart, preServiceStart, processParameters, processResults, saveState, setName, setServiceDescriptorName, terminate
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, 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

PortletController

public PortletController()
Method Detail

handleJSPRedirect

public void handleJSPRedirect(javax.servlet.http.HttpServletRequest request,
                              javax.servlet.http.HttpServletResponse response,
                              java.lang.String url)
                       throws java.io.IOException,
                              javax.servlet.ServletException
Handle forwarding to jsp page Override implementation in HttpServletController to use redirect
Overrides:
handleJSPRedirect in class HttpServletController


Copyright © 2003 ORACLE Corp. All Rights Reserved.