Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-1546

Spring plugin and HttpSession serialization

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.1
    • 2.0.2
    • Plugin - Mechanism
    • None
    • Java 5 rev 10, tomcat 5.5.20, windows server 2003

    Description

      [stacktrace in the attached file - it comes from stdout in tomcat/log]

      Using Struts 2.0.2 snapshot build from SVN (last weekend)

      My struts.properties:
      ------------------
      struts.devMode=true
      struts.enable.DynamicMethodInvocation=false
      struts.action.extension=action

      1. http://cwiki.apache.org/WW/spring.html
        struts.objectFactory=spring
        struts.objectFactory.spring.autoWire=name
        ------------------

      I am using actions with setters for some of my Spring services.
      This lets Spring to inject them into my actions. Works perfectly.
      I do not store anything in the session scope, this is just a simple test app.

      For me it looks like some property/properties are not marked as transient.

      Attachments

        1. spring_plugin_serialization.txt
          25 kB
          Dariusz Wojtas

        Activity

          People

            mrdon Donald J. Brown
            dwojtas@gmail.com Dariusz Wojtas
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: