Steve,
We have a similar requirement in that everything stored in the DB has to
UTF-8. Well, to address this we have written an UTF-8 Filter which
implements the Filter interface. All you need to do there is set the
character encoding to UTF8. The class looks like this...
public class UTF8Filter
Yes, all you need to do is get the Tomcat System class loader to load it.
If you are on Windows put these extra jar files as class path entries inside
the setclasspath.bat file. On Linux either setclasspath.sh or catalina.sh
Hope this helps...
Arup
-Original Message-
From: Narayan,
Why would anybody want that? You should be writing your application in Java
:-D
Sorry couldn't help. And no, I do not know if Tomcat can support .asp!
Arup
-Original Message-
From: Trung Nguyen [mailto:[EMAIL PROTECTED]
Sent: 12 May 2005 14:36
To: tomcat-user@jakarta.apache.org
I am not sure if this can be done... I guess you could build framework where
the user's session id and ip is logged (unless they logout) and then when
the user comes back you could use the old session. I have never tried this
but this personally but I dont see why it should not work.
Arup
...
But, if instead you wanted to have a session that wasn't linked to tomcat's
notion of a session, you could (maybe) build a separate Session management
that was stored in a regular (non-session) cookie -- it would
then persist across sessions in the same browser...
Tim
Arup Vidyerthy wrote:
I am
would be ever so greatful if anybody could shed any light or share their
experiences with me.
Kind regards...
Arup Vidyerthy
total 4240
-rw-r--r-- 1 root root 478024 Jun 13 20:49 c3p0-0.9.0-pre4.jar
-rw-r--r-- 1 root root 1848328 Jun 13 20:49 castor-0.9.7.jar
-rw-r--r-- 1 root root 31605 Jun 13
-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: 20 July 2005 17:14
To: Tomcat Users List
Subject: RE: OutOfMemoryError
WebappClassLoader.openJARs(WebappClassLoader.java:1544)
From: Arup Vidyerthy [mailto:[EMAIL PROTECTED]
Subject: FW: OutOfMemoryError
Strange... I have identical code and it works IE and FireFox.
This is how write it out into the response stream
// set up the response header with the content type, the file name and
// the file size
//
res.setContentType(application/zip);
res.setHeader(Content-disposition, attachment; filename=
' It happened to us in our application when we
used the -Xss parameter to override the default stack size to 128K.
Regards...
Arup Vidyerthy
-Original Message-
From: Darryl L. Miles [mailto:[EMAIL PROTECTED]
Sent: 27 July 2005 12:03
To: Tomcat Users List
Subject: Re: setting -Xss option and its
-nameApplicationStartup/servlet-name
url-pattern/startup/url-pattern
/servlet-mapping
This tells tomcat to run that servlet when Tomcat first intialises the
context. You can put all your initialisation stuff there I guess.
Regards...
Arup Vidyerthy
-Original Message-
From: [EMAIL
Guys, just for completeness, I thought I would stick this in here. This is
for Linux.
http://cymulacrum.net/writings/tomcat5/c875.html
-Original Message-
From: Asif Chowdhary [mailto:[EMAIL PROTECTED]
Sent: 28 July 2005 17:04
To: Tomcat Users List
Subject: RE: TC Apache integration
In your TOMCAT_HOME/conf/web.xml there is some stuff that looks like this:
servlet
servlet-namedefault/servlet-name
servlet-classorg.apache.catalina.servlets.DefaultServlet/servlet-class
init-param
param-namedebug/param-name
param-value0/param-value
Of course. Go have a look at apache axis.
Arup
-Original Message-
From: Pradeep Chauhan [mailto:[EMAIL PROTECTED]
Sent: 08 August 2005 15:36
To: tomcat-user@jakarta.apache.org
Subject: Webservice + tomcat or any websphere
Hi,
Is Tomcat support webservices? If yes then how we can
In the bin directory you will find a service.bat file. That should allow you
to install it as a service. Or you alternatively you can have a look at the
Java Service Wrapper project on sourceforge
(http://sourceforge.net/projects/wrapper/). That's also pretty good.
-Original Message-
: OutOfMemoryError
WebappClassLoader.openJARs(WebappClassLoader.java:1544)
From: Arup Vidyerthy [mailto:[EMAIL PROTECTED]
Subject: RE: OutOfMemoryError
WebappClassLoader.openJARs(WebappClassLoader.java:1544)
Any pointers in terms of how I should approach this problem...?
I'd raise
: OutOfMemoryError
WebappClassLoader.openJARs(WebappClassLoader.java:1544)
From: Arup Vidyerthy [mailto:[EMAIL PROTECTED]
Subject: RE: OutOfMemoryError
WebappClassLoader.openJARs(WebappClassLoader.java:1544)
Any pointers in terms of how I should approach this problem...?
I'd raise
Samara,
If your logout is a 'post' then when the user hits the back button he/she
should see a session expired message.
Arup
-Original Message-
From: Samara, Fadi N Mr ACSIM/ASPEX [mailto:[EMAIL PROTECTED]
Sent: 09 August 2005 15:03
To: 'Tomcat Users List'
Subject: Session lifecycle
If he doesn't listen - just tell him he is a buffoon!
-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: 09 August 2005 16:54
To: Tomcat Users List
Subject: RE: R: JSTL Question
From: Tom Spence [mailto:[EMAIL PROTECTED]
Subject: Re: R: JSTL Question
I
Looks like your server.xml syntax is not correct. You will need to look
through it figure it out...
-Original Message-
From: Kuruganti, Lakshmi, ALABS [mailto:[EMAIL PROTECTED]
Sent: 18 August 2005 14:03
To: tomcat-user@jakarta.apache.org
Subject: tomcat 4.1.31
Hi,
I am new to
Does it not increment at all or does the increment counter gets reset and
starts all over again from 0. Basically if you want to keep the counter
incrementing everytime you access that page (or hit that that servlet) you
need to make it a static variable in your servlet/jsp.
-Original
Have look at these two links:
http://web.bvu.edu/staff/david/index.jsp?section=softwaresubsection=tcservc
fgpage=overview
http://web.bvu.edu/staff/david/index.jsp?section=softwaresubsection=jsmpag
e=overview
Thanks...
Arup
-Original Message-
From: Ashish Kulkarni [mailto:[EMAIL
Hey dude, stop moaning and read the bottom of the email!! Come on - little
bit of proactive intuitiveness is all that required here!!
-Original Message-
From: Hildegard Bronkhorst XH (ZA/ESA)
[mailto:[EMAIL PROTECTED]
Sent: 02 September 2005 07:50
To: Tomcat Users List
Subject: RE:
I think you can't have that file there as the war files have to follow a
certain structure.
-Original Message-
From: Ben Wong [mailto:[EMAIL PROTECTED]
Sent: 06 September 2005 15:56
To: tomcat-user@jakarta.apache.org
Subject: tomcat war expansion fails on .cvsignore file
Hi,
I have a
regards...
Arup Vidyerthy.
-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: 06 September 2005 15:54
To: Tomcat Users List
Subject: RE: Tomcat/JVM hangs in session.getAttribute / HashMap.get()
From: Leon Rosenberg [mailto:[EMAIL PROTECTED]
Subject: RE
Guys,
I use a synchronised HashMap like Chuck is suggesting here and I have to say
it's absolutely fine. We have an application here with hundreds of users
logging in and doing stuff concurrently and I have seen no negative impact
on performance. So basically you either do that or use something
Hi,
You have quite a few options. There are lots third party libs out there that
can do this for you. Last couple of projects I have used JAI and
ImageMagick/JMagick to do this.
Look them up.
Hope this helps.
Arup
-Original Message-
From: Justin Jaynes [mailto:[EMAIL PROTECTED]
Sorry for being nosy but can I ask you exactly why do you want these
directories in different palces so that I can understand your problem a
little more?
-Original Message-
From: Krzysztof Graczyk [mailto:[EMAIL PROTECTED]
Sent: 20 September 2005 15:44
To: Tomcat Users List
Subject:
it tomcat sources ?
-Tim
Krzysztof Graczyk wrote:
Arup Vidyerthy wrote:
Sorry for being nosy but can I ask you exactly why do you want these
directories in different palces so that I can understand your
problem a little more?
Yea, I have to change configuration scripts (server.xml
Actually that's how it works. You have to send encrypted messages to it over
an encrypted network using 2.6987Ghz frequency. Only then does it run.
Surprised its not in the manual.
-Original Message-
From: Lenandlar Singh [mailto:[EMAIL PROTECTED]
Sent: 21 September 2005 16:19
To: Tomcat
Haven't really thought it through as I just woke up :-)
However, I don't see why couldn't write a filter that filters all request.
It checks the DB connection and if it isn't there it just simply forwards
the user to an appropriate page.
As to making the whole web app unavailable - I am not
Look up allowLinking = true in google.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 28 September 2005 10:42
To: tomcat-user
Subject: pointing to a folder outside tomcat webapps
I'd like pointing a foder outside webapps tomcat folder.
I know that with
outside tomcat webapps
I kwnow that.
I want to use the file META-INF/context.xml inside the application for
pointing to another resource.
I do not want use server.xml!
-- Initial Header ---
From : Arup Vidyerthy [EMAIL PROTECTED]
To : Tomcat Users List tomcat-user
PROTECTED]
Sent: 28 September 2005 11:22
To: tomcat-user
Subject: RE: pointing to a folder outside tomcat webapps
could u be more explicit please?
I cannot understanding u
-- Initial Header ---
From : Arup Vidyerthy [EMAIL PROTECTED]
To : Tomcat Users List tomcat-user
need more than one context.
Hot to do it?
-- Initial Header ---
From : Arup Vidyerthy [EMAIL PROTECTED]
To : Tomcat Users List tomcat-user@jakarta.apache.org
Cc : Date : Wed, 28 Sep 2005 11:27:25 +0100
Subject : RE: pointing to a folder outside tomcat
Install it under a different name
-Original Message-
From: Jens Nordberg [mailto:[EMAIL PROTECTED]
Sent: 28 September 2005 15:13
To: tomcat-user@jakarta.apache.org
Subject: Multiple tomcat services?
Hi, I'm trying to install multiple tomcats on my machine, which works quite
well except
Subject: RE: Multiple tomcat services?
How do you mean? The install program for Tomcat 5.5.9 doesn't allow me to
change the name, or does it? As far as I can tell, I can only specify
install directory, HTTP port, user name, password and jre.
/Jens
-Original Message-
From: Arup Vidyerthy
This is vague!! Recommended production settings for what exactly...? I would
think it varies from application to application.
-Original Message-
From: Pitre, Russell [mailto:[EMAIL PROTECTED]
Sent: 06 October 2005 14:21
To: tomcat-user@jakarta.apache.org
Subject: Production Settings
Why don't you use your eyes and read the bottom of the email. Or is that too
difficult?
-Original Message-
From: Leon Rosenberg [mailto:[EMAIL PROTECTED]
Sent: 07 October 2005 15:39
To: Tomcat Users List
Subject: RTE - Meridian Club [EMAIL PROTECTED]
can someone please remove this
all here trying to help each
other, not to attack each other.
-Original Message-
From: Leon Rosenberg [mailto:[EMAIL PROTECTED]
Sent: Friday, October 07, 2005 7:51 AM
To: Tomcat Users List
Subject: Re: RTE - Meridian Club [EMAIL PROTECTED]
On 10/7/05, Arup Vidyerthy [EMAIL PROTECTED
Somehow my apologetic message hasn't been delivered by the mail server as
yet.
-Original Message-
From: Arup Vidyerthy [mailto:[EMAIL PROTECTED]
Sent: 07 October 2005 16:11
To: 'Tomcat Users List'
Subject: RE: RTE - Meridian Club [EMAIL PROTECTED]
Guys,
My sincere apologies!! You see
Or if you don't want to do what Darryl is suggesting you can configure your
tomcat to use unix symlinks by setting the allowLinking attribute to true.
Then you can simply create a softlink inside your webapp directory that
points to your data directory.
That will work as well.
Arup
41 matches
Mail list logo