Re: [appfuse-user] ServletRequest not being injected ......

2007-02-27 Thread VJ22
Thanks. have managed to do the "dirty" thing for now and got it working... mraible wrote: > > Yeah, we heard there's recent issues with NetBeans 5.5 and the WarPath > plugin. Here's a related thread. > > http://www.nabble.com/Netbeans-5.5-with-warpath-tf3204087s2369.html#a8897391 > > M

Re: [appfuse-user] ServletRequest not being injected ......

2007-02-27 Thread Matt Raible
Yeah, we heard there's recent issues with NetBeans 5.5 and the WarPath plugin. Here's a related thread. http://www.nabble.com/Netbeans-5.5-with-warpath-tf3204087s2369.html#a8897391 Matt On 2/27/07, VJ22 <[EMAIL PROTECTED]> wrote: Sorry...sent before completing I cud just see the warpath

Re: [appfuse-user] ServletRequest not being injected ......

2007-02-27 Thread VJ22
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 Ma

Re: [appfuse-user] ServletRequest not being injected ......

2007-02-27 Thread VJ22
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 >> >> btwdumb question but where is the dependent jar for BaseAction >> ...seems >> to be in a wa

Re: [appfuse-user] ServletRequest not being injected ......

2007-02-27 Thread Matt Raible
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 btwdumb question but where is the dependent jar for BaseAction ...seems to be in a war mraible wrote: > > Yes, you are correct. Have you tri

Re: [appfuse-user] ServletRequest not being injected ......

2007-02-27 Thread VJ22
Will try that out btwdumb 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/interc

Re: [appfuse-user] ServletRequest not being injected ......

2007-02-27 Thread Matt Raible
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 bas

Re: [appfuse-user] ServletRequest not being injected ......

2007-02-27 Thread VJ22
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().getServ

Re: [appfuse-user] ServletRequest not being injected ......

2007-02-27 Thread Matt Raible
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 Prepar

[appfuse-user] ServletRequest not being injected ......

2007-02-27 Thread VJ22
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 htt