Hi All,
 
I am getting the error when i include the Beans in our JSP page.
 
class name is UsingJDBC in the jar file name of the jar file is also UsingJDBC I have set the class path in NT Enviourment.
I am getting error

500 Servlet Exception

/javaBeans.jsp:12: Identifier expected.
       jsp:useBean id="con"; scope="session"; class="UsingJDBC" 
                                                   ^
1 error
My code is
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>New Page 1</title>
</head>
<%@ page language="java" import="java.sql.*" %>
<body>
<% jsp:useBean id="con"; scope="session"; class="UsingJDBC" %>
Hi it is true
</body>
</html>
 
I need some help
 
Affan
 

Reply via email to