Is the
java code correct? Should it be 'public class thib' ?
Kevin
-----Original Message-----I'm just testing jsp with this little test:
From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Thibaut Colar
Sent: 28 June 1999 14:17
To: [EMAIL PROTECTED]
Subject: copilation failed error
******** html page (thib.jsp) *********
<jsp:useBean id="th" class="thib.thib" scope="session"/>
<jsp:setProperty name="th" property="*"/>
<html>
<body bgcolor="white">
<%= th.getCount(); %>
</body>
</html>
******* java code (thib.java) ***
package thib;
class thib
{
public thib()
{
}
public static void main(String args[])
{
new thib();
}
public int getCount()
{
return 125;
}
}
*********************************
But when i try to see this page i've the following error:
com.sun.JspException: Compilation failed at
com.sun.jsp.compiler.Main.Compile(Main.java;248) ...
The jsp examples works fine.
So if you have any idea of what's wrong... let me know please.
*****************************************************************
Thibaut Colar
JET Software, Inc.
[EMAIL PROTECTED]
http://www.jetsoftware.com
The Leader in Tools for Online Demonstrations and Training
*****************************************************************
