tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From William Brogden <wbrog...@bga.com>
Subject Re: Error: 500
Date Wed, 20 Dec 2000 13:15:48 GMT


Naresh Chhabria wrote:
> 
> Hi all,
>     I'am getting the following error when accessing this  /jsp/Jdbc.jsp
> 
> Internal Servlet Error:
> org.apache.jasper.compiler.ParseException:
> /var/net/services/infoline/doc/jsp/Jdbc.jsp(4,44) Attribute , has no value
> 
> this jsp has the following code:
> <%@ page language="java" import="java.io.*","java.sql.*","JdbcBean" %>
> where JdbcBean is a class which has functions for database connection,
> returning resultset object and closing the connection.
> 

I think the parser is trying to tell you to only use one
set of quote marks around the entire import attribute.
like this "java.io.*,java.sql.*,JdbcBean"

-- 
WBB - wbrogden@lanw.com
Java Cert mock exams http://www.lanw.com/java/javacert/
Author of Java Developer's Guide to Servlets and JSP 
ISBN 0-7821-2809-2

Mime
View raw message