use servlet context or put object in ur session in
init method.
hope this will work
gunjan
--- Amar_singh <[EMAIL PROTECTED]> wrote:
> hi
> I am using session.putValue("somename","0");
>
> initially i am directing the response to a jsp and
> there i am using getValue
> and it works fine but again when the servlet is
> invoked then again i do
> session.puValue("somename","0");
> and when this is sent to another JSP then it
> doesn't work
> although if i do
> session.puValue("somename",new String("0")); then
> it works ...any ideas
> why????
>
> Regards
> Amar Deep Singh
>
>
___________________________________________________________________________
> 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
__________________________________________________
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf! It's FREE.
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