Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

AW: Application outside WEBAPPS

hans mader

2007-08-02

Replies:

Place the myapp.xml in the /conf/Catalina/localhost/ directory.

<?xml version='1.0' encoding='utf-8'?>
<Context docBase="\\server02\share\dir1\dir2" path="/myapp" useNaming="false" >
</Context>

That's all.

Regards, Hans

-----Ursprüngliche Nachricht-----
Von: Mladen Turk [mailto:mladen.turk@(protected)]
Gesendet: Donnerstag, 02. August 2007 13:11
An: Tomcat Users List
Betreff: Re: Application outside WEBAPPS


André Vila Cova wrote:
> Hello!
>
> How can I invoke an application located outside WEBAPPS? What setup I need
> to do?
> If I have an application inside WEBAPPS, p.e., ../WEBAPPS/test/ in URL I
> invoke http://localhost/test... but if application is in other location?
>

Take a look at
http://tomcat.apache.org/tomcat-6.0-doc/config/context.html

docBase is your friend ;)

Regards,
Mladen

---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)






Diese Nachricht ist ausschliesslich fuer den oben bezeichneten Adressaten bestimmt und enthaelt moeglicherweise vertrauliche Informationen. Sollten Sie nicht der oben bezeichnete Adressat sein oder diese Nachricht irrtuemlich erhalten haben, ersuchen wir Sie, diese Nachricht nicht weiterzugeben, zu kopieren oder im Vertrauen darauf zu handeln, sondern den Absender zu verstaendigen und diese Nachricht samt allfaelliger Anlagen sofort zu loeschen. Vielen Dank.

This message is intended only for use by the named addressee and may contain privileged and/or confidential information. If you are not the named addressee, you should not disseminate, copy, or take any action in reliance on it. If you have received this message in error, please immediately notify the sender of this message and delete this message and any attachment. Thank you.

---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.