The other way to do it would be to check the referer page, this seems to
be quite a common trick and will confound most people trying to link
directly to your images (which is what I imagine you're trying to
prevent). There may be a more elegant way of doing it, but you could
create a servlet
Make the logger static? Effectively the same as you're creating it from
the class name anyway, and avoids attempts to serialize it as it's not
attached to an object of any kind.
Tom
Karr, David wrote:
I'm using JDK 1.4.1, and Tomcat 4.1.24.
I was seeing a strange situation where some
I find it unlikely that a path like that ever worked on any system.
You're sending parameters to a server, so the code that needs to read
the .war file is running remotely. There is no way that the remote
server will understand your 'C:/path/.../foo.war', it simply doesn't
exist there. You
Um, have you actually read the documentation? If you had then you would
have seen references to WEB-INF directories, web.xml files and suchlike.
I strongly suggest that you go read the docs that came with tomcat
before asking questions to the list.
Cheers,
Tom
Jaicey Ouseph wrote:
I have
Create a container object, which is serializable and put a member
reference within it to your IMAPSession, marking this as transient.
public class MyContainer implements Serializable {
public transient IMAPSession mySession;
}
Tom
Luminous Heart wrote:
I only add the imap session to the
bits of kit so it's entirely likely you don't.
Hope that's of some help,
Tom
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
Re: Can two tomcats back each other up on one machine?,
Tom Oinn
RE: Can two tomcats back each other up on one machine
, or that they are
thread safe, as you have no control over when they are accessed.
Exactly why you are getting two invocations of your doPost() call is
unclear, it depends on what is trying to access it, but this kind of
behavior is common and intentional.
Hope that helps,
Tom Oinn
--
To unsubscribe, e-mail: mailto
Vincent Stoessel wrote:
Hello All,
I was wondering if there were any projects out there that provided any
kind of database-html templating. I need the ability quickly create
web pages that allow users to create/retrieve/update/delete rows
from tables that I will be creating. I am
Hi,
We're going to need some details of your environment, os and suchlike.
Do you have any other servers running on this machine?
Tom
Gary Frick wrote:
Hi All,
I've been working day and night trying to get Tomcat started and to get past the
HTTP 500 error when trying to invoke the
Amrinder Singh wrote:
hi i've downloaded the mysql and loaded the driver(mm.nysql) driver for it.If i try
to use it in a regular program without involving the server(tomcat3.2.1) it works
fine . i can get the resultset etc which is fine. But when i created another
applicatoin which
yilmaz wrote:
Hi everybody,
I am using tomcat4 on win 2000.
I have searched all the archives and almost all websites related with java,
to no avail.
My problem is manupulating images via servlets on Tomcat.
In fact , there are tons of examples on the internet and on the archives
Serge A. Redchuk wrote:
Hello All !
I want to use some of Swing classes like
import javax.swing.tree.TreeModel;
import javax.swing.tree.TreePath;
by tomcat in environment where no X-server running.
snip
Huh !! I do not need X-server !!! I just want to use a pair of Swing
Thomas Stiller wrote:
After having started Tomcat 4.0.2 I entered
the URL
localhost:8080
into my browsers URL entryfield.
Surprisingly it is not automatically expanded to
http://localhost:8080
but gave an error (page not found)
With other URLs in the outside internet world(when I am
Randy Layman wrote:
-Original Message-
From: Zoko, Anthony [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 19, 2002 8:32 PM
To: [EMAIL PROTECTED]
Subject: Tomcat in an academic development enviroment
1) How do I isolate student applications into there own
process
Dean Hiller wrote:
I have
redhat linux 7.1
jdk1.3.1_02
tomcat 4.0.1
tomcat works, BUT all images come across corrupted on IE and netscape. Is there a
bugfix/work around to fix this problem.
I believe this is covered elsewhere on the list, recently, and has
something to do with the
[EMAIL PROTECTED] wrote:
hi
i'm new to servlets and JSP ...well i have installed tomcat in C:\tomcat
and have set the JAVA_HOME in tomcat\bin\tomcat.bat to C:\jdk1.3.1
when i try to start the tomcat from MS-DOS from bin subdirectory a new window starts
and disappears...(I Think this is
java programmer wrote:
snip
webapps should never have made it
into the spec. Name three well known
web sites running in a mass virtual hosted
environment and deployed as webapps with
a web.xml file to boot ! Hell, name *any*.
/snip
Hi,
We're the main european hub for bioinformatics
could set up a
dummy context with access restricted to localhost that contains your
configuration files.
Hope this helps,
Tom Oinn
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]
Y.H.Liu wrote:
Hi friends,
Is there any utility that can help to analyze the log file of Tomcat, such
as webalizer for Apache?
Thanks in advance.
You could take a look at awstats, if you have tomcat-4 and set the log
format to 'combined' then this works just fine out of the box,
is not null and equal to true and Boolean.FALSE otherwise.
The 'booleanValue' creates a primitive type from this. BTW - 'new
Boolean(false)' is not all that good an idea, use
'Boolean.valueOf(false)' instead, as this avoids the overheads of object
creation etc.
Tom Oinn
machines and it seems simple and secure enough.
Tom Oinn
--David Smith
On Wednesday 12 September 2001 05:32 pm, you wrote:
Hello,
I'm setting a pair of machines, one of which is running tomcat, and the
other of which is running apache. I am using ajp13 to connect the two
machines, and am
Elm Gysel wrote:
That page has 4 links of its own and 3 of them give you jsp errors.
I'm not sure if I would join that project tho :)
Greetings from Belgium!
Elm
- Original Message -
From: Kaneda K [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, September 12,
22 matches
Mail list logo