struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Raible <m...@raibledesigns.com>
Subject Re: Is debug=console still supported?
Date Tue, 11 Dec 2012 03:26:15 GMT
Figured it out, I needed to add the struts2-dojo-plugin to get things to work.

Thanks,

Matt

On Dec 10, 2012, at 7:51 PM, Matt Raible <matt@raibledesigns.com> wrote:

> Hey all,
> 
> I'm trying to finish the last few bugs before an AppFuse release. Here's a link to the
one I'm working on:
> 
> http://issues.appfuse.org/browse/APF-1042
> 
> I'm using Struts 2.3.7 and trying to see if debug=console still works. I do get a popup,
but I get an error for the following files.
> 
> Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:8080/struts/dojo/dojo.js
> Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:8080/struts/dojo/src/event/__package__.js
> 
> I have the following filter mapping in my web.xml:
> 
>    <!-- For Struts debugging console -->
>    <filter-mapping>
>        <filter-name>struts</filter-name>
>        <url-pattern>/struts/*</url-pattern>
>    </filter-mapping>
> 
> Similarly, when I do debug=browser, I get:
> 
> GET http://localhost:8080/struts/dojo/dojo.js 404 (Not Found) mainMenu.action:17
> 	• Uncaught ReferenceError: dojo is not defined 
> 
> Thanks,
> 
> Matt


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message