hi all,
1. im trying to use the CachedRowSet to retrieve data from DB
but when the first request occur the following error and warrning occurred:
this is my code:
---------------------------------------
<%@ page errorPage="./error/ErrorPage.jsp"%>
<%@ page import="java.util.*"%>
<%@ page import="com.sun.rowset.*"%>
<
jsp:useBean id="crs1" scope="session" class="com.sun.rowset.CachedRowSetImpl"/>
<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>
Test</title>
</head>
hiiiiiiiiiii
</head>
</body>
</html>
---------------------------------------
the error is:
------------------------------------------------------------------
org.apache.jasper.JasperException: Unable to compile class for JSPD:\Program Files\Apache
Tomcat 4.0\common\lib\jdbc2_0-stdext.jar(javax/sql/RowSet.java): Public interface javax.sql.RowSet must be defined in a file called "RowSet.java".
D:\Program Files\Apache Tomcat 4.0\common\lib\jdbc2_0-stdext.jar(javax/sql/RowSetInternal.java): Public interface javax.sql.RowSetInternal must be defined in a file called "RowSetInternal.java".
2 errors
--------------------------------------------------------------------------
the second thing after second request the things going fine but when i change on the jsp page by adding any thing like text... etc.. the error re occurred after that i refresh the page and things going fine again but the changes did not appear on the page.. to make the changes appear i must delete the work files and restart the server. which is Apache Tomcat 4.0
Thanx in advance..
[ November 30, 2005: Message edited by: Ra'fat Musameh ]
[ November 30, 2005: Message edited by: Ra'fat Musameh ]
[ November 30, 2005: Message edited by: Ra'fat Musameh ]
[ November 30, 2005: Message edited by: Bear Bibeault ]
[ December 01, 2005: Message edited by: Ra'fat Musameh ]
[ December 02, 2005: Message edited by: Bear Bibeault ]