留言板
the uses of UploadPortletRequest
hi everyone,
what is the diffrence between these two codes:
thanks in advance.
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,修改在13 年前。
RE: the uses of UploadPortletRequest
Regular Member 帖子: 125 加入日期: 10-2-5 最近的帖子
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.
mohiden abdul kader,修改在11 年前。
RE: the uses of UploadPortletRequest
Junior Member 帖子: 38 加入日期: 12-8-8 最近的帖子
thank u ,I help me lot