Re: eclipse & usebean
- From: Lew <lew@xxxxxxxxxxxxx>
- Date: Sat, 29 Dec 2007 13:17:12 -0500
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
.
- References:
- eclipse & usebean
- From: disinfo
- eclipse & usebean
- Prev by Date: Re: eclipse & usebean
- Next by Date: Re: question about the toString Method
- Previous by thread: Re: eclipse & usebean
- Next by thread: Hi, Check out Java Quicksilver (For Windows)
- Index(es):