I'm just testing jsp with this little test:
******** 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
*****************************************************************

Reply via email to