RE: problem with context element configuration - need some help

2004-06-16 Thread Shapira, Yoav

Hi,
Change context path=/ to path=.

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: Guy Katz [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 16, 2004 9:55 AM
To: '[EMAIL PROTECTED]'
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
[EMAIL PROTECTED]
tel: +972 9 7619288
fax: +972 9 7443626


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: problem with context element configuration - need some help

2004-06-16 Thread Guy Katz
thanks,
that did it.


-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 16, 2004 2:55 PM
To: Tomcat Users List
Subject: RE: problem with context element configuration - need some help



Hi,
Change context path=/ to path=.

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: Guy Katz [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 16, 2004 9:55 AM
To: '[EMAIL PROTECTED]'
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
[EMAIL PROTECTED]
tel: +972 9 7619288
fax: +972 9 7443626


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]