Absolutely. The challenge is if you want to make it
appear as if it is being done asynchronously ie.
without having to refresh the current browser screen,
which is what I assume you are trying to do.
I preface this with the caveat that I have not done
this, so it is all [fairly sound] theory.
If you have your main browser content in Frame1 and a
form (formA) in a small invisible frame, Frame2, your
JavaScript method could:
1. Update any values in the fields in formA.
2. Submit formA.
3. formA's request will be handled by your servlet and
update the session object.
4. Frame2 will be refreshed (perhaps with the new
values in the session).
5. Frame1 will be unchanged.
//Nicholas
--- Jean Bresse <[EMAIL PROTECTED]> wrote:
> Is it possible for a JavaScript method to trigger
> some mechanism that
> would result in a object stored in a session to be
> updated?
>
> Thanks,
>
> Jean
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED]
> and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives:
>
http://archives.java.sun.com/archives/servlet-interest.html
> Resources:
>
http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help:
> http://www.lsoft.com/manuals/user/user.html
>
=====
"And what causes me to run?
'Cause you're a...
Big Black Furry Creature From Mars"
--
Nicholas Whitehead
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html