You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Bernier, Melanie" <me...@sdm.de> on 2001/08/16 14:47:28 UTC
passing parameter to a jsp tag
Hi!
I'm having troubles with the following code:
<tblListe:tabListe dBms="<%= dbms %>" dBuser="TABSERV" ordnung="FaVeNa" >
</tblListe:tabListe>
Instead of setting dBms to dbms, it's setting dBms to <%= dbms %>
What is the problem? I looked on several newsgroups and examples on JSP
Custom Tag and what I'm doing seems to be right.
Thanks.
Melanie.
Re: passing parameter to a jsp tag
Posted by David Cassidy <dc...@hotgen.com>.
You might want to
try using single quotes "'"
and in your tag definition check that it has
got the runtime expression attirbute set to true...
:)
Bit me in the behind as well !
David
"Bernier, Melanie" wrote:
>
> Hi!
>
> I'm having troubles with the following code:
>
> <tblListe:tabListe dBms="<%= dbms %>" dBuser="TABSERV" ordnung="FaVeNa"
> >
> </tblListe:tabListe>
>
> Instead of setting dBms to dbms, it's setting dBms to <%= dbms %>
>
> What is the problem? I looked on several newsgroups and examples on JSP
> Custom Tag and what I'm doing seems to be right.
>
> Thanks.
> Melanie.
Re: passing parameter to a jsp tag
Posted by Eduard Witteveen <Ed...@omroep.nl>.
"Bernier, Melanie" <me...@sdm.de> wrote:
> <tblListe:tabListe dBms="<%= dbms %>" dBuser="TABSERV" ordnung="FaVeNa" >
> </tblListe:tabListe>
>
> Instead of setting dBms to dbms, it's setting dBms to <%= dbms %>
issa da <rtexprvalue>true</rtexprvalue> for the attribute in the tld?
--
Eduard Witteveen Systeem Ontwikkelaar
NOS Internet, Mediacentrum Kamer 203
+31(0)356773059 http://www.omroep.nl/
Sed quis custodiet ipsos custodes? : The sixth Satire from Juvenal