"<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:[EMAIL PROTECTED]
Sent: 02 April 2003 10:05
To: [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]