You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Marcus Crafter <cr...@dresdnerbank.de> on 2000/07/11 18:41:05 UTC
<%= expression %> with custom tags
Hi All,
Hope all is well.
Quick question regarding custom tags libraries with Tomcat 3.2 beta 1.
If I define a custom tag such as:
<mytag:print key="some string"/>
should it then be possible to parameterize the 'key' parameter as
follows:
<mytag:print key="<%= new String(\"some string\") %>"/>
in the same way that one can have a <%= .. %> expression with jsp:xxx
tags ? (eg. <jsp:include page="<%= new String(\"main.inc\") %>"/>)
I've implemented a test example, but unfortunately the expression isn't
evaluated (ie. the <%= .. %> is passed through to the 'key'
parameter) - is this the correct behaviour ?
Thanks for any help you may be able to provide.
Cheers,
Marcus
--
.....
,,$$$$$$$$$, Marcus Crafter
;$' '$$$$: Computer Systems Engineer
$: $$$$: Open Software Associates GmbH
$ o_)$$$: 82-84 Mainzer Landstrasse
;$, _/\ &&:' 60327 Frankfurt Germany
' /( &&&
_&&&&' Email : Marcus.Crafter@osa.de
&&&&. Business Hours : +49 69 263 17657
&&&&&&&: After Hours : +49 69 4908 6750