tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "kc.baltz" <kc.ba...@inforonics.com>
Subject RE: Help with JSP
Date Fri, 26 May 2000 12:15:47 GMT
I believe you need a "page" inbetween <%@ and import.  Like this:

<%@ page import = "java.util.Enumeration, PlayListAdapter, Asset" %>

K.C.

> -----Original Message-----
> From: Animesh Chatterjee [mailto:Animesh.Chatterjee@Eng.Sun.COM]
> Sent: Thursday, May 25, 2000 9:42 PM
> To: tomcat-user@jakarta.apache.org
> Subject: Help with JSP
> 
> 
> I keep getting an the following error from jasper:
> 
> org.apache.jasper.compiler.ParseException 
> 
> at the following line in my .jsp file:
> 
> <%@ import = "java.util.Enumeration, PlayListAdapter, Asset" %>
> 
> This is supposed to work according to Pg. 41 of O'Rielly's 
> 'Java Servlet Programming'. 
> 
> Any hints on what I am doing wrong will be greatly appreciated. The
> above line of code is the very first line in my .jsp file.
> 
> Thanks!
> 
> 
> -animesh
> 
> --------------------------------------------------------------
> ---------
> Animesh Chatterjee                  Digital Media 
> Services(DMS)-Network 
>                                                               
>   Storage
> email: animesh@eng.sun.com          Sun Microsystems Inc.
> Phone: +1-650-786-7783 (Direct)     901 San Antonio Road, MS MPK15-214
> Fax:   +1-650-786-6445              Palo Alto, CA 94303-4900
> --------------------------------------------------------------
> ---------
> 
> 
> 
> --------------------------------------------------------------
> ------------
> To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commmands, email: tomcat-user-help@jakarta.apache.org
> 

Mime
View raw message