Uploaded image for project: 'JSPWiki'
  1. JSPWiki
  2. JSPWIKI-566

AJAX server-side rewrite

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskConvert to sub-taskLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.10.1
    • Fix Version/s: 2.10.2
    • Component/s: Core & storage
    • Labels:
      None

      Description

      The AJAX library we're currently using is a bit problematic, as it stores non-serializable stuff in the HttpSession (causing all sorts of nasty exception reports in default configurations of Tomcat, and preventing clustering). It does provide a very nice, reflection-based interface so that we can expose any class/method as a JSON endpoint, but this does not really work well with our auth system.

      We should replace the jabsorb stuff with a Stripes-native solution (possibly with some extensions to allow particular beans to expose methods as if we were using jabsorb).

        Attachments

        1. ajaxDispatchServlet.patch
          21 kB
          David Vittor
        2. ajaxFunctions.patch
          81 kB
          David Vittor
        3. ajaxFunctions.patch
          73 kB
          David Vittor
        4. ajaxFunctions.patch
          72 kB
          David Vittor
        5. ajaxFunctions.patch
          61 kB
          David Vittor
        6. ajaxFunctions.patch
          36 kB
          David Vittor
        7. JSPWIKI-566.png
          73 kB
          Harry Metske
        8. test.html
          0.5 kB
          David Vittor

        Issue Links

          Activity

            People

            • Assignee:
              dvittor David Vittor
              Reporter:
              jalkanen Janne Jalkanen

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment