Hello,
I have a problem with tomcat and Ie 5.0 on a Mac. I have found the
answer to my problem here:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6983
its says i should:
***
The file to patch is
src/catalina/src/share/org/apache/catalina/util/CookieTools.java
On Mon, 2003-12-08 at 11:53, Atreya Basu wrote:
The only problem with the include directive is that it actually outputs
the result of a jsp rather than just the text. What I want to do is have
some content in a another file, have the two file put together then
compiled.
I don't think this
req.getRequestDispatcher(path/To/servlet)
On Wed, 2003-12-10 at 10:46, Marten Lehmann wrote:
Hello,
What about using one centralized servlet that parses
req.getPathInfo(), sets the language as request attribute
and forwards to the real servlet(s) ?
how is a request-forwarding done?
On Thu, 2003-12-18 at 01:31, Josh G wrote:
Hi All, pulling out copious amounts of hair for this one... here's the code:
%
for (int i = 0; i sectionNames.length; i++ ) {
%
%= sectionNames[i] %_off = new Image();
%= sectionNames[i]
This is what i was telling you before, the attribute has to be either a
expression or a constant, not both. so add the _off.gif part to the
tmp variable before you put it in the tags attribute.
like this:
% String temp = sectionNames[i] + _off.gif; %
image:local file=%= temp % /
thats what i've
On Thu, 2003-12-18 at 20:53, Josh G wrote:
At 11:47 AM 19/12/2003, you wrote:
This is what i was telling you before, the attribute has to be either a
expression or a constant, not both. so add the _off.gif part to the
tmp variable before you put it in the tags attribute.
like this:
%
Is using JNDI to access a file like this a reasonable approach? I just
started using JNDI to name my database connections via a connection
pool. And when i saw the simplicity of accessing the JNDI context within
my java classes, i got to thinking that i should use it to access many
of my
Thanks for the reply. So the next question of course is, what is a
better approach? I understand idea of using putting an object in the
ServletContext during application initialization, but that leads to
other problems.
Well, to be specific, heres the problem i have with that in my
application:
Ok, thanks i will look into the getResource configuration method, it
sounds like that would subsitute for the JNDI lookup cleanly. So one
last thing, if you've got the time. You said:
Having each Bean get its own connection path itself is not clean, but
it's your design, so it's up to you.
so how
On Mon, 2004-11-08 at 09:35, Shapira, Yoav wrote:
Hi,
so how do you handle this? do you pass in the connection info to every
DAO method, like this:
public static Book getBook(String connection, String bookId)
public static void updateBook(String connection, Book book)
that seems tedious,
Thanks again for the help, this approach is very clean, and i'll be
using it.
dave
On Mon, 2004-11-08 at 10:15, Shapira, Yoav wrote:
Hi,
So the intialization of this sington datasource provider occurs the
first time the class is called? and from then on out there's only one
instance of the
I do this:
if (! request.isSecure()) {
response.sendRedirect(https://www.yourdomain.org/your.jsp?;);
}
dave
On Mon, 2004-01-12 at 19:11, Mufaddal Khumri wrote:
Hi,
Have a page First.jsp
When a user comes to http://my.domain.com/First.jsp ... I would like to
redirect him or her to
sorry, forget the ? after the url, that is:
if (! request.isSecure()) {
response.sendRedirect(https://www.yourdomain.org/your.jsp;);
}
On Mon, 2004-01-12 at 23:13, David Evans wrote:
I do this:
if (! request.isSecure()) {
response.sendRedirect(https://www.yourdomain.org/your.jsp
Hello all,
I looked through the list archives and the jakarta docs, but didn't find
any info.
What changes, if any, do i have to make to my tomcat configuration if i
want to upgrade my java SDK. I would like to do this because of the
verisign root certificate expiration.
my versions:
From: jerome moliere [EMAIL PROTECTED]
To: David Evans [EMAIL PROTECTED]
Subject: Re: upgrading java version
Date: 20 Jan 2004 14:48:50 +0100
Thanks for the reply. I understand what you're saying about the
symbolic links, but i'm not currently one. I guess the real question is
how
On Tue, 2004-01-20 at 10:58, Richard S. Huntrods wrote:
David,
First - for your specific versions, all you have to do is upgrade java.
Once that works, you're in business - no changes to Tomcat. This is
because the changes between JDK 1.4.0_01 and 1.4.2_01 should not have an
impact on
Hello All,
I am trying to get ideas on logging, general configurations, best
practices, etc. Currently i use the default tomcat configuration which
sends all catalina logs to $CATALINA_HOME/logs/catalina_log..txt and
sends all System.err.println() and System.out.println() calls to
So is log4j the industry standard for logging in tomcat apps? Is it
what you use?
dave
On Fri, 2004-02-20 at 13:54, Shapira, Yoav wrote:
Howdy,
No, I am doing it through log4j. But would it interested in knowing
anyone
using J2SE 1.5.0 beta logging API. Heard it's the same as log4j in
Having just researched this, here's what i found.
Using a javax.servlet.Filter works very well.
As you say, You check the session for an attribute value that indicates
authentication. in its absence you use a RequestDispatcher to
forward to a login servlet which checks for four cases:
1. no
It sends the System.err and System.out to the context logger, instead of
catalina.out.
dave
On Fri, 2004-02-27 at 18:08, Norris Shelton wrote:
I searched the internet for it, but could not get a clear
definition for it. Does it ignore System.out and System.err
from the context?
---
Wendy,
I set the swallowOutput to true on one of my contexts, and now most of
my logging is going to the automatically rotated context log files. the
only thing showing up in my catalina.out is the startup and shutdown
messages. So if you do this it may eliminate your need to deal with
21 matches
Mail list logo