process.
of course there are other ways to do it... Thanks for the discussion, Rob
- Original Message -
From: [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Thursday, June 21, 2001 3:34 PM
Subject: Re: Aaarrrghhh!! CSS and Servlet again
In a typical web application server
PROTECTED]
Sent by: [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
cc:
Subject: Re: Aaarrrghhh!! CSS and Servlet again
Hi John,
I see why you are doing that but I don't agree it is a good way to go, at
least for me. It looks like you are a corporate developer who builds for an
intranet
What happens it your www.site1.com decides to
deploy the application as www.site1.com/app1...? The context path is set
in the
deployment descriptor, not in the code. You really should make your code
independent of the deployment descriptor even if it just happens to be
that your
current
]@orionserver.com on 06/20/2001
05:55:45 PM
Please respond to Orion-Interest [EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
cc:
Subject: RE: Aaarrrghhh!! CSS and Servlet again
The url pattern for your servlet is the issue. Somehow it is /, which means
just about
to run JSP for every file)
- Original Message -
From: [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Thursday, June 21, 2001 7:29 AM
Subject: RE: Aaarrrghhh!! CSS and Servlet again
To be safe, you really ought to use request.getContextPath() to prefix the
absolute URL
.
Robert Koberg [EMAIL PROTECTED]@orionserver.com on 06/21/2001 01:28:51 PM
Please respond to Orion-Interest [EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
cc:
Subject: Re: Aaarrrghhh!! CSS and Servlet again
To be safe, you really ought to use
You are misunderstanding when the CSS gets
used. CSS is client-side. When the browser
parses the html you send, it will see the LINK tag and download the
external css documentto apply styles.
A simple way to deal with this is have your CSS off
the document root or in a sub-dir just off the