Re: eclipse & usebean



disinfo wrote:
When I compiled the source I recived this error message:

"org.fame cannot be resolved to a type"

This is a a part of the source:

<%@ taglib uri="/tags/struts-html" prefix="html" %>
<%@ taglib uri="/tags/struts-logic" prefix="logic" %>
<%@ taglib uri="/tags/struts-bean" prefix="bean" %>

<jsp:useBean scope="session" id="user" type="org.fame.users.User" />

I looked around internet but i didn't find solutions.
Any help will be really appreciated

Try reading the material on how to use jsp:useBean.

<http://java.sun.com/javaee/5/docs/tutorial/doc/bnair.html>
To declare that your JSP page will use a JavaBeans component, you use a jsp:useBean element. There are two forms:

<jsp:useBean id="beanName"
class="fully-qualified-classname" scope="scope"/>

You did not specify a 'class' attribute.

See
<http://java.sun.com/products/jsp/syntax/1.2/syntaxref12.pdf>
for details.

--
Lew
.