I've configured IIS7 and Tomcat6 successfully with the isapi redirector. I can get my servlets from tomcat's examples, and also my own servlets running from localhost. http://localhost/examples/servlets/ works fine for the supplied tomcat examples. How do i add servlets to existing web sites? I've tried adding a virtual directory to my website, the same way i did for the Default Website, but i get 404 errors thanks
+1
A:
You shouldn't be adding anything to that directory or root. The proper way to do it is to create your own servlets and package them in a WAR file. That will give your project its own domain/context and keep your servlets separate from others.
Given that, you'll have to tell IIS how to redirect requests for your new context over to Tomcat.
duffymo
2010-06-14 15:40:29
thanks for the responsesorry, i wasn't cleari have created my own servlet and packed it into a WAR file. I dropped it into the tomcat webapps folder and it works under localhost:8080I configured IIS with tomcat and i can get my servlet to work under localhost:80My question is what youve stated last, how do i redirect the requests?I have an existing website that i want to add my servlet page to
jabe
2010-06-14 16:23:20