Re: Build error

2001-04-26 Thread Barbara Baughman

The fact that javac runs may only mean you have the jdk directory in your
PATH environment variable.  If you are on unix, use the command
echo $JAVA_HOME 
to see its definition.  I think the JAVA_HOME environment variable is not
used by jdk at all.

Barbara Baughman

On Thu, 26 Apr 2001, Shih Chin Yang wrote:

 Hi!
 I just downloaded Tomcat 3.2.1 source, then followed the README to
 build, unfortunately I got the following error message
 
 BUILD FAILED
 
 /usr/local/shih/jakarta/jakarta-tomcat/build.xml:94: Cannot use classic
 compiler, as it is not available A common solution is to set the
 environment variable JAVA_HOME
 to your jdk directory.
 
 I was sure that JAVA_HOME has been set to my jdk1.3.0_02 directory, and
 I ran javac from command line without any problems, could someone
 help me? Also, it seems Jakarta-ServletAPI subject no longer exists, is
 it still required for building Tomcat?
 
 Your help would be much appreciated,
 Shih-Chin
 
 




Re: An easy one?...Tomcat IIS

2001-04-25 Thread Barbara Baughman

The servlet/ needs to be there to tell the browser client that this is a
java servlet.  Most browsers discern the filetype from the file extension
(.html, .htm, .jsp, etc.).  Since the file reference to a servlet does not
have a file extension, the addition of servlet/ is necessary to identify
the file as a servlet filetype to the browser.  Since you have no control
over how your client browsers work, there is nothing you can do to change
this convention.

Barbara Baughman
Systems Analyst
University of Texas at Dallas

On Tue, 24 Apr 2001, Scott Weaver wrote:

 
 Hello all,
 
 I'm sure you've seen this question asked before or even answered it.
 
 I have Tomcat running and all the examples in the webapps dir work fine and
 I can add my own servlets to webapps and they work and I can create a
 directory outside webapps and run a servlet but they all have to be run
 using:
 
 http://myserver:8080/mydir/servlet/myservlet
 
 I want to run it here:
 http://myserver/mydir/myservlet
 
 What do I have to modify or create to get it to do this?
 
 I understand that Tomcat is running on 8080 and that is how I'm accessing my
 servlet but can't I go through port 80 and have IIS redirect to Tomcat?
 
 I've come this far and the solution is probably staring me in the face but
 it's Tuesday and the brain is numb already.
 
 Thanks for the help in advance,
 
 Scott