-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ron Brennan wrote:
Originally I thought there'd be someone with a quick answer - I
didn't mean to take up anyone else's time doing research.
Tomcat is being started from Apache, so the command line idea won't
work. I'll just have to dig more through the Tomcat docs. I'll post
here when I find it. Thanks.
Hi,
I played with Tomcat a bit under Windows one time and, in all cases, I
started Tomcat with a console window. System.out.prin tln() sent the
string to this console. If there's no console, and the string isn't
getting sent to a file, I suspect it's probably being blackholed. If
you really need System.out, you can try redirecting it to a file from
within your servlet itself, using System.setOut() , although I'm not
sure if the servlet security manager allows that or not. Otherwise,
try creating your own stream to a file and call it something like
"out". Then just use it instead of System.out.
- --
Chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQE/I83wwxczzJRavJY RAp1bAKC4+N6GvR BQX/vloBd1UnKlL1iT6 QCgoaZZ
kz4K5PhbFGKFfG0 K+PGGTrg=
=mzkM
-----END PGP SIGNATURE-----