DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11179>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11179

Improper parsing of Struts tag when property is set with JSP embed

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From [EMAIL PROTECTED]  2002-07-25 20:04 -------
This is not a bug. What you are doing in your examples D and E is not legal 
JSP. The content of an attribute value must be either a string literal or a 
runtime expression, and you cannot mix the two. So to accomplish what you want 
for examples D and E, you would simply change them to:

<html:hidden property='<%= "that" + Constants.NAME_D %>' value="" /> 
<html:hidden property='<%= " " + Constants.NAME_E %>' value="" /> 

This way, the entire attribute value is a runtime expression, and the string 
concatenation is performed inside that expression.

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

Reply via email to