PrintWriter is a part of the Java.io package. (not org.apacke.jsp).
http://java.sun.com/j2se/1.3/docs/api/java/io/PrintWriter.html

import it in your jsp.

hope it helps
-reynir


-----Original Message-----
From: Wagoner, Mark [mailto:[EMAIL PROTECTED]]
Sent: 18. janúar 2002 14:23
To: 'Tomcat Users List'
Subject: RE: JSP Won't Compile Under Tomcat 4


I'm not importing it because I am not using directly.  Tomcat is
throwing
the error when it is invoking its internal JSP compiler.

To be honest, I don't even know which JAR file the org.apache.jsp
package is
in.

-----Original Message-----
From: Justin Rowles [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 18, 2002 9:17 AM
To: 'Tomcat Users List'
Subject: RE: JSP Won't Compile Under Tomcat 4


> An error occurred at line: 18 in the jsp file: /error.jsp
> 
> Generated servlet error:
> D:\Tomcat\work\localhost\_\error$jsp.java:64: Class
> org.apache.jsp.PrintWriter not found.
>                  exception.printStackTrace(new PrintWriter(out)); 
>                                                ^
> 1 error

Is PrintWriter found in the org.apache.jsp package?

If not, where is it?

Now, have you imported it?

Justin.
-- 
You're only jealous cos the little penguins are talking to me. 



***************************************************************
For more information on Ordnance Survey products and services,
visit our web site at http://www.ordnancesurvey.co.uk
***************************************************************




--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to