Re: problem with classpath

2004-06-28 Thread Ankit Doshi
OTECTED]> Sent: Monday, June 28, 2004 5:31 PM Subject: Re: problem with classpath On Mon, Jun 28, 2004 at 01:44:47PM +0530, Ankit Doshi wrote: : I tried this, but the getResourceAsStream method always returns null. : InputStream istream = : cl.getResourceAsStream("/usr/local/tomcat/

Re: problem with classpath

2004-06-28 Thread Ankit Doshi
I tried this, but the getResourceAsStream method always returns null. In fact, this doesn't work even if I lookup the property file directly from the jsp page, rather than jsp page calling bean and bean looking up property file ... here is the jsp page I am using : <[EMAIL PROTECTED] language="jav

Re: problem with classpath

2004-06-28 Thread Ankit Doshi
I tried this, but the getResourceAsStream method always returns null. In fact, this doesn't work even if I call <[EMAIL PROTECTED] language="java" import="java.util.*,java.io.*"%> <% ClassLoader cl = Thread.currentThread().getContextClassLoader(); InputStream istream = cl.getResourceAsStream("/us

Re: class loader interdependencies

2004-06-25 Thread Ankit Doshi
Let say, my physical class file is located in /common and I put a soft link to this in the WEB-INF/classes of a webapp. (using the ln command - RH Linux). In this case, this class would be loaded by which class loader? The classloader of the webapp or the common class loader? Ankit - Original

Re: problem with classpath

2004-06-25 Thread Ankit Doshi
I wanted some info on using single instance of tomcat for managing multiple web applications. I am repeating my question below, please help me out with the same ... I am running an application for multiple clients and the setup is like the set of classes being used are common and the property file

Re: problem with classpath

2004-06-23 Thread Ankit Doshi
Guys, Can anybody help me on this? Basically, I want to run multiple web applications from within single tomcat instance. - Original Message - From: "Ankit Doshi" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Tuesday, June 22, 200

problem with classpath

2004-06-21 Thread Ankit Doshi
Hello, I am running an application for multiple clients and the setup is like the set of classes being used are common and the property files are different for each client. The structure looks as below : /usr/local/common_application_classes/ - this folder contains all classes /usr/local/propert

Re: handing absolute URL in post request in tomcat

2003-10-17 Thread Ankit Doshi
ning Tomcat 3.x.x. None of the > released versions of Tomcat 3 support HTTP/1.1 (except running behind > Apache/IIS/SunOne). If you happen to be running 3.3.x, then you could > upgrade to the CoyoteConnector2 in the nightly (to get a true HTTP/1.1 > Connector), and all should be

handing absolute URL in post request in tomcat

2003-10-16 Thread Ankit Doshi
Hi, I am running my tomcat on 8999 port and I am not using apache. I have created servlet named TestServlet in context test. Now if I telnet to my server on port 8999 and then say POST /test/servlet/TestServlet it calls the servlet correctly. but if I send an absolute URL in the POST request ins