Re: Database locking in multiple page Web application

1999-08-18 Thread Pascal Houde
Why don't you use a singleton and avoid the overhead of contacting your servlet? Is it because you want to share your connection accross different machines? If so, what happen to your socket for your open connections from the pools when that connection is returned to the caller? -Original

Re: Expires not working

1999-08-12 Thread Pascal Houde
Cache-Control may not work on IE4 if you haven't specified to use HTTP1.1 in Internet Options.../Advanced Tab/HTTP1.1 Settings since Cache-Control is a HTTP1.1 feature. BTW if you call setHeader twice with the same name, will it override the previous value? If the setHeader is not working, you

question about beanName in jsp:useBean

1999-08-10 Thread Pascal Houde
Hi all, I don't really understand why you would give a class name to the beanName attribute when you can just set class and/or type attributes. Basically is there a difference betweens those 2 tags? jsp:useBean id="foo" class="a.b.c" scope="page" jsp:useBean id="foo" beanName="a.b.c"

Re: Do JSP has bean providing File Upload features like ActiveX u ploa d control?

1999-08-09 Thread Pascal Houde
Get a look at the MultipartRequest object from the author of "Java Servlet Programming" (O'Reilly). Home page is http://www.servlets.com/index.html. The zip file for this class and other useful classes is at http://www.servlets.com/resources/com.oreilly.servlet/cos.zip. Pascal -Original

Re: Adding a parameter to a Request ???

1999-08-09 Thread Pascal Houde
Or HttpServletRequest.setAttribute(String, Object) So far from what I read in the Servlet API draft 2.2, there will be another method such as HttpServletRequest.setParameter(String, Object) that would add a parameter to the query string. -Original Message- From: Leong Mun Wai