[JSP][ERREUR]cannot be resolved to a type
Bonjour à tous,
Voila ca fait tout le week-end que je cherche la solution à mon prblème mais je n'y arrive pas...
EN fait j'essaie de faire une bete page jsp avec un appel à un bean :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14
|
<%@page import="factgroup.*"%>
<HTML>
<HEAD><TITLE>JSP Test</TITLE></HEAD>
<BODY BGCOLOR="#FDF5E6">
<jsp:useBean id="client" type="factgroup.Client" scope="request"></jsp:useBean>
<H1>JSP Test</H1>
<%
out.println("hello world") ;
%>
</BODY>
</HTML> |
Je vous épargne le code java.
L'objet en question fait partie du package factgroup.
Le fichier class se trouve bien dans webapps/factgroup/web-inf/Classes/factgroup.
Je suppose que mon erreur vient du fichier web.xml
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
<?xml version="1.0" encoding="ISO-8859-1"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
version="2.4">
<display-name>Hello, World Application</display-name>
<description>
This is a simple web application with a source code organization
based on the recommendations of the Application Developer's Guide.
</description>
<servlet>
<servlet-name>FactGroup</servlet-name>
<servlet-class>factgroup.Client</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>FactGroup</servlet-name>
<url-pattern>/factgroup</url-pattern>
</servlet-mapping>
</web-app> |
Est ce que quelqu'un à une idée ?