if the declaration of a var. or an object is made in the Expression tag <%!
...... %> beforehand, then the same can be used thru out the page.
that solves your problem.
bye.
----- Original Message -----
From: "Jacek Laskowski" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 14, 2000 2:47 AM
Subject: Re: I need some help with JSP reference
> Kai Hackemesser wrote:
> >
> > Hi!
> >
> > I'm not sure if I understood JSP reference correctly. If I create code
> > between <% and %>, are the objects available in another <% %> part, or
not?
>
> Yes, they are. Just think about <% %> as a part of doGet/doPost method
> and all HTML as several out.println statements.
>
> > I tried, but got a warning from tomcat compiling this.
>
> What was the warning ? Send it here.
>
> Jacek Laskowski
>
>
===========================================================================
> 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