On Tue, 9 May 2000, Geert Van Damme wrote:
> Well, it all comes down to that little part in your mail
>
> >(if you, um, know what you're doing.)
> >
>
> And apparently, since JSP is rather new, and a lot of people are developing
> in JSP without ever having done any servlet programming, I think my advice
> of using <% %> does make sense.
No doubt. But the whole point of JSP is to provide a servlet that doesn't
look like a servlet; it's a fully-functional gateway technology, if you
will. Advocating willful ignorance of a part of it doesn't help anyone,
and saying that you should avoid a tool simply because it can be used
incorrectly isn't as useful as suggesting ways the tool can be used
properly (i.e., "using static declarations in <%! %> needs to be made
thread-safe, so until you're aware of what this means, you may want to use
the page attribute that indicates single-threadedness if you seem to be
having problems with data from other requests.") It's longer to specify
the correct solution (which, of course, I still didn't do, not really) but
I'd say with a nascent technology, do it correctly - advocating a lesser
form of the technology doesn't help anyone except those who haven't
invested the week that JSP mastery requires.
-----------------------------------------------------------
Joseph B. Ottinger [EMAIL PROTECTED]
http://cupid.suninternet.com/~joeo HOMES.COM Developer
===========================================================================
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