Hello, Carlos...

All you have to do to use it in a 2.x project is
1. Edit the web.xml. Look for the staticFilter, and in the params you will
have to change it to this (the second line is the one you change):
            <param-name>includes</param-name>

<param-value>/scripts/dojo/*,/dwr/index.html,/struts/*</param-value>
2. Add you're manager to the dwr.xml file (there's already one there - the
UserManager, add yours like that one)
3. Declare the javascript manager that DWR creates in your jsp
    <script type='text/javascript' src='<c:url
value="/dwr/interface/PartnerManager.js" />'></script>
    <script type='text/javascript' src='<c:url value="/dwr/engine.js"
/>'></script>
    <script type='text/javascript' src='<c:url value="/dwr/util.js"
/>'></script>
In this case I've declared a PartnerManager in the dwr.xml (there should be
a partnerManager in the applicationContext.xml too).
With that configured you can use the DWR tutorials you find. Are you looking
for something in particular?

Hope this helps...

David M.
2008/6/24 Carlos Ortiz <[EMAIL PROTECTED]>:

> Hi guys
>
> I am looking for a very up to date article about DWR. I want to use it from
> version 2.x, but I am not sure where to start.
> I read the manual, but I don't know if it is up to date.
>
> Any help?
>

Reply via email to