Tomcat can usually find JSPs very easily. Is welcome.jsp also in
CATALINA_HOME/webapps/onjava/ ? Try the following:
private String target = welcome.jsp;
If 'onjava' is your namespace then this might work.
-Original Message-
From: Jim Si [mailto:[EMAIL PROTECTED]
Sent: 29 August
One note: Windows only makes it look like you have the name Web-inf.
Do a Properties on it (right click, choose properties), and you might
see it is actualy WEB-INF. So, you might be ok. Windows doesn't
change the folder, it just displays it innacurately.
- Jeff Tulley
[EMAIL PROTECTED]
One more nit-pick. As I said earlier, use /servlet/login instead of
servlet/com.onjava.login. Then you can turn off the InvokerServlet,
which could be used for security exploits. Your current mapping (in
your last email) had
servlet-mapping
servlet-namelogin/servlet-name
It's much the same as in Tomcat 5:
HttpSession session = request.getSession(true);
session.setAttribute(foo, bar);
Chitale, Sandip V [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Folks,
Is there a way in Tomcat 3 , when embedded in an application, to create
a HttpSession
Another alternative (depending on your network config, and network policies)
is to upload the file once and rsync the uploaded file to the various
locations.
Tim Funk [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
The client (SWING app) will need to perform multiple HTTP requests to
Yet another one for the FAQ ;-).
An error-page element for a status code of 500 won't be invoked if the
Servlet/JSP throws an exception out of the service method. For that, you
need to have an error-page element with an exception-type, e.g.:
error-page
Like the message says, you need a working compiler (which on Solaris
/usr/ucb/cc definitely isn't ;-). I've never tried it, but I believe that
the Forte (or, rather, whatever it is being called these days) complier can
be used to build gcc. Otherwise, you are stuck with downloading the binary
AFAIK, the latest-and-greatest should still work with 3.2.x.
Armenio Pinto [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi there, can anyone tell me, please, where can I find the most suitable
version of mod_jk to use with Tomcat 3.2.4? Thanks in advance,
Arménio Pinto
Basically: no. The AJP13 protocol (used by mod_jk(2)) currently does not
have an 'authorize' state. The request currently must be handled entirely
either by Apache or Tomcat.
ToFu [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi All,
I've got an app that is configured and working
Eric J. Pinnell wrote:
Hi,
thanks eric,
JK2 should compile with just the following:
./configure --with-apxs2=/path/to/apache/bin/apxs
make
yes ,it should .
but I still can't have this fu... module compiled
It should create mod_jk2.so in the build directory tree not in the
I would strongly advise against using the Swing timer object. Try using a
java.util.Timer object instead. I use this in a servlet to perform
automatic daily backups and other automated tasks.
-
To unsubscribe, e-mail: [EMAIL
Hi,
maybe, someone of you can help me...
I try to port a webapplication from asp to java...
First, I have used Websphere for this and everything worked ok, but then I
decided to use tomcat4 (both under debian-linux)
My problem is the connection to a MSSQL-Database.
As JDBC-Driver I'm
Question: Are you certain that SQL Server is listening on port 1433? I've
seen it using port 1141. Use the SQL Server network utility to check the
TCP port.
- Original Message -
From: Frank von Daak [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, August 30, 2003 10:51 AM
Hi,
Am Samstag, 30. August 2003 12:33 schrieb Christopher Williams:
Question: Are you certain that SQL Server is listening on port 1433? I've
seen it using port 1141. Use the SQL Server network utility to check the
TCP port.
yes, I'm sure it is, because I use the same jsp-file under
I'm using mod_jk2-2.0.43.dll with Tomcat 4.1.27 and everything is working
fine.
Marco
- Original Message -
From: Bill Barker [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, August 30, 2003 4:39 AM
Subject: Re: mod_jk and Tomcat 3.2.4
AFAIK, the latest-and-greatest should still
I have just installed the new version 5 beta
5.0.9. I have been unable to start any v5.0.x version on my system.
The following messages are produced when I run catalina to show the
output. Note that it will not start as a service, or as a startup.bat
command.
One odd thing, after the
Frank,
What linux user are you using to run tomcat and what user was websphere
running under? I am wondering if there are some weird firewalling
issues here that allow websphere to open the socket but not tomcat. It
seems like a networking issue...
Of course, this might be totally the wrong
Timer?
I am not java know-man but with C++ we use thread instead timer because
thread it is more efficient.
Java has thread too and I have some example of thread with java if you want
I can send.
- Original Message -
From: Christopher Williams [EMAIL PROTECTED]
To: Tomcat Users List
We have a bunch of customers using JSP on JDK 1.3.1 / Tomcat 3.1?2? / mod_jk /
Apache 1.3. The default directory setup for these customers is
DIRECTORY http://- path-
-
./site_url/htmlhttp://siteurl
./site_url/jsp
We have a box[P3/700/512MBram] serving JSPs, with about 20 virtual hosts - and
the server comes to a grinding halt after about 12-18 hours. The server gets
about 30K hits per week, so it not exactly overloaded...
versions:
RedHat 7.2
Apache 1.3.20
Tomcat 3.2.1
mod_jk.so
20 matches
Mail list logo