You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ben Souther <bs...@fwdco.com> on 2003/05/16 20:33:43 UTC

Re: java beans

> If I
> were you, I would do more homework before post any questions like this one.

http://csajsp-chapters.corewebprogramming.com/CSAJSP-Chapter13.pdf





On Friday 16 May 2003 02:21 pm, Vernon wrote:
> A page scope bean is valid in the page only. Why do you expect to access a
> page scope bean from another page? Consider request or session scope. If I
> were you, I would do more homework before post any questions like this one.
>
> , 16 May 2003 12:07:50 -0500, malcolm hollinger <m_...@charter.net>
>
> wrote:
> > I have my scope set at page and I input date from the screen and post it
> > tthe next page using
> > jsp:useBean id="b" scope="page" class="GrantBean">
> > <jsp:setProperty name="b" property="*"/>
> > </jsp:useBean>
> > in the next page toset values to the bean
> > ----- Original Message -----
> > From: "Vernon" <ve...@gatewaytech.com>
> > To: "Tomcat Users List" <to...@jakarta.apache.org>
> > Sent: Friday, May 16, 2003 12:03 PM
> > Subject: Re: java beans
> >
> >> How do you save and retrieve the bean? What scope you use?
> >>
> >> On Fri, 16 May 2003 11:52:42 -0500, malcolm hollinger
> >>
> >> <m_...@charter.net> wrote:
> >> > Hey there
> >> > I have a problem maintaining the contents of a bean throughout the
> >> > session....I instantiate the bean with set property...but when I go to
> >> > another jsp page and try to access that particular bean I get null
> >
> > values
> >
> >> > any idea
> >> >
> >> > mac
> >> >
> >> >
> >> >
> >> > ---------------------------------------------------------------------
> >> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> >> > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >>
> >> --
> >> Regards,
> >>
> >> Vernon
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> >> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org