You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by wkbutler <ke...@gmail.com> on 2008/02/14 23:12:26 UTC
Bypassing action mappings
Hi -
Newbie question- I hope this isn't too obvious.
I'm trying to enable the OGNL debug console (using request param
'debug=console'), and am receiving the error
There is no Action mapped for namespace /struts and action name
webconsole
since struts is trying to map the URL. The webconsole is just a plain HTML
file - the DebuggingInterceptor tries to launch it in a new window with URL
/struts/webconsole.html.
Do I need to declare the webconsole.html file in my struts.xml somehow, so
it gets left alone? I don't see a way to do this in the DTD. Do I need to
declare a limited interceptor stack?
Thanks for ideas -
Kent
--
View this message in context: http://www.nabble.com/Bypassing-action-mappings-tp15490514p15490514.html
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Bypassing action mappings
Posted by wkbutler <ke...@gmail.com>.
That was it Dave, thanks. I'm using Appfuse and it declares a StaticFilter in
the web.xml - adding /struts/* to the includes did the trick.
newton.dave wrote:
>
> --- wkbutler <ke...@gmail.com> wrote:
>> I'm trying to enable the OGNL debug console (using request param
>> 'debug=console'), and am receiving the error
>>
>> There is no Action mapped for namespace /struts and action name
>> webconsole
>>
>> since struts is trying to map the URL. The webconsole is just a plain
>> HTML
>> file - the DebuggingInterceptor tries to launch it in a new window with
>> URL
>> /struts/webconsole.html.
>>
>> Do I need to declare the webconsole.html file in my struts.xml somehow,
>> so
>> it gets left alone? I don't see a way to do this in the DTD. Do I need
>> to declare a limited interceptor stack?
>
> Have you done anything odd in your struts.xml? What does your filter
> mapping
> look like? You shouldn't need to do anything to get debug=console to work.
>
> Dave
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/Bypassing-action-mappings-tp15490514p15494933.html
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Bypassing action mappings
Posted by Dave Newton <ne...@yahoo.com>.
--- wkbutler <ke...@gmail.com> wrote:
> I'm trying to enable the OGNL debug console (using request param
> 'debug=console'), and am receiving the error
>
> There is no Action mapped for namespace /struts and action name
> webconsole
>
> since struts is trying to map the URL. The webconsole is just a plain HTML
> file - the DebuggingInterceptor tries to launch it in a new window with URL
> /struts/webconsole.html.
>
> Do I need to declare the webconsole.html file in my struts.xml somehow, so
> it gets left alone? I don't see a way to do this in the DTD. Do I need
> to declare a limited interceptor stack?
Have you done anything odd in your struts.xml? What does your filter mapping
look like? You shouldn't need to do anything to get debug=console to work.
Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org