JSP 1.0/ JRUN/ IIS
-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Arun Thomas
Sent: Wednesday, December 22, 1999 9:43 AM
To: [EMAIL PROTECTED]
Subject: Re: Servlets and JSPs
Which product are you using as a servlet/jsp engine?
-AMT
> -----Original Message-----
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Cory L Hubert
> Sent: Wednesday, December 22, 1999 10:16 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Servlets and JSPs
>
>
> I am having the same problem. I believe I wrote a new
> value to the bean
> instance, but I can't get those values in JSP.
>
> -----Original Message-----
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Reg Sherwood
> Sent: Wednesday, December 22, 1999 6:44 AM
> To: [EMAIL PROTECTED]
> Subject: Servlets and JSPs
>
>
> Q. Is it possible to maintain the state of a bean for a particular
> client for use in a JSP page. I have tried placing the bean instance I
> wish to save on the session object in the hopes of later retrieving it
> via a get method in the servlet. After reviewing docs I think it may be
> possible to do something along the lines of:
>
> SERVLET:
> HttpSession session = request.getSession(true);
> session.putValue("theBean", myBean);
>
> JSP PAGE:
> <jsp:useBean id="theBean" scope="session" class="..." />
>
> Now in the JSP page I wish to retrieve values on the bean instance from
> a specified method. So,
>
> JSP PAGE:
> <% int x = theBean.getSize(); %>
>
> But when I try this the above fails as it does not know what the
> variable "theBean" is, even though I named it in the id portion with the
> jsp:useBean tag. Any thoughts? Thanks
>
> ==================================================================
> =========
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> FAQs on JSP can be found at:
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
>
> ==================================================================
> =========
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> FAQs on JSP can be found at:
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
>
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html