For Programmers: Free Programming Magazines  


Home > Archive > Java Help > September 2004 > Tomcat webapps path integration with IIS









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Tomcat webapps path integration with IIS
Jonathan Parsons

2004-09-28, 4:13 pm

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
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com