you can use either JSP XML syntax or regular jsp syntax (not together),
also your jsp page has to follow complete XML syntax to use jsp:expression
for e.g
jsp:root (as beginning of page)
jsp:expression 3 + 4jsp:expression
/jsp:root
Please refer jsp syntax card for more details
Mahesh
Using a JSP expression to set an attribute value requires you to create
the *entire* value, not just part of it, with the expression.
html:link href='%= blah.do?arg= + var %'
Craig
On Wed, 26 Mar 2003, Timo Nentwig wrote:
Date: Wed, 26 Mar 2003 08:21:25 +0100
From: Timo Nentwig [EMAIL
Jacob Hookom wrote:
No, you will need to use single quotes for it to work properly. You
Already tried this, same issue.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Craig R. McClanahan wrote:
Using a JSP expression to set an attribute value requires you to
create
the *entire* value, not just part of it, with the expression.
html:link href='%= blah.do?arg= + var %'
Why?!
-
To
On Wed, 26 Mar 2003, Timo Nentwig wrote:
Date: Wed, 26 Mar 2003 18:39:28 +0100
From: Timo Nentwig [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: Re: struts: JSP expression not evaluated
Craig R. McClanahan
snip/
!-- the link won't read blah.do?arg=1 --
html:link href=blah.do?arg=%=var%
Link
/html:link
/body
/html
The href attribute must either *entirely* be a run time expression (%=..%) or
*entirely* a literal.
No, you will need to use single quotes for it to work properly. You should
also look at the html:link documentation for better ways of handling this
instead of using scriptlets (%%).
| -Original Message-
| From: Timo Nentwig [mailto:[EMAIL PROTECTED]
| Sent: Tuesday, March 25, 2003 11:53
7 matches
Mail list logo