You forgot:  never use servlet instance variables.

This alone is the most common servlet programming bug I've
ever seen, and I see it again and again and again.

I think the containers should use reflection to sniff
a servlet class and if there is a servlet instance variable,
refuse to load the class.

But that's just me.

-tom

-----Original Message-----
From: Jason Hunter [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 10, 2001 10:11 PM
To: [EMAIL PROTECTED]
Subject: New resource: Bugs every servlet programmer should know about


I just posted on Servlets.com a new resource listing the top bugs a
servlet/JSP programmer should know about.  They're culled from my email
inbox, based on the most
frequently reported problems sent to me by users.  Several directly
involve Apache/Tomcat, so I thought this would be a good forum in which
to post a mention.

http://www.servlets.com/soapbox/bugs.html

If you know of other similarly "high profile bugs", please let me know.

-jh-

Reply via email to