look for the line that looks something like this <Context path="" docBase="ROOT" debug="0"/>
then add another one just like it but change the "path" and "docBase" attributes to your app path: This is what you want the URL to be eg. localhost:8080/myApp wil look like this <Context path="/myApp" docBase="ROOT" debug="0"/> docbase: This is where your app is located... if it is in the webapps dir. you can add it like this: <Context path="/myApp" docBase="myApp" debug="0"/> if is someware else do it like this <Context path="/myApp" docBase="/home/frank/myapp" debug="0"/> "Enok Strine" <[EMAIL PROTECTED]> 11/20/02 08:35 AM Please respond to "Tomcat Users List" To: [EMAIL PROTECTED] cc: Subject: Re: newbie Q I have opened it - honest! It's all Dutch to me (foreign). I saw: - <parameter> <name>pathname</name> <value>conf/tomcat-users.xml</value> </parameter> which is possibly the nearest thing to what may be a 'context' to a directory ie a path (obviously not this particular instance but something like). How may I add a 'context' to server.xml to enable access to http://localhost:8080/[WEBAPPNAME] for example? I need syntax! Thanks again E. >Even if you don't understand what the docs describe (and I don't understand >all of it myself), the server.xml itself has examples. >Just take a look into it. > >Enok Strine wrote: > >>"The tomcat docs do describe what elements can be put in the >>server.xml and in what order, have a look at it for more details. Or >>just create your own war file." >> >>Hi, >> You have lost me with WAR files. Perhaps it is better that I "add a >>context" in server.xml. I know not how to do this however. I could loose >>myself in the apache web site for hours on end. Alternately, could you >>direct me to such a page, or dare I say it paste some syntax into your >>reply? >> >>Thanks >> >>E. >> >> >>_________________________________________________________________ >>Add photos to your e-mail with MSN 8. Get 2 months FREE*. >>http://join.msn.com/?page=features/featuredemail >> >> >>-- >>To unsubscribe, e-mail: >><mailto:[EMAIL PROTECTED]> >>For additional commands, e-mail: >><mailto:[EMAIL PROTECTED]> >> >> > > > >-- >To unsubscribe, e-mail: ><mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: ><mailto:[EMAIL PROTECTED]> _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>