Re: Changing default context path

2009-05-18 Thread Yaakov Chaikin
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,

Re: Changing default context path

2009-05-18 Thread Yaakov Chaikin
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

Changing default context path

2009-05-18 Thread Yaakov Chaikin
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: **

Re: JSP processing other than .jsp?

2005-11-16 Thread Yaakov Chaikin
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

Re: JSP processing other than .jsp?

2005-11-16 Thread Yaakov Chaikin
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

HTTP 401 and BASIC authentication

2005-11-15 Thread Yaakov Chaikin
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