Fórum

the uses of UploadPortletRequest

thumbnail
asile elisa, modificado 13 Anos atrás.

the uses of UploadPortletRequest

Regular Member Postagens: 126 Data de Entrada: 17/02/10 Postagens Recentes
hi everyone,

what is the diffrence between these two codes:

UploadPortletRequest uploadReq = PortalUtil.getUploadPortletRequest((ActionRequest)req);
String cmd = uploadReq.getParameter(Constants.CMD);


String cmd = ParamUtil.getString(req, Constants.CMD);


thanks in advance.
Mazhar Anwar, modificado 13 Anos atrás.

RE: the uses of UploadPortletRequest

Regular Member Postagens: 125 Data de Entrada: 05/02/10 Postagens Recentes
If your HTML Form's enctype is "multipart/form-data" then you need to use UploadPortletRequest and if your from is just a simple html form you can use ParamUtil. emoticon
thumbnail
mohiden abdul kader, modificado 11 Anos atrás.

RE: the uses of UploadPortletRequest

Junior Member Postagens: 38 Data de Entrada: 08/08/12 Postagens Recentes
thank u ,I help me lot