On Mon, May 18, 2009 at 4:46 PM, Caldarale, Charles R
wrote:
>
> > From: Yaakov Chaikin [mailto:yaakov.chai...@gmail.com]
> > Subject: Re: Changing default context path
> >
> > Take a look at 5th bullet.
>
> Take a look at the description of the path attribute,
k.caldar...@unisys.com> wrote:
> > From: Yaakov Chaikin [mailto:yaakov.chai...@gmail.com]
> > Subject: Changing default context path
> >
> > Tomcat still defaults to the WAR file name as the context path...
>
> That's how it's defined to work. The path attribut
Hi,
I am trying to deploy a WAR with a custom context path. For some reason,
Tomcat still defaults to the WAR file name as the context path...
What I am doing is placing context.xml inside the blah.war under
META-INF/context.xml. Here are the contents of context.xml:
**
That is correct. However, it's much better not to do this since it
wastes a lot of bandwidth by sending the CSS code with every page.
Much better to use and let the browser cache the file
instead.
Yaakov.
On 11/16/05, Terence M. Bandoian <[EMAIL PROTECTED]> wrote:
> Hi-
>
> In some cases, it may
I assume you need this because you want to place some JSP code inside
your stylesheet
Two approaches:
1) If you know that ALL of your .css files will need to include JSP
code in them, then go to tomcat_dir/conf/web.xml and add another
like so:
jsp
*.css
2) If you need to place JSP cod
Hi,
I have set up BASIC authentication on Tomcat 5.5.9. I have also set up
a custom error page for HTTP 401 and HTTP 403.
When the username/password box pops up, I purposefully enter wrong
credentials. After 3rd unsuccessful attempt, it forwards me to an HTTP
401 page.
The problem is that the 40