Pbl de compilation avec Tomcat
 
voila truc.java : un bean qui est dans WEB-Inf/classes
 
public class truc
{
private String hello = "Bonjour !";
public truc(){}
public String getHello()
{  return hello;	}
public void setHello(String hello){this.hello =  hello;	}
}
 
un truc tout con, quoi  
 
Voila le jsp: (en esperant qu'ils ne prennent pas les balises html, ce forum) dans /jsp
 
<html><head><title>Truc</title></head><body bgcolor="white"><font size=4>
Ca c'est le test de ma classe truc:<br><br><br>
<%@	page import="truc" %>
<%  =mb.getHello() %>
 
 
voila le rst :
 
Internal Servlet Error:
 
org.apache.jasper.JasperException: Unable to compile class for JSPC:\Mes Documents\jproject\lib\tomcat\work\localhost_8080%2Ftest\_0002fjsp_0002ftruc_0002ejsptruc_jsp_9.java:62: Missing term.
                out.write("\r\n\r\n\r\n" );
                                         ^
1 error
 
J'ai pas envie de débugger le .java qu'il crée dans le rep work, sinon c'est pas la peine