//get Session
User user = (User)req.getSession(true).getAttribute("user");
//set blob key to user
user.setAvatarBlobKey("new value");
This servlet is called through and ajax call.
I got the following code in my jsp
<img src="serve?normal=1&blob-key=${user.avatarBlobKey}" width="144"
height="144" alt="xxxx" />
And when i refresh the page the ${user.avatarBlobKey} is still assigned to
the old value but not "new value".
What might be the cause? Could it be due to App Engine?
Please see:
http://stackoverflow.com/questions/12938470/htttpsession-and-jsp-attribute-not-refreshed-ajax-call
I think if it's a but it's a pretty major one! :(
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-appengine/-/wyPD6sj0lZoJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en.