I really appreciate the effort you're putting into this to help me.
I'll try to recreate from your project and retest tonight.
Thanks.
On Tue, Apr 8, 2008 at 1:31 PM, Iwao AVE! <[EMAIL PROTECTED]> wrote:
> It took me a while to setup the environment, but my simple test
> project worked fine.
> You can download the .war (source included) from here.
> http://homepage.mac.com/ave/FileSharing2.html
>
> Could you create a project from the source and see if it works?
>
> // Iwao
>
> on 08.4.8 11:59 PM Matthew Altman said the following:
> > Yeah, I should have mentioned that up front as well.
> >
> > Using Tomcat 6.0.14 (integrated with Netbeans 6) and Java 6.
> >
> >
> >
> > On Tue, Apr 8, 2008 at 1:47 AM, Iwao AVE! <[EMAIL PROTECTED]> wrote:
> >
> >> It seems that the access is still not filtered for some reason.
> >> If it's filtered, a line like the following is output to the log when
> an
> >> error occurs (log level has to be set to DEBUG).
> >>
> >> Intercepting request to URL: /CONTEXT/WEB-INF/error.jsp
> >>
> >> --
> >> I should have asked this first, but which container and jdk are you
> using?
> >> I had confirmed it worked with Tomcat 5.5.26 and Jetty 6.1.8 on Java 5.
> >>
> >> // Iwao
> >>
> >> Matthew Altman wrote on 08.4.8 2:44 PM:
> >>> Bummer, I thought for sure that would have taken care of the issue.
> But
> >>> it didn't.
> >>> Still getting:
> >>> Apr 8, 2008 5:35:57 AM org.apache.catalina.core.ApplicationDispatcher
> >> invoke
> >>> SEVERE: Servlet.service() for servlet jsp threw exception
> >>> java.lang.NullPointerException
> >>> at
> >>>
> >>
> net.sourceforge.stripes.tag.UseActionBeanTag.doStartTag(UseActionBeanTag.java:90)
> >>> at
> >>>
> >>
> org.apache.jsp.WEB_002dINF.layout.standard_jsp._jspx_meth_stripes_005fuseActionBean_005f0(standard_jsp.java:195)
> >>> at
> >>>
> >>
> org.apache.jsp.WEB_002dINF.layout.standard_jsp._jspx_meth_c_005fif_005f0(standard_jsp.java:168)
> >>> at
> >>>
> >>
> org.apache.jsp.WEB_002dINF.layout.standard_jsp._jspx_meth_stripes_005flayout_002ddefinition_005f0(standard_jsp.java:108)
> >>> at
> >>>
> >>
> org.apache.jsp.WEB_002dINF.layout.standard_jsp._jspService(standard_jsp.java:82)
> >>> at
> >>> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
> >>>
> >>> I looked at UseActionBeanTag.java line 90. And the NPE must be due to
> >>> the fact that StripesFilter.getConfiguration() is returning null
> because
> >>> it then attempts to call getActionResolver() on it.
> >>> But if ERROR's are also now getting filtered through the
> StripesFilter,
> >>> why wouldn't a Configuration be created?
> >>>
> >>> -Matthew
> >>>
> >>>
> >>> On Mon, Apr 7, 2008 at 8:20 AM, Matthew Altman <
> [EMAIL PROTECTED]
> >>> <mailto:[EMAIL PROTECTED]>> wrote:
> >>>
> >>> No, I wasn't aware of it, Iwao.
> >>> I'll check that out right away.
> >>> Because what I did previously was create some modified versions of
> >>> my templates, because I had to remove all of the ActionBean stuff.
> >>> So I really didn't have the same layout or functionality as my
> other
> >>> pages (no login/logout, etc).
> >>> But if it's as simple as setting the ERROR dispatcher I'll be
> quite
> >>> happy.
> >>>
> >>> Thanks,
> >>> -Matthew
> >>>
> >>>
> >>>
> >>> On Mon, Apr 7, 2008 at 6:35 AM, Iwao AVE! <[EMAIL PROTECTED]
> >>> <mailto:[EMAIL PROTECTED]>> wrote:
> >>>
> >>> Hi Matthew,
> >>>
> >>> To apply StripesFilter on error page, you need ERROR
> dispatcher
> >> type
> >>> defined for the JSP filter mapping in your web.xml.
> >>>
> >>> <filter-mapping>
> >>> <filter-name>StripesFilter</filter-name>
> >>> <url-pattern>*.jsp</url-pattern>
> >>> <dispatcher>REQUEST</dispatcher>
> >>> <dispatcher>ERROR</dispatcher>
> >>> </filter-mapping>
> >>>
> >>> Forgive me if you are already aware of it ;)
> >>>
> >>> HTH,
> >>> Iwao
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> Register now and save $200. Hurry, offer ends at 11:59 p.m.,
> Monday, April 7! Use priority code J8TLD2.
>
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> _______________________________________________
> Stripes-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/stripes-users
>
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Register now and save $200. Hurry, offer ends at 11:59 p.m.,
Monday, April 7! Use priority code J8TLD2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users