Inside session
session.setAttribute("user",user);
Then get
${user.reader_name}
I have never been able to get it, but I can get his toString return value directly from ${user}
getset has been writtenHELP
What you get from jsp are all strings. How can strings have attributes? var obj=JSON.parse("${user}")
var obj=JSON.parse("${user}")
Requires serialization and deserialization
Sorry. . . I made a strange mistake in one placeThe reader_name attribute of the object was not assigned a value at all, so its default value was used
spring and springMVC seem to work
What you get from jsp are all strings. How can strings have attributes?
var obj=JSON.parse("${user}")
Requires serialization and deserialization
Sorry. . . I made a strange mistake in one place
The reader_name attribute of the object was not assigned a value at all, so its default value was used
spring and springMVC seem to work