Fórumok

the uses of UploadPortletRequest

thumbnail
asile elisa, módosítva 13 év-val korábban

the uses of UploadPortletRequest

Regular Member Bejegyzések: 126 Csatlakozás dátuma: 2010.02.17. Legújabb bejegyzések
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, módosítva 13 év-val korábban

RE: the uses of UploadPortletRequest

Regular Member Bejegyzések: 125 Csatlakozás dátuma: 2010.02.05. Legújabb bejegyzések
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, módosítva 11 év-val korábban

RE: the uses of UploadPortletRequest

Junior Member Bejegyzések: 38 Csatlakozás dátuma: 2012.08.08. Legújabb bejegyzések
thank u ,I help me lot