struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karr, David" <David.K...@wamu.net>
Subject RE: problem with bean:define tag
Date Thu, 23 Jan 2003 18:39:22 GMT
Note that you will get this message if the count of "name", "value", and
"body" is != 1.  The message sounds like it's saying you have more than
one of them, but in truth you could get the error if you had none of
them.  I'm going to guess that "beanName" is empty or null.

-----Original Message-----
From: Adel [mailto:oka_adel@yahoo.com] 
Sent: Thursday, January 23, 2003 10:31 AM
To: struts-user@jakarta.apache.org
Subject: problem with bean:define tag


Hi,

I am having a strange problem with stuts 1.1.b3 (with Weblogic 7).
Everything woks fine with struts 1.1.b1 but when I moved to the 1.1.b3
the define tag is generating an exception. The define tag that generates
the execption:

<bean:define name="<%=beanName%>" id="path" property="path"
scope="request" toScope="page" />

The generated exception :

javax.servlet.jsp.JspException: Define tag can contain only one of name
attribute, value attribute, or body content

Adel.



---------------------------------
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now

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


Mime
View raw message