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 with tomcat 4.1.12

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: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to