Don't look too hard i assure you it's not the jsp but instead something to do with tomcat setup.
-brian /************ index.jsp ************/ <%@ page import="java.io.*,java.util.*,java.sql.*" %> <%! public final boolean debug=true; public final String propertiesPath = "E:\\csc\\513\\htdocs\\WEB-INF\\classes\\animeDB.properties"; private Properties properties;//properties for sql and news letter mappings private DataConnectionBean dbBean; public void debugMsg(String msg,JspWriter out) throws IOException{ if (debug) { out.println(msg); } } public void jspInit(){ properties = new Properties(); dbBean = new DataConnectionBean(); try { properties.load(new FileInputStream(propertiesPath)); dbBean.load(properties); } catch (IOException ioe) { System.err.println("could not load sql properties file"); ioe.printStackTrace(System.err); } } private Connection openConnection() throws SQLException { return dbBean.getPooledConnection(); } public void closeConnection(Connection conn) { if (conn!=null) { try { conn.close(); } catch (SQLException sqle) { System.err.println(dbBean); sqle.printStackTrace(System.err); } } } %> <!doctype html public "-//w3c//dtd html 4.0 transitional//en"> <html> <head> <title>< The Animatrix ></title> <link rel="stylesheet" href="/style.css" type="text/css"> </head> <body> <center> <table BORDER="0" WIDTH="800" > <tr> <td> <center> <img src="/pics/logo.jpg" ALT="logo" width="650" height="150"><br> <br> <font color="#00CC00" size="2">[ <a class="toolbar" href="index.jsp">Home</a> ] [ <a class="toolbar" href="dbz.jsp">DragonballZ</a> ] [ <a class="toolbar" href="ranma.jsp">Ranma <font size="-1"><sup>1</sup>/<sub>2</sub></font></a> ] [ <a class="toolbar" href="slayers.jsp">The Slayers</a> ] [ <a class="toolbar" href="order.jsp">Order</a> ]</font> <hr noshade> </center> </td> </tr> <tr> <td> <center> Welcome to The Animatrix! </center> <br> <br> Here we offer newest and best products based on every FanBoy's™ favorite anime series. Just follow the links to get to the individual products.<br> <br> <center> The Animatrix<br> 12345 Geek Ln<br> Silicon Valley, CA 90210 </td> </tr> <tr> <td> <hr noshade /> </td> </tr> </table> </center> </body> </html> /************ end index.jsp ***************/ ----- Original Message ----- From: "Manu KY" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, October 04, 2001 3:17 AM Subject: Re: Odd exception > Hi, > please paste the offending code. > Manu > >2001-10-04 02:45:40 - Ctx() : Exception in R( + /index.jsp + null) - > >java.lang.NullPointerException > > at java.io.Writer.write(Writer.java:129) > > at > >org.apache.tomcat.modules.loggers.AccessLogInterceptor.beforeCommit(AccessL o > >gInterceptor.java:241) > > at > >org.apache.tomcat.core.OutputBuffer.realWriteBytes(OutputBuffer.java:184) > > at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:360) > > at org.apache.tomcat.core.OutputBuffer.flush(OutputBuffer.java:315) > > at org.apache.tomcat.core.OutputBuffer.close(OutputBuffer.java:305) > > at org.apache.tomcat.core.Response.finish(Response.java:271) > > at > >org.apache.tomcat.modules.server.Ajp13Response.finish(Ajp13Interceptor.java : > >331) > > at org.apache.tomcat.core.ContextManager.service(ContextManager.java:836) > > at > >org.apache.tomcat.modules.server.Ajp13Interceptor.processConnection(Ajp13In t > >erceptor.java:193) > > at > >org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:477) > > at > >org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.ja v > >a:517) > > at java.lang.Thread.run(Thread.java:484) > > > > > >What causes that? > > > >Thanks, > > > >Brian > > > >Apache 1.3.6/Tomcat 3.3rc1/Windows 2000/jdk1.3.1 > > > _________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com > > >