Daniel, >>put the HelloWorld.html file I may be mistaken but I far as I can see no html page is required. If my WebAppDeploy looks like: WebAppDeploy examples conn /examples and point my browser to http://localhost/examples/servlet/HelloWorldExample I get straight to the example which make me thing that I run HelloWorldExample directly without involving the html page.
So all want to do is have a simple url like: http://localhost/helloworldexample and run it directly. Given the format of the WebAppDeploy (and what I've read so far) I would have thought that it's possible to map "any" path to any url. Cheers Dom -----Original Message----- From: Armbrust, Daniel C. [mailto:[EMAIL PROTECTED]] Sent: 10 January 2002 15:19 To: 'Tomcat Users List' Subject: RE: how to deploy WebApps in apache's UserDir's ? Maybe I am misunderstanding what you want to do, but, If you just want to deploy the Hello World example, you should make a new webapp, say testurl. inside of testurl, put the HelloWorld.html file, and also, a WEB-INF directory, inside of which you will need a classes folder, where you will put the class file(s) for HelloWorld. your directory structure should be something like /var/tomcat4/webapps/testurl HelloWorld.html WEB-INF (directory) /var/tomcat4/webapps/testurl/WEB-INF classes (directory) /var/tomcat4/webapps/testurl/WEB-INF/classes HelloWorldExample.class which you should then be able to deploy in apache with WebAppDeploy /testurl conn /testurl You only specify the path to the webapp, as the directory that contains the WEB-INF directory, and the other parts of your webapp. (after you deploy it in tomcat of course, with something like <Context path="/testurl" docBase="testurl" debug="0" privileged="true"/> ) You were trying to deploy helloworld as its own webapp, but it isn't one the way it is currently. It is a part of the example webapp. So you cannont simply put your webapp path as WebAppDeploy /test/WEB-INF/HelloWorldExample conn /testurl and have it work. I didn't test any of this, and there may be a typo/mistake or two, but, it should get you closer to what you want to do. Dan -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]> -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>
