Tomcat 3.2.x and some old pre-release versions of Tomcat 3.3
are not spec compiant on this issue.  Tomcat 3.3 Final,
per the JSP 1.1 spec, includes only:

    import javax.servlet.*;
    import javax.servlet.http.*;
    import javax.servlet.jsp.*;

by default.  "java.lang.*" mentioned in the spec is left out
because it is not needed.

What version of Tomcat 3.3 compiled the error.jsp page?

Cheers,
Larry

> -----Original Message-----
> From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 18, 2002 1:04 PM
> To: Tomcat Users List
> Subject: RE: JSP Won't Compile Under Tomcat 4
> 
> 
> 
> 
> On Fri, 18 Jan 2002, Justin Rowles wrote:
> 
> > Date: Fri, 18 Jan 2002 14:47:01 -0000
> > From: Justin Rowles <[EMAIL PROTECTED]>
> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> > To: 'Tomcat Users List' <[EMAIL PROTECTED]>
> > Subject: RE: JSP Won't Compile Under Tomcat 4
> >
> > > I still can't understand why none of this was necessary under
> > > Tomcat 3.
> >
> 
> Because Tomcat 3.x was (and I guess still is) broken in this 
> respect -- it
> creates implicit imports for "java.util.*" that are contrary 
> to the JSP
> spec.  Tomcat 4 creates explicit imports only for the 
> packages that are
> allowed.
> 
> Craig
> 
> 
> --
> 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