tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob Cartier" <rcart...@snet.net>
Subject Help: logging fails under mod_jk
Date Sun, 29 Dec 2002 18:59:43 GMT
I have a very simple peice of code that is in my jsp

<%
System.out.println("JSP======> " + request.getRemoteUser() + "|" +
request.getRequestURI()
+ "|" + request.getRemoteAddr() + "|" + new java.util.Date().toString()
+ "|" + request.getHeader("User-Agent") );
%>

This worked fine under mod_webapp but no generates some really weird results
when I switched over to mod_jk

I get

JSP======> null|ml PUBLIC "-//W3C//DTD HTML 4.01|ansitional/|Sun Dec 29
13:50:10 EST 2002|  <tr>
            <td width="100%" colspan="2" height="95"
==========================================================

I used to get

JSP======> null|/fsa/index.jsp|192.168.1.2|Thu Dec 26 18:35:43 EST
2002|Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Q312461)

any ideas would be really helpful

Otherwise it appears my mod_jk is working ??


Rob



--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message