to the forwarding of the request.
Thank you, Yansheng.
Tim
-Original Message-
From: Timothy Stone [mailto:[EMAIL PROTECTED]
Sent: April 15, 2004 14:45
To: Tomcat Users List
Cc: [EMAIL PROTECTED]
Subject: Re: RequestDispatcher and pageEncoding question...
Timothy Stone wrote:
Timothy
List,
A servlet I am debugging and trying to understand sets the response's
contentType as follows:
response.setContentType( text/html;charset=UTF-8 );
Shortly following the following forward is done:
request.getRequestDispatcher( jspPage ).forward( request, response );
Timothy Stone wrote:
List,
A servlet I am debugging and trying to understand sets the response's
contentType as follows:
response.setContentType( text/html;charset=UTF-8 );
Shortly following the following forward is done:
request.getRequestDispatcher( jspPage ).forward( request, response
Timothy Stone wrote:
Timothy Stone wrote:
List,
A servlet I am debugging and trying to understand sets the response's
contentType as follows:
response.setContentType( text/html;charset=UTF-8 );
Shortly following the following forward is done:
request.getRequestDispatcher( jspPage ).forward
at
org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.
java:193)
...
*The very same app runs from /tmp*
Any ideas... as I said, I 777 the dev tree, no luck.
Many thanks,
Tim
-Original Message-
From: Timothy Stone [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 03, 2004 2:11 PM
To: Tomcat
Timothy Stone wrote:
Yansheng Lin wrote:
What's the console output? how far did you get before you encounter that
specific error? Sounds to me like a mis-configuration of the context
path
problem. You sure you have the right deploy descriptor in your war file?
well, it some sort
List,
I did an archive search. Nothing meaningful returned, so I'm posting
what must be a regular question.
I can get a development tree to install via the Manager interface, but I
can't get it started. This seems to be a UNIX problem at the moment.
For example on Windoze:
Install directory
List,
I must be too close to the problem, having a background in managing
Tomcat on Linux, I can't seem to figure out what is so drastically
different about Tomcat on Windows that logging doesn't behave the same.
Specifically:
c:\%tomcat_home%\bin\startup.bat
runs in a separate window
Yiannis Mavroukakis wrote:
Install the pcre (Perl Compatible Regular Expressions)libs..either via rpm
*retch*
or download and build the source from
sourceforge(http://sourceforge.net/projects/pcre/)
Yiannis
PCRE should build out of the box in Red Hat 8+. It did on Mac OS X.
For Mac OS X, it was
David Grant wrote:
Hello,
I am using a preety good but rather old HOWTO and I now need to connect
apache to tomcat, so that apache acts as the web server and tomcat handles
jsp's and servlets. I've tested it all up to this point and everything is up
and running.
I am using IBM Java2 1.4.1,
Brennon Obst wrote:
Why does it say the following.
start
This is the 2.0.2 release of JK2
You'll find here binaries for Apache 1.3, 2.0 and IIS.
Build under Windows XP, Apache 1.3.27 and 2.0.43, IIS 5.1
* isapi_redirector2.dll is for Microsoft's IIS web server
*
Brennon Obst wrote:
Dear usergroup,
...
When I activated the apache--tomcat connection it took over ALL of the
virtual hosts and was routing them through Tomcat, does anyone know how to
stop that?
Is it my Apache 2 and JK2 connectors, where do I turn now?
Thank you in advance,
I saw this
List,
I have successfully built mod_jk2 on Mac OS X Panther (10.3.2).
I document my success at:
http://forums.serverlogistics.com/viewtopic.php?t=644
*where comments are welcome.* NB: My success in part may be due to using
ServerLogistic's Complete Apache 2.0.48 distro, so it is somewhat
Carlos Cajina - Hotmail wrote:
Hi everyone.
Tryin' to build mod_jk2 for my Slackware box (version 9.1 with reiserfs) I've come to a dead-end, and I would appreciate any help since the documentation I've looked into (including the mailing lists) seems to be out of date regarding the building
...snip instructions...
Ian,
Thank you! Just want'd to pass along some notes from the field on this:
1. Works on RHL8 (psyche).
2. Config:
Binary Tomcat in /usr/local/jakarta-tomcat-4.1.29
Source build of Apache 2.0.48 in /usr/local/httpd-2.0.48
# maybe not the most
Julien,
If I can just provide you some feedback, at least if only to let you
know that someone is reading and following this thread. :)
I'm am trying to do the same, not on Linux but Mac OS X. I'm very
interested in this as well. That said, allow me to provide some comments
on your post:
On Nov 21, 2003, at 9:42 PM, Timothy Stone wrote:
Now, how do I start Tomcat as said user? It seems defeatist, at best,
to have to login as root to start Tomcat. If I set permissions say 750
(rwxr-x---, this permission is shown in the aforemention Mac OS X
directory listing) when I login
I have been devouring /Tomcat: TDG/ by Brittain and Darwin.
I have regularly been using Tomcat for years, but some of security tips
found in this book are valuable gems indeed. One such as installing
Tomcat as a low- or non-privileged user like nobody. I know about the
nobody user, starting
-Original Message-
From: Timothy Stone [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 04, 2003 5:45 PM
To: [EMAIL PROTECTED]
Subject: mod_jk2, load balancing and TC:TDC
What's not clear in the book, or the documentation, is if
mod_jk2 on a given httpd instance autodiscovers other
List,
O'Reilly's new /Tomcat:The Definitive Guide/ is worth the purchase. But
something seems a miss in the chapter on load balancing Tomcats with
mod_jk2.
I want to provide load balancing and failover as illustrated in the book
(pg. 237, fig. 10-2).
For those without the book, here's the
John Turner wrote:
Sheesh...that wasn't the poster's point. The point was: the
pronunciation is the same as the pronunciation of Apache when the
context is a Native American people.
John
[EMAIL PROTECTED] wrote:
Apache has NOTHING to do with indigenous American people.
It stands for a
Madere, Colin wrote:
Anyone smell revisionist history? :P
Who's revising history?
I first heard the A PAtCHy server story in a course on implementing
web security. I found it humorous, but recall thinking at the time that
I had read elsewhere that it was definitively named for the native
[EMAIL PROTECTED] wrote:
Has anyone used any alternatives to the DBCP with Tomcat because it seems
to get worse and worse as I use it more.
Pete,
Are you asking if there are other connection pool managers other than DBCP?
Yes. Many. Unfortunately, I can only name a couple off the top of my
This issue is archived at:
http://marc.theaimsgroup.com/?l=tomcat-userm=105578975520239w=2
Timothy Stone wrote:
I have to say, the behavior seems almost identical to the described
behavior of RequestDispatcher#include since control is given back to the
forwarding servlet. The subtle differences
List,
I'm having some trouble with using a RequestDispatcher, it works and
doesn't work.
#doPost( req, res )
...
50 Customer customer =
51 Customer.findCustomer( emailAddress, custData);
52
53 if(( customer == null ) ||
54( password == null ) ||
55( !password.equals(
Tim Funk wrote:
It should blow up at line 61. customer is null. Add a line 57.5:
return;
-Tim
I know it's null :) That's the idea of checking to see if the customer
or the password on the request is null, or if the password is incorrect.
Forward the user to the /move/accounts.jsp. The forward is
Shapira, Yoav wrote:
Howdy,
The return; that Tim added is just as important as the null check...
Yoav Shapira
Millennium ChemInformatics
Tim Funk wrote:
It should blow up at line 61. customer is null. Add a line 57.5:
return;
-Tim
I guess that the way I understood forward( req, res) was that
Shapira, Yoav wrote:
Howdy,
I'm attaching a .zip file containing a .war that should help you
convince yourself. I'd attach the .war or the source files directly but
the listserv doesn't like that.
Note the Servlet Specification, v2.3, does not mention whether/when
method the method should return
List,
I'm following a twist on some advice that I got from Yoav Shapira. But
in playing to learn more I ran across something that I have not been
able to solve from reading the documentation.
I want to put the relative path to a user=password property file in the
web.xml. Given:
#web.xml
...
1. Certainly, using a FileXXX class will attempt to interpret the init
parameter value (/WEB-INF...) is an absolute path, because that's how
absolute paths are defined for files.
Thank you again Yoav. The recommendation then is to skip trying to use a
FileInputStream (because the String provided
Gurus,
I'm trying to get a better understanding of the CATALINA_BASE variable.
Here is my dilemma (with ASCII art):
I have a load balanced Tomcat (v4.0.6) configuration on Win2k using
mod_jk + Apache 2. It's all working in a production environment.
However, on occassion, about once a month, I
I've used the jdbc:odbc bridge for Access. Is it possible to do the same
with comma-seperated text files and excel documents?
The details I'll work out. For a simple web page. nothing exciting or
robust. just need to do something quick and dirty with some exported data.
Thanks,
Tim
I'm debugging an web app that seems to hang after three to four logins
are initiated. One possible item to look at is the number of open
connections to the MySQL database. The app was built around a number of
Jakarta technologies about 8 months ago. What's the quickest way to
check the number
Q: where is the proper place for [props].properties files? such as
something that might store username and password pairs. Not the best
practice, but if one wanted to.
Thanks,
Tim
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Shapira, Yoav wrote:
Howdy,
I agree with under WEB-INF as that's a directory the servlet container
will protect for you.
I don't like to put configuration information on the classpath however.
I prefer to access them via other mechanisms, such as the
ServletContext. So I would create a
35 matches
Mail list logo