Hey Wes -- 

Good catch bro!  I do have oops.jsp configured in my web.xml, however, I
don't see how an exception could bubble up to the container with this
configuration in my struts.xml

                <global-exception-mappings>
                        <exception-mapping exception="java.lang.Throwable" 
                                result="exceptionLogger" />
                </global-exception-mappings>


Scott


Wes Wannemacher wrote:
> 
> Scott, are you sure that you don't have error pages pointing to oops.jsp
> in your web.xml file?
> 
> http://e-docs.bea.com/wls/docs81/webapp/web_xml.html#1017571
> 
> On my first S2 project, I had pointed my errors to an oops.jsp out of
> habit. I was trying to use S2 tags in the error page and ran into the
> same situation that you are describing. 
> 
> -Wes
> 
> On Thu, 2008-10-23 at 13:01 -0700, [EMAIL PROTECTED] wrote:
>> The first thing I'd do is turn up logging to 11 on s2, xwork, tiles, and
>> ognl.
>> 
>> Not sure why the exception page would be hit w/ *no* exception but I
>> could imagine that there could be an exception after the page/response
>> has been written to... Is the 'right' page rendered *completely*?
>> 
>> Dave
>> 
>> stanlick wrote:
>> > When I dig deeper into this, I see the problem is with a oops.jsp I
>> have
>> > configured in my struts.xml as 
>> >            <global-results>
>> >                    <result name="exceptionLogger" 
>> > type="dispatcher">/oops.jsp</result>
>> >            </global-results>
>> > Now here is the strange part -- my request for homePage.action is
>> working
>> > fine and there are no errors!  I can remove all references to this
>> oop.jsp
>> > yet the following messages continues to dump to stdout.
>> > "The Struts dispatcher cannot be found.  This is usually caused by
>> using 
>> > Struts tags without the associated filter..."
>> > If I remove the HTML inside oops.jsp everything works fine!  What is
>> > interacting with oops.jsp even when there are no exceptions?
>> > -- 
>> > View this message in context:
>> http://www.nabble.com/The-Struts-dispatcher-cannot-be-found-tp20118536p20138049.html
>> > Sent from the Struts - User mailing list archive at Nabble.com.
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: [EMAIL PROTECTED]
>> > For additional commands, e-mail: [EMAIL PROTECTED]
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/The-Struts-dispatcher-cannot-be-found-tp20118536p20150469.html
Sent from the Struts - User mailing list archive at Nabble.com.


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

Reply via email to