Bug #8013

2002-06-13 Thread James Carman
Could someone please take a look at this bug? There is an obvious with the DefaultServlet, but it has not been resolved. I have posted a patch (which may need a try/catch block, by the way) and a test case that illustrates the problem, but it has yet to be fixed. -- To unsubscribe, e-mail: <

Re: DefaultServlet problem...

2002-04-12 Thread James Carman
Maybe a combination of the solutions should be in order. There should be a parseDateHeader() method wich returns a Date instance. Inside the parseDateHeader() method, it should actually call the HttpServletRequest.getDateHeader() method. Also, the HttpServletRequest.getDateHeader() method shoul

Re: DefaultServlet problem...

2002-04-12 Thread James Carman
tDateHeader() method. If it is absolutely necessary that this logic be inside the DefaultServlet class, then it should at least be extracted into a private helper method (called parseDateHeader or something), rather than repeated 4 times. - Original Message ----- From: "James Carman" &

DefaultServlet problem...

2002-04-12 Thread James Carman
I have downloaded the source and fixed a problem in the DefaultServlet. How do I submit the fix for review?

Re: Class Loader Triggers

2002-02-27 Thread James Carman
TED]> Sent: Wednesday, February 27, 2002 6:01 PM Subject: Re: Class Loader Triggers > > > On Wed, 27 Feb 2002, James Carman wrote: > > > Date: Wed, 27 Feb 2002 17:09:33 -0500 > > From: James Carman <[EMAIL PROTECTED]> > > Reply-To: Tomcat Developers

Re: Class Loader Triggers

2002-02-27 Thread James Carman
The documentation states (as you've pointed out) that... Therefore, from the perspective of a web application, class or resource loading looks in the following repositories, in this order: a.. /WEB-INF/classes of your web application b.. /WEB-INF/lib/*.jar of your web application c.. Bootst

Re: Class Loader Triggers

2002-02-27 Thread James Carman
In my opinion, this is a bad design decision. ClassLoaders are supposed to delegate to their parent before attempting to load a class and the system class loader (which loads the core libraries and all standard extensions) is the parent of all classloaders. So, if you're worried about javax.sql.

JDBCRealm ?

2002-02-27 Thread James Carman
Why does the JDBCRealm class actually instantiate the JDBC driver object and use it directly to establish connections? The DriverManager class should be used to actually establish the connection to the database. The open method should read something like this... protected Connection open() t