You shouldn't use <%! %> tags unless you have a specific reason.
vars declared inside <%! %> tags are servlet member variables, which means
that they are shared by all requests to the same JSP page. Not just in the
single request!
I think this is one of the most common mistakes.

Geert Van Damme

> -----Original Message-----
>
> 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.

===========================================================================
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