RE: reloading classes and struts

2004-01-23 Thread Hume, John - NA US HQ Delray
Do you have struts.jar in common/lib? It sounds like you might. (If struts were getting loaded by the web app classloader, then it could see your WEB-INF/classes without you doing anything to the classpath.) -john. -Original Message- From: Kurt Overberg [mailto:[EMAIL PROTECTED] Sent: T

RE: Deployment with multiple contexts using the same docBase in T omcat5

2004-01-22 Thread Hume, John - NA US HQ Delray
You do the branding dynamically in one webapp. -Original Message- From: Rick Szeto [mailto:[EMAIL PROTECTED] Sent: Thursday, January 22, 2004 10:14 AM To: Tomcat Users List Subject: Re: Deployment with multiple contexts using the same docBase in Tomcat5 That just doesn't seem right to me

RE: maxPostSize - Tomcat 4 ???

2004-01-22 Thread Hume, John - NA US HQ Delray
Does anyone know how maximum post size is impacted by use of AJP or the webserver when using AJP? In experimenting with this, I could submit a request body of a couple hundred KB to Tomcat directly via HTTP, but when going through IIS > JK2 > Tomcat, requests as small as 30KB arrived in Tomcat w

RE: ServletRequest's path elements not updated by calls to getReq uestDispatcher()

2004-01-21 Thread Hume, John - NA US HQ Delray
www.apple.com/ipodmini does a redirect to www.apple.com/ipodmini/, which is the same behavior you get from a webserver (I believe most of them, but definitely IIS) when requesting a directory without the trailing slash. (I seem to recall that Microsoft calls it a "courtesy redirect".) If you ca

RE: Tomcat 5 - jsp:useBean causing a compile time exception (not pilot error - long detailed post)

2004-01-20 Thread Hume, John - NA US HQ Delray
I believe you can change class="..." to type="..." to indicate that that's the type of the reference but not a class that Jasper should attempt to instantiate. -john. -Original Message- From: Andrew Schwimmer [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 20, 2004 12:16 PM To: Tomcat U

RE: Mozilla showing JSP source code

2004-01-20 Thread Hume, John - NA US HQ Delray
Getting off the topic of visible JSP source here, but ... Note that an HTTP redirect isn't just an additional header, it also means a different response status (302 Moved Temporarily instead of 200 OK). I was under the impression that calling response.sendRedirect cleared the buffer and caused

RE: Please help, I have a headache .. servlet init troubles

2004-01-19 Thread Hume, John - NA US HQ Delray
Just a stab Did you back up a copy of your application such that you might have something like this? /tomcat /webapps /myapp /myapp_bak /ROOT /... Maybe Tomcat is attempting to load myapp_bak with default settings. -Original Message- From: Allistair Crossley [mai

RE: OracleConnection datasource CLOB.createTemporary

2004-01-19 Thread Hume, John - NA US HQ Delray
Note that you MUST NOT close the Connection returned by DelegatingConnection.getInnermostDelegate, and you MUST close (i.e., return to the pool) the DelegatingConnection from which you got the delegate OracleConnection once you're finished with the OracleConnection. -john. -Original Messag

RE: Need an Idea - appending #tag after someurl.jsp ?

2004-01-19 Thread Hume, John - NA US HQ Delray
ed an Idea - appending #tag after someurl.jsp ? I set a request attribute before forwarding the request to JSP. Does anybody have some javascript that would allow me to jump to a an anchor within that page ? On Jan 15, 2004, at 3:55 PM, Hume, John - NA US HQ Delray wrote: > Is the se

RE: Need an Idea - appending #tag after someurl.jsp ?

2004-01-16 Thread Hume, John - NA US HQ Delray
Is the servlet doing a RequestDispatcher.forward or HTTP redirecting? It seems a response.sendRedirect (HTTP redirect) would work, assuming your JSP doesn't need the data from the form POST request. If it DOES need to share the request with the servlet, then I believe the HTML form action will ha

RE: Tomcat 5.0.16 jsp:useBean of type java.util.List won't compil e

2004-01-14 Thread Hume, John - NA US HQ Delray
Jason, I believe you can use the type attribute instead of class to indicate that the bean should not be instantiated. (This is an old reference, but I think it's still accurate on the topic: http://java.sun.com/products/jsp/syntax/1.0/syntaxref10.fm14.html.) -john. -Original Message-

RE: Connection Pooling

2004-01-08 Thread Hume, John - NA US HQ Delray
Justin, The DBCP that's bundled with Tomcat as well as most other pools (proxool for one) return a java.sql.Connection implementation class that wraps the actual DB driver java.sql.Connection implementation. Calling close() on the Connection that you got from the pool returns the underlying connec

RE: catch-all host mapping

2004-01-06 Thread Hume, John - NA US HQ Delray
Can you just specify this as the defaultHost in the Engine? That is, something like ... ... -Original Message- From: Marco Pöhler [mailto:[EMAIL PROTECTED] Sent: Monday, January 05, 2004 4:49 PM To: Tomcat Users List Subject: AW: catch-all host mapping Yes, I expec

RE: NoClassDefFoundError : Digester

2004-01-06 Thread Hume, John - NA US HQ Delray
No webapps can see any JARs in server/lib. I'm not familiar with Balancer, but I would guess Digester will need to move to common/lib. -john. -Original Message- From: 29djeo [mailto:[EMAIL PROTECTED] Sent: Monday, January 05, 2004 4:29 PM To: [EMAIL PROTECTED] Subject: NoClassDefFoundEr

Connector attribute serverSocketTimeout in server.xml

2003-12-29 Thread Hume, John - NA US HQ Delray
Can anyone point me in the direction of a resource to explain the Connector attribute serverSocketTimeout? I haven't found any reference to it in the jakarta site or this mailing list. Thanks. -john. _ john d. hume 561-266-6256 [EMAIL PROTECTED]

RE: Thread Safe JSP/Servlets

2003-12-29 Thread Hume, John - NA US HQ Delray
Instance variables in a JSP will be shared among requests, so you could have an issue. Note however, that you have to go out of your way to declare instance variables in a JSP (by putting them in a <%! //declaration block %> rather than a plain old <% //scriptlet block %>). All non-declarative