struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wendy Smoak" <wsm...@gmail.com>
Subject Re: Exception-tag bean:size must be empty, but is not
Date Sun, 03 Jun 2007 05:38:28 GMT
On 6/2/07, vikas rao <vikas5678@gmail.com> wrote:

> <bean:size id="size" name="searchForm" property="results">

> I get this error:
> org.apache.jasper.JasperException: /search.jsp(36,0) According to TLD, tag
> bean:size must be empty, but is not.

The tag isn't closed.  If you're using a validating editor, it should
have complained that there was no </bean:size> tag.

Try:  <bean:size id="size" name="searchForm" property="results" />

Note the /> at the end.

-- 
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message