struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reto Badertscher <>
Subject org.apache.struts.taglib.html.BEAN
Date Sun, 21 Sep 2003 08:29:20 GMT

i'm new to Struts and started my first application. When displaying a form 
which extends ValidatorForm , i'll get the following message:

javax.servlet.ServletException: Cannot find bean 
org.apache.struts.taglib.html.BEAN in any scope
	at org.apache.jsp.price_list_rep_jsp._jspService(
	at org.apache.jasper.runtime.HttpJspBase.service(
	at javax.servlet.http.HttpServlet.service(

From my JSP page:
<%@ page contentType="text/html; charset=iso-8859-1" language="java" 
session="true" %>
<%@ taglib uri="" prefix="bean" %>
<%@ taglib uri="" prefix="html" %>
<%@ taglib uri="" prefix="logic" %>
<body bgcolor="white">
   <bean:message key="errors.header"/>
   <html:messages id="error">
      <li><bean:write name="error"/></li>

<html:form action="pricelistReport"/>
  <html:hidden property="action"/>
  <html:hidden property="page" value="1"/>
    <td><html:text property="year" size="4" maxlength="4"/></td>
    <td><html:text property="month" size="2" maxlength="2"/></td>
  <tr colspan="2">
    <td><html:submit styleClass="push-button"/></td>

I've debugged the application; the named form is in the request with the name 
as indicated in the action-mapping. Can please tell me someone what this BEAN 
is, and what i'm doing wrong. Any help is very much appreciated as i already 
spent hours checking the application.



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message