History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: APF-829
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Trivial Trivial
Assignee: Matt Raible
Reporter: Giuseppe Persiani
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
AppFuse

Dwr confoguration in web.xml for Basic Spring artifact

Created: 26/Jun/07 02:35 PM   Updated: 13/Aug/07 11:15 PM
Component/s: Web - General
Affects Version/s: 2.0-M5
Fix Version/s: 2.0-RC1

Environment: Appfuse 2.0 m5 tested on Windows XP - cygwin - maven and Idea


 Description  « Hide
When running the application the http://localhost/<webapp>/dwr/ does not show the classes/javascripts seen by DWR.
The StaticFilter in web.xml needs to include the dwr/* folder to permit developers to see the beans seen by DWR.

Fix:
Replace the Static filter in web.xml with the following:

<filter>
        <filter-name>staticFilter</filter-name>
        <filter-class>org.appfuse.webapp.filter.StaticFilter</filter-class>
        <init-param>
            <param-name>includes</param-name>
            <param-value>/scripts/dojo/*,/dwr/*</param-value>
        </init-param>
        <init-param>
            <param-name>servletName</param-name>
            <param-value>dispatcher</param-value>
        </init-param>
    </filter>



 All   Comments   Change History   FishEye      Sort Order:
There are no comments yet on this issue.