On Fri, 1 Aug 2003, Slattery, Tim - BLS wrote:

> Date: Fri, 1 Aug 2003 13:13:56 -0400
> From: "Slattery, Tim - BLS" <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: "Struts User List ([EMAIL PROTECTED])"
>     <[EMAIL PROTECTED]>
> Subject: Conversion to 1.1 troubles
>
> I'm trying to swich from version 1.0.2 to version 1.1 of Struts. I've
> downloaded the new version and replaced the *.tld files in my web-inf
> directory, and the *.jar files in web-inf\lib.
>
> When I try to run my system, I get a strange error. This system uses
> <bean:define...> tags, which worked fine in the older version. The very
> first page to appear has two of them. One of them - which one I can't tell -
> gives this error message:
>
> Root cause of ServletException
> javax.servlet.jsp.JspTagException: Since tag class
> org.apache.struts.taglib.bean
> .DefineTag does not implement BodyTag, it cannot return
> BodyTag.EVAL_BODY_BUFFERED
>
> If I remove one of the two <bean:define...> tags - either one - the page
> displays, although some data is missing. Then I go on to the next page,
> which has a single <bean:define...> tag. That page dies with the same odd
> message.
>
> Does anybody know what's gong on here?

One very important step that you must do (and perhaps already have, but
didn't mention) is recompile your application against the new Struts JAR
files.  Failure to do this will lead to all sorts of problems because of
changes in the internal inheritance hierarchy, and this kind of error
message is the sort of thing you can expect to see if you don't recompile.

>
> --
> Tim Slattery
> [EMAIL PROTECTED]

Craig

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to