precompile question

2005-01-18 Thread Matt Bathje
Hi All - When pre-compiling using an ant task, is there a way to exclude certain files from being precompiled? I tried using an exclude tag on the jasper2 task, but it tells me that it does not support that. It looks like the deprecated jspc task that used to come with apache support

Re: precompile question

2005-01-18 Thread Matt Bathje
not a jsp - it should be a different file extension. (For example .jspf for a jsp fragment - files with an extention of .jspf are excluded) -Tim Matt Bathje wrote: Hi All - When pre-compiling using an ant task, is there a way to exclude certain files from being precompiled? I tried using

Does tomcat cache compiled JSPs?

2005-01-13 Thread Matt Bathje
Hey everybody - I am trying to get Tomcat to dynamically compile JSPs that are uploaded through a web interface. I am using the org.apache.jasper.JspC ant task trough code to do it. After a bit of work, I am able to get the file parsed and compiled into the proper directory, which as far as I

Re: Does tomcat cache compiled JSPs?

2005-01-13 Thread Matt Bathje
Woodchuck wrote: --- Matt Bathje [EMAIL PROTECTED] wrote: - Does that fact that the newly-compiled file is always called from a jsp:include page=xxx.jsp / make a difference? try %@ include file=xxx.jsp % This would not be an ideal situation as the path to include is dynamically calculated

Re: Does tomcat cache compiled JSPs?

2005-01-13 Thread Matt Bathje
is the jsp doing the %@ include being jsp:include-ed itself into another jsp? It isn't being included, but it is being called as part of a struts/tiles definition. also, are you using tomcat 5? if you are i believe you can use EL to do something like: %@ include

Re: dynamically compile JSPs

2005-01-12 Thread Matt Bathje
So it looks like I need to send in classpath and destination directory configuration stuff to the JspC task (using setClassPath and setOutputDir on antTask I think) Where do I get the proper information from though? (The proper information to me means the same classpath and output directory

Re: dynamically compile JSPs

2005-01-11 Thread Matt Bathje
I was messing around with the code a little bit, and tried this: JspC antTask = new JspC(); antTask.setArgs(new String[] { -compile, uploadTileFilePath }); antTask.execute(); but this always gave me an error that javax.servlet package could not be found. Replying to myself here - but I got a

Re: dynamically compile JSPs

2005-01-10 Thread Matt Bathje
[EMAIL PROTECTED] wrote: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jasper/docs/api/index.html Usage of the JspC class. This should be what you want. I work in Windows 95% of the time, and I'm a simplicity freak, so I tend do do things, most of the time, with batch files called from

dynamically compile JSPs

2004-12-22 Thread Matt Bathje
Hi all - If you have your tomcat servers setup with development=false (compiling every 5 minutes) - is there a way to dynamically compile certain JSP pages from inside your servlet code? (Or at least to trigger a compile to happen off of the schedule?) If so - are there any side effects of

Re: dynamically compile JSPs

2004-12-22 Thread Matt Bathje
as there is no serious downside. Thanks, Matt Tim Funk wrote: I would think that making the query string be jsp_compile=true would do it. For example: mypage.jsp?jsp_compile=true [I never tried it] -Tim Matt Bathje wrote: Hi all - If you have your tomcat servers setup with development=false (compiling every 5

Re: dynamically compile JSPs

2004-12-22 Thread Matt Bathje
-Original Message- From: Matt Bathje [mailto:[EMAIL PROTECTED] Sent: 22 December 2004 17:01 To: Tomcat Users List Subject: Re: dynamically compile JSPs I can't seem to find any solid documentation on this (I downloaded the JSP 2.0 spec and don't see it mentioned, even though based on a google

Re: dynamically compile JSPs

2004-12-22 Thread Matt Bathje
Oh, and setting development=true isn't really an option :) Matt Matt Bathje wrote: Well they are being precompiled at first. The problem is that some of the pages are being uploaded/overwritten through a web interface, and the changes aren't immediately visible to users. (They have to wait

Re: dynamically compile JSPs

2004-12-22 Thread Matt Bathje
[EMAIL PROTECTED] wrote: If they are uploaded via a web interface, I assume it's your own interface... If so, why not just make part of the upload process a compilation? You can compile it and overwrite the working copy in Tomcat, changes should be there instantly. A bigger plus too is that

Fedora Core 3

2004-12-01 Thread Matt Bathje
Hey all - I searched around on mail-archive and google for a bit and couldn't find anybody mentioning that they upgraded their Tomcat machines to use Fedora Core 3 yet. Has anybody done so? Any issues with Java or Tomcat after the upgrade? Thanks, Matt

Re: Fedora Core 3

2004-12-01 Thread Matt Bathje
upgrade wouldn't cause any extra headache. Matt Elihu Smails wrote: what version of tomcat? --- Matt Bathje [EMAIL PROTECTED] wrote: Hey all - I searched around on mail-archive and google for a bit and couldn't find anybody mentioning that they upgraded their Tomcat machines to use Fedora Core 3

Re: Tomcat, Apache connected in interesting way

2004-11-23 Thread Matt Bathje
Joshua Szmajda wrote: Hi all, I run a pretty high traffic site using Tomcat. We've gone through a number of configurations in the past, and I wanted to share with you the newest setup that we're using. It's a bit unorthodox perhaps, and I was wondering if anyone could think of possible

[OT] Re: Form based login german umlaut

2004-10-27 Thread Matt Bathje
Replying to an unrelated message, even with a different subject, may not be the best idea either. People using a threaded mail reader will most likely see your message threaded under the topic you replied to instead of as a new thread. If somebody is ignoring the thread you replied to, this

ROOT context using admin webapp

2004-09-01 Thread Matt Bathje
this seems like a bug - I am attempting to add a ROOT context using /, and it gets added in server.xml as / instead of as . I'm hoping that I am just doing something wrong and there is no bug - so, does anybody know how to add a ROOT context to a host using the administrative webapp? Thanks, Matt

adding root context with admin webapp

2004-08-26 Thread Matt Bathje
Hi all. This message applies to tomcat 5.0.25 and tomcat 5.0.27. Is it possible to add a root context with the admin webapp? I try to add it with a single slash (/) but when I do, my whole site gets messed up with a slash at the front of all style sheets, images and links. You can't add the root

Errors using admin tool

2004-07-23 Thread Matt Bathje
user has permission to access the conf directory (and it's subdirectories...) so I'm pretty sure it is not a permissions issue...but I'm kind of lost here. Thanks, Matt Bathje - To unsubscribe, e-mail: [EMAIL PROTECTED

java server mode vs. client mode

2004-06-16 Thread Matt Bathje
mode is a longer startup time, but the Java code still beat C++ even with the longer times, so it can't be too bad. So anybody have any experience/thoughts on this? Thanks, Matt Bathje - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: java server mode vs. client mode

2004-06-16 Thread Matt Bathje
Thanks for the pointer to the article, don't know why I didn't just think to look their in the first place. I was sure it was something that has been mentioned on the list before, but I wasn't able to find a way to search for it that yielded good results. Thanks again for the info! Matt Bathje

[OT] Re: java server mode vs. client mode

2004-06-16 Thread Matt Bathje
Yes, I understand that it may not be completley accurate, but I was less interested in the Java/C++ comparison than the client/server mode comparison. Thanks, Matt Bathje - Original Message - From: Eric VERGNAUD [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday