tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arnaud Héritier <aherit...@sopragroup.com>
Subject RE: Tomcat Apache JSP compilation error
Date Mon, 14 Jan 2002 14:36:18 GMT
With Tomcat 4 the package java.util isn't imported by default in your JSP page.

you should add this :

<%@ page language="java"  import="java.util.Vector"%>

or

<%@ page language="java"  import="java.util.*"%>


arno
> -----Message d'origine-----
> De:	Stuart Stephen [SMTP:swadge@swadge.co.uk]
> Date:	lundi 14 janvier 2002 15:32
> À:	Tomcat Users List
> Objet:	Tomcat Apache JSP compilation error
> 
> Hi all,
> 
> For some reason i'm getting a class not found exception for a Vector? I
> can't think why the Vector class isn't found? Where should these classes be
> found or what am I doing wrong? The details are at the base of the email.
> 
> Thanks
> Stuart Stephen
> 
> An error occurred at line: 51 in the jsp file:
> /basket_edit_details_content.jsp
> 
> Generated servlet error:
> T:\Tomcat\work\www.myonlineshop.com\shop\basket_0005fedit_0005fdetails_0005f
> content$jsp.java:128: Class org.apache.jsp.Vector not found.
>                 	Vector points=(Vector)items.get(item_number);
> 
> 
> 
> --
> To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message