Problems and solutions encountered in using dwr3.0

1. When using precise push, push multiple identical data to the same user.

    The problem is that all our html pages are loaded into index.jsp, and engine.js is imported in the html pages, resulting in the creation of multiple scriptsessions for the same httpsession.

2. To achieve accurate push, you must add a scriptsession listener, and store user information in the scriptsession after the scriptsession is created.

3. When using dwr3.0 as the upload function, a small piece of code in engine.js must be modified, otherwise the upload will fail. For details, see download


{{o.name}}
{{m.name}}

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324077669&siteId=291194637