Yes, I have these taglib directives at the top of both those pages:
<%@ page language="java" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-nested.tld" prefix="nested" %>
Shaun
-Original Message-
From: Robert Taylor [mailto:[EMAIL PROTECTED]
Sent: Wed 12/17/2003 12:22 PM
To: Struts Users Mailing List
Cc:
Subject:RE: Problem
Did you include the Struts bean tag-lib directive?
In other words if you view source, do you see
?
robert
> -Original Message-
> From: Shaun Roach [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, December 17, 2003 3:13 PM
> To: [EMAIL PROTECTED]
> Subject: Problem
>
>
> Hello, I have been using struts for awhile, but after I started a
> new project last week, I began having a problem with it.
>
> It seems like struts cannot find the getter methods in my beans.
> For instance, when I try the following jsp page:
>
>
> property="playerStats" type="com.rototheory.beans.StatLine">
>
>
>
>
>
>
> Nothing is generated, ( suggesting that it didn't find the
> lineDate getter ).
> However, if I use the following code:
>
>
> property="playerStats" type="com.rototheory.beans.StatLine">
>
> <%= statLine.getLineDate() %>
>
>
>
>
> The correct output is generated. I am having similar problems
> with struts finding collections that I am trying to iterate over.
> Does anyone have any idea of what might be causing the struts to
> not find my bean's getters?
>
> Thanks for your help,
>
> Shaun Roach
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]