You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Craig R. McClanahan" <cr...@apache.org> on 2002/01/04 23:13:39 UTC

Re: 'Vector' class not available in jsp page


On Fri, 4 Jan 2002, Eric Hansen wrote:

> Date: Fri, 04 Jan 2002 14:14:06 -0800
> From: Eric Hansen <ep...@pacbell.net>
> Reply-To: Tomcat Users List <to...@jakarta.apache.org>
> To: Tomcat Users List <to...@jakarta.apache.org>
> Subject: 'Vector' class not available in jsp page
>
> In Tomcat 3.2.3, I was able to use (in a JSP Page) the Vector class
> from the java.util package **without** explicitly importing it using
> <% @page import="java.util.Vector"%>
>
> When I'm testing using Tomcat 3.3, I get a ERROR 500 - the Vector
> class is not available.  When I include the above import declaration,
> it works fine... but I really don't want to go back and add that
> declaration to all my jsp pages if there is a way to avoid it.
>
> I don't remember having to make any specific entries in the Tomcat
> 3.2.3 setup to enable certain Java packages.  Any ideas?
>

Tomcat 3.2's JSP code generator was broken -- it emitted more imports
(including java.util.*) than it should have.  The only legal default
imports (according to the spec):

    java.lang.*
    javax.servlet.*
    javax.servlet.http.*
    javax.servlet.jsp.*

> Thanks
> Eric Hansen
>

Craig



--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Re: Mr. McClanahan ... Do you ever take a break?

Posted by "Craig R. McClanahan" <cr...@apache.org>.

On Sat, 5 Jan 2002, Suzanne Reiner 8423 wrote:

> Date: Sat, 5 Jan 2002 09:37:09 -0500
> From: Suzanne Reiner 8423 <sr...@fnac-usa.com>
> Reply-To: Tomcat Users List <to...@jakarta.apache.org>
> To: 'Tomcat Users List' <to...@jakarta.apache.org>
> Subject: Mr. McClanahan ... Do you ever take a break?
>
> I'm sure you get more complaints than appreciation.  So here's mine: Thanks
> for working so hard with Tomcat and the Tomcat Users List.
>

You know, it's actually the other way around ... I get (and appreciate)
lots of thank you's, and the complaints are usually just about things that
aren't done yet.  It's one of the things that makes this an enjoyable
community.

> That said, I may have to whine in the future!
>

<USA-centric-reference-to-a-tv-show>
"This is Dr. Craig, I'm listening ..."     :-)
</USA-centric-reference-to-a-tv-show>

> Joy for the new year,
>

Likewise!

>
> Suzanne
>

Craig


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Mr. McClanahan ... Do you ever take a break?

Posted by Suzanne Reiner 8423 <sr...@fnac-usa.com>.
I'm sure you get more complaints than appreciation.  So here's mine: Thanks
for working so hard with Tomcat and the Tomcat Users List.

That said, I may have to whine in the future!

Joy for the new year,


Suzanne



--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>