| com.nabhinc.portlet.base.BasePortlet com.nabhinc.portlet.fileupload.FileUploadPortlet
FileUploadPortlet | public class FileUploadPortlet extends BasePortlet (Code) | | Sample portlet demonstrating how files can be uploaded from a portlet. The
portlet can be configured using the following init parameters in the
portlet definition given in portlet.xml file.
-
repositoryPath - Path relative to the Web app root that specifies the
directory used for temporarily store large uploaded files. Default is
"/WEB-INF/file_upload/temp".
-
uploadDirectory - Directory for storing uploaded files. Default is
"/WEB-INF/file_upload/uploads".
-
threshold - Threshold file size beyond which uploaded files will be
temporarily stored in the directory specified by repositoryPath param.
Default is 1000.
- maxUploadSize - Maximum size (in bytes) of upload files. Default
is 10000 Bytes.
author: Padmanabh Dabke author: (c) 2005 Nabh Information Systems, Inc. All Rights Reserved. |
Method Summary | |
public void | init(PortletConfig config) | public void | processAction(ActionRequest aReq, ActionResponse aRes) |
init | public void init(PortletConfig config) throws PortletException(Code) | | |
processAction | public void processAction(ActionRequest aReq, ActionResponse aRes) throws PortletException(Code) | | |
Methods inherited from com.nabhinc.portlet.base.BasePortlet | public void debug(String method, String msg)(Code)(Java Doc) public void doAdmin(RenderRequest request, RenderResponse response) throws PortletException, IOException(Code)(Java Doc) public void doConfig(RenderRequest request, RenderResponse response) throws PortletException, IOException(Code)(Java Doc) protected void doDispatch(RenderRequest request, RenderResponse response) throws PortletException, java.io.IOException(Code)(Java Doc) public void doEdit(RenderRequest request, RenderResponse response) throws PortletException, IOException(Code)(Java Doc) public void doHelp(RenderRequest request, RenderResponse response) throws PortletException, IOException(Code)(Java Doc) public void doPreview(RenderRequest request, RenderResponse response) throws PortletException, IOException(Code)(Java Doc) public void doView(RenderRequest request, RenderResponse response) throws PortletException, IOException(Code)(Java Doc) public void error(String method, String msg)(Code)(Java Doc) protected String getAdminJSP(RenderRequest request) throws PortletException(Code)(Java Doc) protected String getConfigJSP(RenderRequest request) throws PortletException(Code)(Java Doc) protected String getContentJSP(RenderRequest request) throws PortletException(Code)(Java Doc) protected String getEditJSP(RenderRequest request) throws PortletException(Code)(Java Doc) protected String getHelpJSP(RenderRequest request) throws PortletException(Code)(Java Doc) protected String getLocalizedJSP(Locale locale, String path)(Code)(Java Doc) protected String getPreviewJSP(RenderRequest request) throws PortletException(Code)(Java Doc) protected String getRealPath(PortletContext pContext, String relPath)(Code)(Java Doc) public void info(String method, String msg)(Code)(Java Doc) public void init(PortletConfig config) throws PortletException(Code)(Java Doc) public void warning(String method, String msg)(Code)(Java Doc)
|
|
|