| javax.portlet.ActionResponse
sendRedirect | public void sendRedirect(String location) throws IOException(Code) | | Send a response to the client that redirects the client to another
location.
location must be an absolute URL ("http://myserver/...") or
a URI with a full path ("/myapp/mypath"). This method may encode the URL
before the redirect is sent to the client.
path may also be a relative path ("images/myimage.gif"), in
which case it is a url to a resource in the current "portal", typically a
path relative to the current webapp. Allowing a relative path is an
extension of the behaviour defined by the portlet specification.
An IllegalStateException is thrown if any of the following methods have
been called:
- setPortletMode
- setWindowState
- setRenderParameter
- setRenderParameters
See Also: javax.portlet.ActionResponse.sendRedirect See Also: |
setRenderParameters | public void setRenderParameters(Map parameters)(Code) | | |
|
|