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
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
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"
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
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