I'm assuming that the tags you included were the ones you
were actually using...
Most likely the problem is that you aren't specifying the scope
in the second page. I don't believe that session is the
default SCOPE for that tag.
Cheers,
Greg.
> -----Original Message-----
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Nicolas Pujol
> Sent: Friday, March 05, 1999 12:37 PM
> To: [EMAIL PROTECTED]
> Subject: Session Tracking
>
>
> A simple question. I tried to do the following in a JSP page called
> first.jsp
>
> <html>
> <body>
> <BEAN NAME="sql" INTROSPECT="yes" TYPE="Dbaccess" CREATE="yes"
> SCOPE="session">
> <PROPERTY content="I AM HERE">
> </BEAN>
> <form action="second.jsp" method="post">
> <input type="submit">
> </form>
> </body>
> </html>
>
> Then I would think since the Bean is of scope session I would be
> able to use
> it (making sure create="no") in second.jsp that essentially contains the
> following:
>
> <BEAN NAME="sql" INTROSPECT="yes" TYPE="Dbaccess" CREATE="no">
> </BEAN>
> <%= sql.getcontent() %>
>
> But that does not work. I have misinterpreted what "CREATE" does ?
>
> Nicolas
>
> ==================================================================
> =========
> To unsubscribe, send email to [EMAIL PROTECTED] and include
> in the body
> of the message "signoff JSP-INTEREST". For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
>
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".