I compared your code to something similar on our server. In our case it is a getMessageText() method. Our jsp:getProperty looks like this:

<jsp:getProperty name="message" property="messageText"/>

If I change the "m" to "M" to match your example:

<jsp:getProperty name="message" property="MessageText"/>

then the code fails.


I hope that's all the problem is.


Mark Walker



From: "Adam Nowalsky" <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: bean getProperty issue
Date: Wed, 20 Nov 2002 17:26:51 -0500

i am running tomcat 4.1.12 on a windows xp pro system. i am having some
problems getting the jsp getProperty tag to function at various times. i
can get this to run no problem -
<%= appvars.getRootPath() %>

while this will fail compilation -
<jsp:getProperty name="appvars" property="RootPath" />

i get the message telling me that the RootPath property cannot be found
within the appvars context. it would seem that if that were REALLY the case
then both blocks of code would fail. sometimes just by re-typing the
getProperty tag it will work, but not always.

i've wasted pretty much an entire day trying to find out what i am doing
wrong, but was wondering if maybe this were some bug with the xp system...

thanks for any help.


--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to