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, Sat
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
Subjec
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
ue"
I 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
-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: OutOfM
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; filen
thread' 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
initialisation stuff there I guess.
Regards...
Arup Vidyerthy
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 27 July 2005 14:41
To: tomcat-user@jakarta.apache.org
Subject: Instantiating an Application Scoped Bean
Hi,
I need some help on the following scenario:
As
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:
default
org.apache.catalina.servlets.DefaultServlet
debug
0
listings
false
1
Notice the listing is switched o
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 c
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-
From:
opefully this will cure the problem.
I just thought I will post this just in case some of you are seeing similar
problems in your app.
Good luck.
Arup
-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: 20 July 2005 17:45
To: Tomcat Users List; [EMAIL PROT
Hopefully this will cure the problem.
I just thought I will post this just in case some of you are seeing similar
problems in your app.
Good luck.
Arup
-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: 20 July 2005 17:45
To: Tomcat Users List; [EMAIL PROT
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 (UN
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
>
>
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 tomcat
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 Message-
Have look at these two links:
http://web.bvu.edu/staff/david/index.jsp?section=software&subsection=tcservc
fg&page=overview
http://web.bvu.edu/staff/david/index.jsp?section=software&subsection=jsm&pag
e=overview
Thanks...
Arup
-Original Message-
From: Ashish Kulkarni [mailto:[EMAIL PROT
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: Servl
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]
> Subje
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 li
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]
Sent:
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:
be there is a way to change 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
>
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 sure
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
in
se
older 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
PROTECTED] [mailto:[EMAIL 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
xt.
I 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:
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 Vidy
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
Doe
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 ema
p needs to work on his social skills. We're 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]>
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 si
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
-Origin
41 matches
Mail list logo