-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Justin Ruthenbeck
Software Engineer, NextEngine Inc.
justinr - AT - nextengine DOT com
Confidential. See:
http://www.nextengine.com/confidentiality.php
At 03:34 PM 10/27/2003, you wrote:
On Tue, 2003-10-28 at 12:26, Bill Lunnon wrote:
Don't know if this is complimentary to your workflow,
try a javascript confirm (ie a client side pop-up, asking the user to
click
Ok to continue). This will catch any double clicks on the client
side.
At 04:20 PM 10/27/2003, you wrote:
On Tue, 2003-10-28 at 12:51, Justin Ruthenbeck wrote:
Server side, instead of putting a token in the session when the page
is
*served*, put a token in the session while the submission is being
processed (use it like a semaphore). The token has a finite
At 06:02 PM 10/27/2003, you wrote:
On Tue, 2003-10-28 at 14:18, Justin Ruthenbeck wrote:
At 04:20 PM 10/27/2003, you wrote:
On Tue, 2003-10-28 at 12:51, Justin Ruthenbeck wrote:
Server side, instead of putting a token in the session when the
page
is
*served*, put a token
Agreed. One word of caution...
At 06:46 PM 10/27/2003, you wrote:
I've had to do this before when credit card processing was being done. A
double-click can result in the credit card being charged twice, so
you've really got to avoid it.
We actually synchronized on the session for the duration
://www.ait-web.com *
***
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]
Justin Ruthenbeck
header to X
and X+2 bytes?
Thanks!
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Justin Ruthenbeck
Software Engineer, NextEngine Inc.
justinr
!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]
Justin
robust and flexible, but is more involved to implement. Take your
pick based on whatever other requirements you have. If you have more
questions, don't hesitate to ask.
justin
Thanks
Jason
Justin Ruthenbeck wrote:
Yes, it is possible. Give us an idea of your deployment setup (are you
, but is more involved to implement. Take
your
pick based on whatever other requirements you have. If you have more
questions, don't hesitate to ask.
justin
Thanks
Jason
Justin Ruthenbeck wrote:
Yes, it is possible. Give us an idea of your deployment setup (are
you
deploying as a .war file
At 02:16 PM 10/17/2003, you wrote:
Does anyone else think that what I'm asking for is so difficult?
Just a thought -- is the salary reasonable for market conditions down
there? If the price isn't right, qualified people may not be inquiring...
Justin
-mail: [EMAIL PROTECTED]
Justin Ruthenbeck
Software Engineer, NextEngine Inc.
justinr - AT - nextengine DOT com
Confidential
See http://www.nextengine.com/confidentiality.php
vendor should have a similar answer. If they deviate from the above
answer, they lie.
-Tim
Justin Ruthenbeck wrote:
A general Tomcat question, irrespective of Tomcat version or
platform. Here goes...
For Http requests, JSESSIONID values are passed to the server from
either a cookie stored
Justin Ruthenbeck
Software Engineer, NextEngine Inc.
justinr - AT - nextengine DOT com
Confidential
See http://www.nextengine.com/confidentiality.php
-
To unsubscribe, e
) If possible, I don't want to maintain a separate collection of
HttpSession objects local to a given Object.
Thanks for the time,
justin
Justin Ruthenbeck
Software Engineer, NextEngine Inc.
justinr - AT - nextengine DOT com
Confidential
See http://www.nextengine.com
regards
Marcin
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Justin Ruthenbeck
Software Engineer, NextEngine Inc.
justinr - AT - nextengine DOT
of Tomcat are you using?
Apache Tomcat/4.1.27
Best regards
Marcin
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Justin Ruthenbeck
Software
-mail: [EMAIL PROTECTED]
Justin Ruthenbeck
Software Engineer, NextEngine Inc.
justinr - AT - nextengine DOT com
Confidential
See http://www.nextengine.com/confidentiality.php
process results in all resources being
available once again.
Hoping another pair of eyes can see what's wrong...
Thanks,
justin
Justin Ruthenbeck
Software Engineer, NextEngine Inc.
justinr - AT - nextengine DOT com
Confidential
See http://www.nextengine.com
My apologies ... this is covered here:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22096
Date: Fri, 10 Oct 2003 12:18:03 -0700
To: Tomcat Users List [EMAIL PROTECTED]
From: Justin Ruthenbeck [EMAIL PROTECTED]
Subject: 4.1.27: Manager app 'reload' causing ClassNotFoundException
Hello All
Justin Ruthenbeck
Software Engineer, NextEngine Inc.
justinr - AT - nextengine DOT com
Confidential
See http://www.nextengine.com/confidentiality.php
-
To unsubscribe, e-mail
: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Justin Ruthenbeck
Software Engineer, NextEngine Inc.
justinr - AT - nextengine DOT com
Confidential
See http://www.nextengine.com/confidentiality.php
-class
/servlet
Try that out...
justin
Justin Ruthenbeck wrote:
Jason,
John was pointing out that you're missing the servlet-mapping which
basically says, For a URL that looks like X, send the request to servlet
Y. You've also got a malformed servlet-class value.
Something like this should
commands, e-mail: [EMAIL PROTECTED]
Justin Ruthenbeck
Software Engineer, NextEngine Inc.
justinr - AT - nextengine DOT com
Confidential
See http://www.nextengine.com/confidentiality.php
want to distribute the
source code in JSP s.
Please let me know if you have any idea?
STFA for precompile jsp:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg68849.html
RTFM:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jasper-howto.html
Justin Ruthenbeck
on this.
justin
Justin Ruthenbeck
Software Engineer, NextEngine Inc.
justinr - AT - nextengine DOT com
Confidential
See http://www.nextengine.com/confidentiality.php
]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Justin Ruthenbeck
Software Engineer, NextEngine Inc.
justinr - AT - nextengine DOT com
Confidential
See http://www.nextengine.com
Date: Tue, 05 Aug 2003 14:42:05 -0700
To: Tomcat Users List [EMAIL PROTECTED]
From: Justin Ruthenbeck [EMAIL PROTECTED]
Subject: Re: Front Controller Servlet
At 05:42 AM 8/5/2003, you wrote:
I am trying to build FrontController servlet for a web site on Tomcat 4 ,
after long time of changes
of forwarding to the page?
justin
Justin Ruthenbeck
Software Engineer, NextEngine Inc.
justinr - AT - nextengine DOT com
Confidential
See http://www.nextengine.com/confidentiality.php
(for
which I'm responsible) -- but that's a different Thread. Do whatever works
best for you. This produces something like (in a jsp):
img src=%MyConfig.getURLPrepend()%/imageWebApp/myImageServlet/
justin
Justin Ruthenbeck
Software Engineer, NextEngine Inc
is already invalid
}
justin
Justin Ruthenbeck
Software Engineer, NextEngine Inc.
justinr - AT - nextengine DOT com
Confidential
See http://www.nextengine.com/confidentiality.php
invalidated
If you don't want to just catch and ignore the JasperException, then use
something like this:
try
{
session.getAttributeNames();
}
catch (java.lang.IllegalStateException isse)
{
// Session is already invalid
}
justin
Justin Ruthenbeck
Software
them in the work directory?
Zach.
Justin Ruthenbeck
Software Engineer, NextEngine Inc.
justinr - AT - nextengine DOT com
Confidential
See http://www.nextengine.com/confidentiality.php
for running jspc.
justin
Justin Ruthenbeck
Software Engineer, NextEngine Inc.
justinr - AT - nextengine DOT com
Confidential
See http://www.nextengine.com/confidentiality.php
/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Justin Ruthenbeck
Software Engineer, NextEngine Inc.
justinr - AT - nextengine DOT com
Confidential
See http://www.nextengine.com
PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Justin Ruthenbeck
Software Engineer, NextEngine Inc.
justinr - AT - nextengine DOT com
that I check every single request for
a matching pattern ( a download) and it seems to me that would produce a
significant amount of overhead, slowing the appserver quite a bit?
Thanks,
-Mark
Justin Ruthenbeck wrote:
|| Why not write a filter that puts an entry in a database table after
|| the file has
commands, e-mail: [EMAIL PROTECTED]
Justin Ruthenbeck
Software Engineer, NextEngine Inc.
justinr - AT - nextengine DOT com
Confidential
See http://www.nextengine.com/confidentiality.php
2003, Justin Ruthenbeck wrote:
If your code worked like this:
1: if (session.getAttribute(LOCKED_ATTR) == LOCKED)
2: return user a waiting page
3: else
4: {
5: session.setAttribute(LOCKED_ATTR, LOCKED)
6: work with submitted data
7: }
then you're right -- it's
-Original Message-
From: Justin Ruthenbeck [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 02, 2003 12:48 AM
To: Tomcat Users List
Subject: RE: How to synchronize based on session? (Prevent
multiple submissions of forms)
// Member variable
protected Object m_synchObj = new Object();
Yes
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Justin Ruthenbeck
Software Engineer, NextEngine Inc.
justinr - AT - nextengine DOT com
Confidential
See http
is
dispatcher[INCLUDE,FORWARD,REQUEST]/dispatcher
justin
Justin Ruthenbeck
Software Engineer, NextEngine Inc.
justinr - AT - nextengine DOT com
Confidential
See http://www.nextengine.com/confidentiality.php
dispatcher element.
justin
--- Justin Ruthenbeck [EMAIL PROTECTED] wrote:
At 10:57 AM 6/25/2003, you wrote:
-Original Message-
From: Shapira, Yoav
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 25, 2003 12:53 PM
To: Tomcat Users List
Subject: RE: How to protect static
]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Justin Ruthenbeck
Software Engineer, NextEngine Inc.
justinr - AT - nextengine DOT com
Confidential
See http
Justin Ruthenbeck
Software Engineer, NextEngine Inc.
justinr - AT - nextengine DOT com
Confidential
See http://www.nextengine.com/confidentiality.php
-
To unsubscribe, e-mail
a program or the
like) and then having access directly to the images
You would then have to update all image referrences on the somepage
servelt/jsp however to something like img
src=/servlet/imagehandler?gif=somerefernce.
Justin Ruthenbeck
Software Engineer
]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Justin Ruthenbeck
Software Engineer, NextEngine Inc.
justinr - AT - nextengine DOT com
Confidential
See http
]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Justin Ruthenbeck
Software Engineer, NextEngine Inc.
justinr - AT - nextengine DOT com
Confidential
See http://www.nextengine.com/confidentiality.php
/tomcat_keystore
keystorePass=password/
/Connector
Thanks,
Bill Tomlinson
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Justin Ruthenbeck
this:
c:\home\whatever\webapp\passwords.props
which, when given to the FileOutputStream, will result in a search for a
file named:
c:/ome/hatever/ebapp/asswords.props
that (probably) ;) doesn't exist.
justin
Justin Ruthenbeck
Software Engineer, NextEngine Inc
That's possible BUT performance will suffer. Tomcat isn't as powerful
as Apache. If you are running a small website, intranet and such,
Tomcat would probably work fine but it's not Commercially fit as a Web
Server. Apache on the other hand is. Later, J
Justin
in writing this is that we should all be careful what we
suggest
before understanding what exactly the person needs. And, quite frankly,
those asking should find these threads *easily* with a little effort.
;)
justin
Justin Ruthenbeck
Software Engineer
that was the way to solve this dilemma of my own making.
Thanks for any assistance on this.
Micael
Justin Ruthenbeck
Software Engineer, NextEngine Inc.
justinr - AT - nextengine DOT com
Confidential
See http://www.nextengine.com/confidentiality.php
is a singleton i think... hitting the same URL twice
shouldn't be a problem if mechanism to track the daemon state (running,
notStarted ) is in place.
The problem as you said might be in the configuration.
Cheers,
Rahul
- Original Message -
From: Justin Ruthenbeck [EMAIL PROTECTED]
To: Tomcat
applications!!
Kind Regards,
Wouter Bijlsma,
[EMAIL PROTECTED]
Justin Ruthenbeck
Software Engineer, NextEngine Inc.
justinr - AT - nextengine DOT com
Confidential
See http://www.nextengine.com/confidentiality.php
Justin Ruthenbeck
Software Engineer, NextEngine Inc.
[EMAIL PROTECTED]
Confidential -
See http://www.nextengine.com/confidentiality.php
-
To unsubscribe, e-mail: [EMAIL PROTECTED
any documentation that tells me how my Tomcat
application can get notified when Tomcat gets a shutdown.
I have cleanup I need to do.
I would appreciate any pointers to documentation or the
correct class/method.
Thanks,
-- Frank
Justin Ruthenbeck
-
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, and more
Justin Ruthenbeck
Software Engineer, NextEngine Inc.
[EMAIL PROTECTED]
Confidential -
See http://www.nextengine.com/confidentiality.php
structures, or permissions.
My apologies as this is getting off topic and is better suited for a spec
discussion forum, but I see this problem repeatedly and had to put my 2
cents in...
justin
Justin Ruthenbeck
Software Engineer, NextEngine Inc.
[EMAIL PROTECTED
]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Justin Ruthenbeck
Software Engineer, NextEngine Inc.
[EMAIL PROTECTED]
Confidential -
See http://www.nextengine.com/confidentiality.php
set the memory min and max parameters for tomcat in the
startup script (JAVA_OPTS = -server -Xmx256m -Xms128m). Any suggestions on
causation and/or data collection would be greatly appreciated. Thanks,
Dan McGowan
[EMAIL PROTECTED]
Justin Ruthenbeck
Software
tionFilterChain.java:247)
Justin Ruthenbeck
Software Engineer, NextEngine Inc.
[EMAIL PROTECTED]
Confidential -
See http://www.nextengine.com/confidentiality.php
*).
at
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Er
rorHandlerWrapper.java:232)
at
org.apache.xerces.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.
java:173)
Paul Hsu
Justin Ruthenbeck
Software Engineer, NextEngine
: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Justin Ruthenbeck
Software Engineer, NextEngine Inc.
[EMAIL PROTECTED]
Confidential -
See http://www.nextengine.com/confidentiality.php
]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Justin Ruthenbeck
Software Engineer, NextEngine Inc.
[EMAIL PROTECTED]
Confidential -
See http://www.nextengine.com/confidentiality.php
--
To unsubscribe, e-mail
, Justin Ruthenbeck wrote:
Hi Jeff --
Once your jsp outputs its data, its job is done and
there is no opportunity for it to update anything.
The only way data can be updated is if the client
requests it, which means you'll have to force the
client to refresh. If it's a browser, set
: 47
Date: Fri, 10 Jan 2003 19:09:46 GMT
Server: Apache Tomcat/4.0.3 (HTTP/1.1 Connector)
Last-Modified: Mon, 26 Aug 2002 17:40:28 GMT
ETag: 47-1030383628000
Thanks,
justin
Justin Ruthenbeck
Software Engineer, NextEngine Inc.
[EMAIL PROTECTED]
Confidential
. This is especially true for the jsp scope
notion, but, as you're finding is the same way for bean usage.
justin
Justin Ruthenbeck
Software Engineer, NextEngine Inc.
[EMAIL PROTECTED]
Confidential -
See http://www.nextengine.com/confidentiality.php
the setting of the
header, but I'm seeing XML HTTP responses without the header set.
Any thoughts on the topic would be greatly appreciated...
Thanks,
justin
Justin Ruthenbeck
Software Engineer, NextEngine Inc.
[EMAIL PROTECTED]
Confidential -
See http
be greatly appreciated.
- Jeff
Justin Ruthenbeck
Software Engineer, NextEngine Inc.
[EMAIL PROTECTED]
Confidential -
See http://www.nextengine.com/confidentiality.php
--
To unsubscribe, e-mail: mailto:[EMAIL
people on this list have with the integration of the
two, I would venture to say that opinion is probably in the majority.
Perhaps someone else has some more complete thoughts for you...
justin
- Original Message -
From: Justin Ruthenbeck [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL
At 01:42 PM 12/16/2002, you wrote:
The fact that the add() method is syncronized has no impact on this -
only one request is updating at a time. However, later when you ask for
the value that was updated, you only get the second value because there
is only one trafficCop object to get updated
At 11:00 AM 12/13/2002, you wrote:
* For the servlet node:
* Is the servlet-name attribute merely an ID?
* What is the display-name attribute for?
The servlet-name attribute is a UNIQUE user-defined name that you use to
identify that particular servlet. This value must match
All --
Tomcat 4.0.3 (integrated jBoss)
Apache 2.0.40
jk
JDK 1.3.0
We're using jBoss/Tomcat to provide a web front-end to a java application
which can generally be considered stand-alone. Normal requests are
processed by this application and return quickly, but we occasionally run
into
Simon --
If the files you're reading and writing are truly temporary files, there's
an attribute available from the ServletContext called
javax.servlet.context.tempdir which provides a java.io.File object of a
directory that is unique to the context your code is running in. So, for
example,
Looks like you haven't set up Apache to forward requests that match
www.myhost.com/Project/DoStuff to jk2. There are a number of different
overall designs to do this depending on your app, other apps running, and
how you've organized your resources. I use jk (not jk2), so I don't know
the
jsp:include page=/Include/Login/logincontrols.jsp flush=true /
jsp:param name=testing value='yes'/
/jsp:include
You closed the tag on the first line (extra /). Amazing what a second pair
of eyes can see (or, in this case, an extra 2k pairs!) :)
And single quotes around value='yes'
As I'm sure you know, doing this would be extremely thorny, but there's no
reason you couldn't. I can think of a couple cases (dynamically generated
JSPs, JDOs for dynamically created tables) where it could even border on
usefulness. While you can't modify a class that has already been
Assuming you really can't do it in a single query, and assuming you don't
want/can't use a stored procedure, it wouldn't be considered rudimentary to
bring all the data from the first ResultSet locally and walk through it
later ... this is what a disconnected RowSet does. Remember also that
(In response to Noah Davis)
At 05:55 AM 11/21/2002, Yoav Shapira wrote:
Basically, we develop all of our applications under contexts. Each one
a
separate context. When they go live, they go to the default context so
users
don't have to request everything with /context/blah. This means that
if
Are you sure that the URLs (server names) used to access both the JSP and
Servlet are the same? For example, if you access the jsp with
http://www.site.com/my.jsp and access the servlet from the browser with
http://localhost/my.jsp, you'll see exactly what you're describing below.
Can you
/servlet-name
servlet-classC2/servlet-class
/servlet
servlet-mapping
servlet-nameC2/servlet-name
url-pattern/controller/url-pattern
/servlet-mapping
I do not use URL rewriting.
Thanks again,
-FB
On Tuesday, November 19, 2002, at 02:33 PM, Justin Ruthenbeck wrote
I've never tried (or seen anyone) using File.separatorChar in this case --
not that that definitively means anything :) -- but try using /
instead. It'll work platform independently because the reference is
internal to the JVM and doesn't go into the native file system.
Other than that, this
Write a servlet that calls each of the startup classes you need to run and
set it up in your web.xml. Maximum portability, minimum work.
justin
At 06:23 PM 11/19/2002, you wrote:
Hi All,
I am using tomcat 4.1. I am a newbie to tomcat. We are
off-loading most of our stuff from weblogic to
Noah --
I don't really see how doing
form action=/context/doThis method=post
makes your app dependent on your context ... it makes your app dependent on
the _name_ of your context, but not anything else about your context. If
you move your app around to other appservers, you'll always have
Look at any of the emails sent from the list at the following headers:
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
Precedence: bulk
List-Unsubscribe: mailto:tomcat-user-unsubscribe;jakarta.apache.org
List-Subscribe: mailto:tomcat-user-subscribe;jakarta.apache.org
List-Help:
... and check out this thread, which goes into extreme detail and a couple
different ways to do it...
http://www.mail-archive.com/tomcat-user;jakarta.apache.org/msg68849.html
justin
At 04:43 PM 11/7/2002, you wrote:
Hiya Garrett,
You're not guaranteed to have a filesystem to read files from.
?
A. confirmation.txt
B. ../../../../confirmation.txt
C. other (write in __ ).
PLEASE SEE MY PREVIOUS POST FOR A MORE CONCISE EXPLANATION!
--- Justin Ruthenbeck [EMAIL PROTECTED] wrote:
... and check out this thread, which goes into extreme detail and a couple
different ways to do
For simple applications in development, you're right -- there is no
technical roadblack that prevents you from comingling your source and
compiled classes, modifying Tomcat's classpath so that the default
classloader finds them, and running your app. However, no one (or very
few) do this
Ahh... so (if I read this correctly), you've got your application always
installed on a system in a certain directory structure that is independent
of Tomcat. Then there's some element that is a web application that some
clients get/activate. You want to keep all your stuff together and
Jeff --
This may be a bit simple minded since I don't understand your entire
situation there, but it doesn't sound like you're interested in protecting
these JARs in the first place (hence you don't need HTTPS for them). Why,
then, do you even need to make sure the user is authenticated (ie
This is a perfect situation for jsp pre-compiling before releasing your
app. Check the archives as there have been numerous threads discussing how
to do this...
justin
At 12:26 PM 10/15/2002, you wrote:
Hi all,
i wanted to know if it is possible to tell tomcat NOT to reload the jsp
pages in
He's refering to the fact that Tomcat persists sessions before redeploying
a context (either when requested explicitly or if you've got
reloadable=true set). If anyone knows how to do this, I'd appreciate the
tip ... we have non-serializable objects (they are not serializable by
design)
it also compile the others as well? Or would you compile
the root first then the other directories again separately?
Thanks,
Kam
On 10/9/02 11:02, Justin Ruthenbeck [EMAIL PROTECTED] wrote:
I've seen this as well and worked around it by compiling each directory
(mail, messageboard, etc
from that I could have changed?
Thanks in advance.
Shaun
- Original Message -
From: Justin Ruthenbeck [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, October 07, 2002 10:20 PM
Subject: Re: How to specify the location of a properties file.
Niaz
I've seen this as well and worked around it by compiling each directory
(mail, messageboard, etc) with separate calls to jspc (and changing the
target package name). Would love it if I missed a built-in way to handle
this, but I couldn't find it either.
justin
At 06:34 PM 10/8/2002, you
Shaun --
Consider dynamically loading the properties file from your classpath using
a class loader. This way, you can put the files anywhere you please and
just include that directory in your classpath (or put them someplace
already in your classpath). If you need more specifics, let me
definitely be helpful.
I thank you in advance.
niaz.
- Original Message -
From: Justin Ruthenbeck [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, October 07, 2002 4:06 PM
Subject: Re: How to specify the location of a properties file.
Shaun --
Consider
Before you dig into this too much, I'd suggest writing a simple servlet
that returns just simple text (set the content type to text/plain and
just output Strings of text). Set the buffer size to something normal (say
4k). Try flushing your PrintWriter/OutputStream after each String and see
Tomcat won't recompile the jsp unless it sees that the jsp has changed...
and following includes would be quite a bit of overhead to check every
time. If you know precisely which jsp you want to compile, you can touch
the file to change the date on the file... this will cause a
recompile.
101 - 200 of 211 matches
Mail list logo