java - how can i get the PortletRequest -


my problem obtain portletrequest httpservletrequest

i put sentence:

portletrequest request = (portletrequest) httpservletrequest.getattribute(); 

what should put .getattribute();

when developed in ibm portlet factory, used .getattribute(constants.portlet_request) constants 1 .jar

now need portlet in jsr168 or there way obtain portletrequest without using httpservletrequest

i hope can me

you can use this:

(portletrequest) request.getattribute("javax.portlet.request"); (portletresponse) request.getattribute("javax.portlet.response"); 

request , response of httpservletrequest , httpsevletresponse.


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -