You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Jason Hunter <jh...@acm.org> on 2001/09/11 07:11:25 UTC

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-

Re: New resource: Bugs every servlet programmer should know about

Posted by Martijn Koster <m....@greenhills.co.uk>.
> http://www.servlets.com/soapbox/bugs.html

I've added the getDateHeader one to the bugs database
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3546

-- Martijn



RE: New resource: Bugs every servlet programmer should know about

Posted by Marc Saegesser <ma...@apropos.com>.
Jason,

The first bug in the list, about file upload problems with AJP13 was fixed
in 3.2.3.


Marc Saegesser

> -----Original Message-----
> From: Jason Hunter [mailto:jhunter@acm.org]
> Sent: Tuesday, September 11, 2001 12:11 AM
> To: tomcat-dev@jakarta.apache.org
> 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-


Re: New resource: Bugs every servlet programmer should know about

Posted by Jason Hunter <jh...@acm.org>.
Good suggestion, Craig.  I've updated the list to include this.

I also incorporated all the other comments from the people who wrote
me.  Glad to see the ajp13 issue is fixed in 3.2.3!

-jh-

"Craig R. McClanahan" wrote:
> 
> Jason,
> 
> One "family" of bugs you might want to include pertains to app servers
> that still use the Jasper engine from Tomcat 3.1 in their current
> production versions (such as IBM's WebSphere 3.5.3 and earlier).  Such
> servers inherit a large number of bugs from that Jasper code -- one that
> bites many users is the fact that this Jasper does not let you use
> pageContext.removeAttribute() to remove an attribute from request scope.
> 
> Craig
> 
> On Mon, 10 Sep 2001, Jason Hunter wrote:
> 
> > Date: Mon, 10 Sep 2001 22:11:25 -0700
> > From: Jason Hunter <jh...@acm.org>
> > Reply-To: tomcat-dev@jakarta.apache.org
> > To: tomcat-dev@jakarta.apache.org
> > 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-
> >

Re: New resource: Bugs every servlet programmer should know about

Posted by "Craig R. McClanahan" <cr...@apache.org>.
Jason,

One "family" of bugs you might want to include pertains to app servers
that still use the Jasper engine from Tomcat 3.1 in their current
production versions (such as IBM's WebSphere 3.5.3 and earlier).  Such
servers inherit a large number of bugs from that Jasper code -- one that
bites many users is the fact that this Jasper does not let you use
pageContext.removeAttribute() to remove an attribute from request scope.

Craig

On Mon, 10 Sep 2001, Jason Hunter wrote:

> Date: Mon, 10 Sep 2001 22:11:25 -0700
> From: Jason Hunter <jh...@acm.org>
> Reply-To: tomcat-dev@jakarta.apache.org
> To: tomcat-dev@jakarta.apache.org
> 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-
>


RE: New resource: Bugs every servlet programmer should know about

Posted by Tomas Rokicki <ro...@instantis.com>.
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:jhunter@acm.org]
Sent: Monday, September 10, 2001 10:11 PM
To: tomcat-dev@jakarta.apache.org
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-