Tomcat webapps path integration with IIS

From: Jonathan Parsons (jonparsons_at_yahoo.com)
Date: 09/28/04


Date: 28 Sep 2004 08:17:19 -0700

Hi,

I cannot get Tomcat resolve to same URL as IIS without including the
webapps folder. What am I dooing wrong please? See example below:

I have successfully integrated the IIS/Tomcat connector.

I have an IIS server on http://onyx:83, so any .html files can be
accessed direct on this URL

I have created a directory in Tomcat under the folder webapps/test
which contains the script test.jsp.

I have set the uriworkermap.properties to include:
/test/*=$(default.worker)
/test/*.jsp=$(default.worker)

and have included a context for test in server.xml which has a
path="/test" and docbase="test".

I can access test.jsp ok from http://onyx:83/test/test.jsp

However I do not wish to see the folder "test". e.g.
http://onyx:83/test.jsp

I could use webapps/ROOT, but this will be of no use if I have
multiple websites with different *.jsp files that require their own
folders.
 
In otherwords I wish to have a seemless integration between IIS and
Tomcat which resolves to same URL path as I wish to reference images
and css from the IIS path of "/" and not have to copy these to Tomcat
"/test/images" etc.

Is this possible?

Regards

Jonathan



Relevant Pages

  • Re: Eclipse Tomcat Project Structure
    ... I don't know about configuring Eclipse but I do know that you can very ... easily configure Tomcat to get around this problem. ... Eclipse will let me set up one project with under the webapps ... > folder but when I try to add a new project I get the following error ...
    (comp.lang.java.programmer)
  • iis and tomcat question
    ... What we want to do is have round trip, SSL encryption when our clients use ... our webapps AND not have the port number as part of the URL. ... that are redirected to Tomcat are talking with IIS securely - encrypted? ...
    (microsoft.public.inetserver.iis)
  • iis tomcat question???
    ... What we want to do is have round trip, SSL encryption when our clients use ... our webapps AND not have the port number as part of the URL. ... that are redirected to Tomcat are talking with IIS securely - encrypted? ...
    (microsoft.public.inetserver.iis.security)
  • Re: Cantt download "exe" file because of IIS version
    ... with IIS and can completely alter IIS behavior in arbitrary manners, ... cut out the EXE download and just standardize the installation using your ... As far as I can tell, we are only running Tomcat as an ISAPI application. ...
    (microsoft.public.inetserver.iis)
  • RE: c1030af7 on SBS2003, after installing ProjectServer 2003 and all u
    ... Thank you for posting in SBS newsgroup. ... If no other virtual folders exist in IIS, the best way should be restoring ... In IIS, select Web Sites, and note the "Identifier" for Default Web Site ... | folder insted of the /projectserver folder work anymore. ...
    (microsoft.public.windows.server.sbs)