Hi,

In my porlet I got the following

public class MyProfileAction extends ActionSupport
implements ServletRequestAware

Hence I implemented the  public void
setServletRequest(HttpServletRequest arg0) {

but what I can see is arg0 is null. What is the reason
for this.

How can get hold to the HttpServletRequest?

Currently what I am doing is inside the execute method

RenderRequest req2 =
PortletActionContext.getRenderRequest();
                
                HttpServletRequest req =(HttpServletRequest) req2;


Any risks involve with this?

Thanks




 
____________________________________________________________________________________
Finding fabulous fares is fun.  
Let Yahoo! FareChase search your favorite travel sites to find flight and hotel 
bargains.
http://farechase.yahoo.com/promo-generic-14795097

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to