tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Barbara Baughman <baugh...@utdallas.edu>
Subject Re: An easy one?...Tomcat & IIS
Date Wed, 25 Apr 2001 13:48:06 GMT
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
> 
> 


Mime
View raw message