Commit 79ad5c92 by naan1993

session序列化问题

parent c7232c09
...@@ -5,6 +5,8 @@ import org.springframework.context.annotation.Scope; ...@@ -5,6 +5,8 @@ import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
import org.springframework.web.context.WebApplicationContext; import org.springframework.web.context.WebApplicationContext;
import java.io.Serializable;
/** /**
* 被修改的bean临时存放的地方 * 被修改的bean临时存放的地方
* *
...@@ -13,7 +15,7 @@ import org.springframework.web.context.WebApplicationContext; ...@@ -13,7 +15,7 @@ import org.springframework.web.context.WebApplicationContext;
*/ */
@Component @Component
@Scope(scopeName = WebApplicationContext.SCOPE_SESSION) @Scope(scopeName = WebApplicationContext.SCOPE_SESSION)
public class LogObjectHolder { public class LogObjectHolder implements Serializable{
private Object object = null; private Object object = null;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment