i do clearly understand now..
Thank you very much to Todd , and Jay...
for your great help..
Regards,
Chad



--- TODD HARNEY <[EMAIL PROTECTED]> wrote: > The
webserver keeps track of the session object for
> each user that opens a browser window....a new
> browser window gets its own session object and id
> and the webserver keeps track of it.
>
> >>> [EMAIL PROTECTED] 8/2/00 4:19 >>>
> thank you for your help..
> but if i use session.putValue() like you said...
> then when this user keep browsing to the page
> containing session bean..here is the question..
> how would i know that the session.putValue()in the
> very first page would be bound with the session bean
> in the later page....(i mean, the same session)
>
> thank you
> Chad
>
>
> --- TODD HARNEY <[EMAIL PROTECTED]> wrote: >
> You
> can explicitly get the session object by calling
> > request.getSession(true) from your JSP code, but I
> > believe there is a page directive that you can set
> > in your JSP page to have that code explicitly
> > generated for you so that you can simply call the
> > implicit session object. I also believe that the
> > default is to have sessions turned on meaning that
> > the session object by default is implicitly
> defined
> > and available for use.
> >
> > <%@ page session="true" %>
> >
> > will work if that is not the default, but I
> believe
> > it is so you should have to type nothing...just
> use
> > your session like...
> >
> > <% session.putValue("userName",userName); %>
> >
> > >>> [EMAIL PROTECTED] 8/1/00 12:15 >>>
> > Dear developers,
> >
> > i have a question about session scope
> > say, if i have the first page for user to log in
> > their
> > name ..and after surfing to the other pages to buy
> > the
> > stuffs which have the scope of session
> > so how can i make the user's name bound with the
> > session object  (i use the session scope with
> > useBean
> > tag).  However, in the first page, i don't use the
> > session Bean,
> >
> > do i have to explicitly write the code to create
> the
> > session object??
> > can anyone guide me to any site with the session
> > tutorial please?
> > thank you
> > Chad
> >
> >
> >
>
____________________________________________________________
> > Do You Yahoo!?
> > Get your free @yahoo.co.uk address at
> > http://mail.yahoo.co.uk
> > or your free @yahoo.ie address at
> > http://mail.yahoo.ie
> >
> >
>
===========================================================================
> > To unsubscribe: mailto [EMAIL PROTECTED] with
> > body: "signoff JSP-INTEREST".
> > Some relevant FAQs on JSP/Servlets can be found
> at:
> >
> >  http://java.sun.com/products/jsp/faq.html
> >  http://www.esperanto.org.nz/jsp/jspfaq.html
> >
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> >
> >
>
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
> >
> >
>
===========================================================================
> > To unsubscribe: mailto [EMAIL PROTECTED] with
> > body: "signoff JSP-INTEREST".
> > Some relevant FAQs on JSP/Servlets can be found
> at:
> >
> >  http://java.sun.com/products/jsp/faq.html
> >  http://www.esperanto.org.nz/jsp/jspfaq.html
> >
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> >
>
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>
>
____________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.co.uk address at
> http://mail.yahoo.co.uk
> or your free @yahoo.ie address at
> http://mail.yahoo.ie
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with
> body: "signoff JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>
>
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with
> body: "signoff JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets


____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to