I have a very simple action which implements both the ServletRequestAware and
the Preparable interface: 

"public class PWMLiteRequestCheck extends ActionSupport implements
ServletRequestAware,Preparable" 

I have got both the methods defined : "public void
setServletRequest(HttpServletRequest httpServletRequest) " and "public void
prepare()" 

For this action I have configured the corresponding action like this 

<action name="viewChartPrel"
class="com.pwmliteexp1.pwmLitexp1.web.action.PWMLiteRequestCheck"> 
<result name="success">/WEB-INF/pages/viewChart.jsp</result> 
<interceptor-ref name="basicStack"/> 
</action> 

While prepare() method is called the corresponding setServletRequest()
method is never called resulting in a null pointer exception when I try to
use the request object 

Any ideas ? 
-- 
View this message in context: 
http://www.nabble.com/ServletRequest-not-being-injected-......-tf3299028s2369.html#a9177050
Sent from the AppFuse - User mailing list archive at Nabble.com.

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

Reply via email to