You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Matt Raible <ma...@raibledesigns.com> on 2012/12/11 03:51:27 UTC
Is debug=console still supported?
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
Re: Is debug=console still supported?
Posted by Lukasz Lenart <lu...@apache.org>.
2012/12/11 Matt Raible <ma...@raibledesigns.com>:
> Figured it out, I needed to add the struts2-dojo-plugin to get things to work.
This is bad.... as we're planning to drop dojo plugin :\ We must find
a replacement :/
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
Re: Is debug=console still supported?
Posted by Matt Raible <ma...@raibledesigns.com>.
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 <ma...@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