tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From graghupa...@aegonuk.co.uk
Subject RE: get property questions
Date Wed, 02 Apr 2003 09:08:55 GMT
"<jsp:getProperty name="hi" .... > is substituted to the corresponding
method of your bean ... "getHi()"
	you cannot have a dynamic call to methods ... 

	See the correspondinf generated java code of the jsp ... you will
know what is happening ...

Regards
Guru


-----Original Message-----
From: Michael Ni [mailto:mikeni1225@hotmail.com]
Sent: 02 April 2003 10:05
To: tomcat-user@jakarta.apache.org
Subject: get property questions


This doesn't work for me.

<% String aname = "hi" %>
<jsp:getProperty name="<%= aname %>" property="game_id" />

however this does
<jsp:getProperty name="hi" property="game_id" />

can someone explain?

mike

_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.  
http://join.msn.com/?page=features/virus


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message