including a jsp outside of tomcat directory

2006-11-01 Thread Jason Novotny
Hi, I have something like a content management webapp where I want to keep a directory on the filesystem containing markup fragments (JSP and HTML). Ideally I'd like this directory to be outside of my webapp, so that users could simply drop in a new WAR without blowing away the content

Re: trying to change the context path in context.xml

2006-10-23 Thread Jason Novotny
wrote: From: Jason Novotny [mailto:[EMAIL PROTECTED] Subject: trying to change the context path in context.xml I've configured context.xml in my webapp META-INF/context.xml and I want to change the path attribute, so that instead of the context being identified by my web application name

placing context.xml in META-INF works?

2006-10-18 Thread Jason Novotny
Hi, I have a context.xml file that looks basically like this: Context path=/portal debug=0 reloadable=false crossContext=true/ In the past using Tomcat 5.5.X I've had to manually copy this file over to $CATALINA_HOME/conf/Catalina/localhost/ and giving it the filename of the context:

best way to setup servlet and filter for REST style URLs

2006-10-17 Thread Jason Novotny
Hi, I'm developing a web application and have a couple important constraints: + URLs should look nice and be bookmarkable in the style of REST e.g. http://localhost/myapp/mylayout/someaction/ + Should be relatively easy to move the WAR call it myapp.war to some other WAR e.g.

how to log a class in shared/lib

2006-08-07 Thread Jason Novotny
Hi, I have a lightweight singleton that I need to place in shared/lib so that it may be accessed by a few other webapps. My question is what logging jar will make my life the easiest to use in my singleton? My assumption is that each webapp should be able to configure which classes it

automatically detecting if HTTPS is supported

2006-06-23 Thread Jason Novotny
Hi, I have a JSP that does a form submission, and I'm wondering if there's any way I can detect if HTTPS is supported so that I can create a secure https connection to my servlet, or use normal http if not. Thanks, Jason

logging my own library in tomcat's shared classpath

2006-02-03 Thread Jason Novotny
Hi, I'm writing a library that will be used by multiple webapps in Tomcat and wondering what are the tradeoffs between each of the logging libraries to use with this library. The 3 I'm considering are commons-logging, log4j, and JDK logger class... should it matter which one I use if the

Re: TC 5.5.12 WARNING: A docBase XXX inside the host appBase has been specified, and will be ignored

2005-12-19 Thread Jason Novotny
Hi Chuck, Ok, I changed my context file from gridsphere.xml to portal.xml. However it still does not work. As I said, I do NOT want to change the name of my web application. It is currently located in $CATALINA_HOME/webapps/gridsphere. Previously my understanding of the path and docBase