Hello,
In a JSP page, I have a method a bit like this:
void myMethod(Object someParam, JspWriter out)
throws IOException
{
...
}
The use of out is for some quick debugging. Anyway, this code works fine
under Tomcat 3.2.3, but porting it over to TC4 final produced the following
compilation
you need to import java.io.IOException probably in previous versions
of tomcat the generated code imported this method, thus masking the fact
that you didn't import it they now (I guess) dont do this, and so the
compiler is looking for IOException in the package of the code, which is
know which
class is which, but lines of code won't fit easily on screen at the same
time!).
-Chris
- Original Message -
From: Dmitri Colebatch [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, September 24, 2001 1:41 PM
Subject: Re: [TC4] Confusion over JspWriter and IOException
[EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, September 24, 2001 1:41 PM
Subject: Re: [TC4] Confusion over JspWriter and IOException in compiled JSPs
(Tomcat bug...?)
you need to import java.io.IOException probably in previous versions
of tomcat the generated code imported
But if I import explicitly java.io.IOException, it might cause
unqualified
references to the Tomcat IOException class to become mixed up too !
I dont think there is a tomcat IOException... the compiler was looking for
that class because it was compiling a servlet that referenced a class