tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <Yoav.Shap...@mpi.com>
Subject RE: problem with context element configuration - need some help
Date Wed, 16 Jun 2004 12:54:47 GMT

Hi,
Change context path="/" to path="".

Yoav Shapira
Millennium Research Informatics


>-----Original Message-----
>From: Guy Katz [mailto:gkatz@allot.com]
>Sent: Wednesday, June 16, 2004 9:55 AM
>To: 'tomcat-user@jakarta.apache.org'
>Subject: problem with context element configuration - need some help
>
>hi;
>regarding the configuration of a Context element.
>i have an application called 'app'
>my configuration is currently:
><Context path="/" docBase="." debug="0" reloadable="true">
>so in order to execute the application i need to type the url
>'http://host:port/app
>i do not want to type the URL with the 'app' suffix so i changed the
>context
>element to
><Context path="/" docBase="app" debug="0" reloadable="true">
>
>now the url without the 'app' executes the first page BUT all the
images
>(static) are not loaded (the images are in the img directory under the
app
>directory).
>can anyone explain this behaviour? did i configure anything wrong?
>thanks
>
>
>
>____________________
>Guy Katz
>Allot Communications
>gkatz@allot.com
>tel: +972 9 7619288
>fax: +972 9 7443626
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org




This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message