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

AJAX server-side rewrite

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.10.1
    • 2.10.2
    • Core & storage
    • 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

              dvittor David Vittor
              jalkanen Janne Jalkanen
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: