掲示板

the uses of UploadPortletRequest

thumbnail
13年前 に asile elisa によって更新されました。

the uses of UploadPortletRequest

Regular Member 投稿: 126 参加年月日: 10/02/17 最新の投稿
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.
13年前 に Mazhar Anwar によって更新されました。

RE: the uses of UploadPortletRequest

Regular Member 投稿: 125 参加年月日: 10/02/05 最新の投稿
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
11年前 に mohiden abdul kader によって更新されました。

RE: the uses of UploadPortletRequest

Junior Member 投稿: 38 参加年月日: 12/08/08 最新の投稿
thank u ,I help me lot