I enter a URL (EG http://server:8080/someServlet?param=value) but
instead of getting the servlet I get the 'default' or 'welcome' page
from the same site. The servlet in question doesn't have anything to do
with the page that is appearing. The servlet does work - why wouldn't it
appear when
Im shopping about for a good server to run tomcat on. Im having a
problem with my existing 700Mhz PIII in that it tends to bog down on
longer processes. I bought it on EBay as a test machine and well.. its
been ok to this point. It has 500 Mb RAM. Im running Tomcat and mySQL on
it and it isn't
Problem: Im trying to use an Applet to interact with my Tomcat code via
sockets to transfer files. I get the following exception:
java.net.ConnectException: Connection refused: connect
and it points to a line in my code where I call
URLConnection::getOutputStream();
All well and good. I can
To: Tomcat Users List
Subject: Re: Trying to get past java.net.ConnectException
If your applet is bombing with java.net.ConnectException, then your
applet is
the problem, not tomcat.
-Tim
jon yeargers wrote:
Problem: Im trying to use an Applet to interact with my Tomcat code
via sockets
I have a tomcat server in a DMZ coming off my firewall machine. I have
permitted traffic to /from port 8080 but am having some connection
problems. Are there other *standard* ports needed for communications
with my server process?
Specifically Im trying to call URLConnection::getOutputStream()
Im using a tomcat installation to do a some JPEG manipulation. From most
machines it works fine but one customer causes this exception when the
image code is hit. Why would different client machines cause problems
running the same code with the same data? Im sure its a UFU but I don't
have a clue
Im wanting to integrate tomcat and Apache on a 'public' server. In the
directions for building mod_jk it states that you need to modify the
build.properties files to point to your apache and tomcat installations
and the use 'ant' to build the code. For obvious reasons I don't have
ant or any
After pounding my head on mod_jk2 for a few days I finally got the
tomcat examples dir to appear.. woot!.. but my apache2 log is filling
with errors v quickly. Can someone shed light on what configuration
problems I have? Surely this isn't the normal output...
[Thu Dec 11 13:51:18 2003]
So your tag would be img src='servlet(params);' alt='something' ?
If you do this do the images get cached by the browser?
It sounds like what you're asking is:
How can you allow users to view images via the app without allowing them
to
look at them directly with a browser?
If that's what
Errr.. right.. to a point - you can store something in the HttpSession
that would indicate that a valid session was underway and to permit the
tag to work. (per YS) In the end _it is_ still just a URL but there are
'other forces at work.'
How does an image get displayed in a page?
1. The
Another method Ive seen is to use an applet to display the images. One
advantage to this is you can display any sort of graphic that you have the
code to work with. You also get around the issue of having a displayed
graphic end up in the cache for the user.
Disadvantage.. well... its an applet..
In what order do the various mod_* bits interact?
Can I use mod_rewrite to setup the URL for passage to mod_jk2?
asbestos underwear
So I get the concept of the garbage collector.. at least in principal..
but what happens to all the memory that gets allocated for a tomcat
session (by a single login) when that session closes or is timed out?
is *everything* from that session decremented so it can be
Im hoping to restrict access to a servlet object by setting a session
attribute in the valid .jsp and looking for it in the called servlet.
Unfortunately the object doesn't seem to be transferring properly.
Are there issues with using:
%
HttpSession sessionObj = request.getSession();
ChemInformatics
-Original Message-
From: jon yeargers [mailto:[EMAIL PROTECTED]
Sent: Monday, January 12, 2004 12:57 PM
To: [EMAIL PROTECTED]
Subject: communication issue between .jsp and servlet
Im hoping to restrict access to a servlet object by setting a session
attribute
:
Howdy,
Are you sure it's the same session? (Check it's ID in the JSP and
servlet).
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: jon yeargers [mailto:[EMAIL PROTECTED]
Sent: Monday, January 12, 2004 12:57 PM
To: [EMAIL PROTECTED]
Subject
enabled in your browser.
On Monday 12 January 2004 01:00 pm, Shapira, Yoav wrote:
Howdy,
Are you sure it's the same session? (Check it's ID in the JSP and
servlet).
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: jon yeargers [mailto:[EMAIL PROTECTED]
Sent
Im doing something (vaguely)similar using Apache2, mod_jk and mod_rewrite.
Im taking the 1st part of the address (http://1.2.3 - the '1') and using
it to determine what db to access. mod_rewrite lets you get v detailed
with parsing the incoming URL. Perhaps you could boil down your efforts
into
Can you be more specific as to whats (not) happening? Are you getting
anything? How are you calling it?
-Original Message-
From: Josh G [mailto:[EMAIL PROTECTED]
Sent: Monday, February 09, 2004 3:59 PM
To: [EMAIL PROTECTED]
Subject: Image download?
Hi, I have a servlet that's trying
19 matches
Mail list logo