Sorry...sent before completing.... I cud just see the warpath dependency in the dependencies section.....but Netbeans does not seem to be recognizing the org.appfuse.webapp folder ?
VJ22 wrote: > > Thanks Matt > > > mraible wrote: >> >> It is in a WAR - we use the warpath plugin to make Maven think WARs are >> JARs. >> >> Matt >> >> On 2/27/07, VJ22 <[EMAIL PROTECTED]> wrote: >>> >>> Will try that out >>> >>> btw....dumb question but where is the dependent jar for BaseAction >>> ...seems >>> to be in a war >>> >>> >>> >>> mraible wrote: >>> > >>> > Yes, you are correct. Have you tried the configuration that's in the >>> > javadocs: >>> > >>> > >>> http://struts.apache.org/2.0.5/struts2-core/apidocs/org/apache/struts2/interceptor/ServletConfigInterceptor.html >>> > >>> > Matt >>> > >>> > On 2/27/07, VJ22 <[EMAIL PROTECTED]> wrote: >>> >> >>> >> Thanks for the quick reply Matt.... >>> >> >>> >> but doesnt basicStack and the defaultStack have the servlet-config >>> >> interceptor ? >>> >> >>> >> Rgds...VJ >>> >> >>> >> >>> >> mraible wrote: >>> >> > >>> >> > It's possible that we have an interceptor missing from the stack in >>> >> > struts.xml. You could also extend BaseAction and call >>> >> > getSession().getServletContext(). >>> >> > >>> >> > Matt >>> >> > >>> >> > On 2/27/07, VJ22 <[EMAIL PROTECTED]> wrote: >>> >> >> >>> >> >> 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] >>> >> >> >>> >> >> >>> >> > >>> >> > >>> >> > -- >>> >> > http://raibledesigns.com >>> >> > >>> >> > >>> --------------------------------------------------------------------- >>> >> > To unsubscribe, e-mail: [EMAIL PROTECTED] >>> >> > For additional commands, e-mail: [EMAIL PROTECTED] >>> >> > >>> >> > >>> >> > >>> >> >>> >> -- >>> >> View this message in context: >>> >> >>> http://www.nabble.com/ServletRequest-not-being-injected-......-tf3299028s2369.html#a9177155 >>> >> Sent from the AppFuse - User mailing list archive at Nabble.com. >>> >> >>> >> --------------------------------------------------------------------- >>> >> To unsubscribe, e-mail: [EMAIL PROTECTED] >>> >> For additional commands, e-mail: [EMAIL PROTECTED] >>> >> >>> >> >>> > >>> > >>> > -- >>> > http://raibledesigns.com >>> > >>> > --------------------------------------------------------------------- >>> > To unsubscribe, e-mail: [EMAIL PROTECTED] >>> > For additional commands, e-mail: [EMAIL PROTECTED] >>> > >>> > >>> > >>> >>> -- >>> View this message in context: >>> http://www.nabble.com/ServletRequest-not-being-injected-......-tf3299028s2369.html#a9177622 >>> Sent from the AppFuse - User mailing list archive at Nabble.com. >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>> For additional commands, e-mail: [EMAIL PROTECTED] >>> >>> >> >> >> -- >> http://raibledesigns.com >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> > > -- View this message in context: http://www.nabble.com/ServletRequest-not-being-injected-......-tf3299028s2369.html#a9177823 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]