[ 
https://issues.apache.org/struts/browse/WW-1977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_41854
 ] 

Musachy Barroso commented on WW-1977:
-------------------------------------

That makes some sense, I was using jetty 6.0.x

> Struts throws stack trace instead of 404 when an action doesn't exist
> ---------------------------------------------------------------------
>
>                 Key: WW-1977
>                 URL: https://issues.apache.org/struts/browse/WW-1977
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Actions
>    Affects Versions: 2.0.6
>            Reporter: Matt Raible
>             Fix For: 2.1.0
>
>         Attachments: 404.patch
>
>
> If I request an action that doesn't exist, Struts displays a "Struts Problem 
> Report" page with a stack trace like the following:
> here is no Action mapped for namespace / and action name blabla. - [unknown 
> location]
>       at 
> com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:186)
>       at 
> org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsActio
> In my struts.xml:
>     <constant name="struts.devMode" value="false"/>
>     <constant name="struts.i18n.encoding" value="UTF-8"/>
>     <constant name="struts.action.extension" value="html"/>
>     <constant name="struts.objectFactory" value="spring"/>
>     <constant name="struts.custom.i18n.resources" 
> value="ApplicationResources,errors"/>
>     <constant name="struts.multipart.maxSize" value="2097152"/>
>     <constant name="struts.ui.theme" value="css_xhtml"/>
>     <constant name="struts.codebehind.pathPrefix" value="/WEB-INF/pages/"/>
> Strangely enough, in another application I was able to change struts.devMode 
> from true to false to fix this problem. However, since it's already false in 
> this application, I'm not sure how to fix it.
> To reproduce, go to: http://demo.appfuse.org/appfuse-struts/blabla.html and 
> login with user/user.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to