You can try to create new variable assumption name2
That return the getName() method in Your ActionForm
public String getName2()
{
return this.getName();
}
and in Your jsp page that use to show the value you can use
html:text with property name2 .
-----Original Message-----
From: Srinivas Gunturu [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 04, 2003 5:28 AM
To: <
Subject: How to write HTML label text
Hi All,
I want to display an uneditable text value on the page showing the name
of the person who entered the order. The name is stored in a bean
inside my ActionForm and I do know how to display it in a text box using
<html:text> tag. However, I would prefer to show it as strait html and
not sure how to do it since there is no <html:label> tag.
I tried
<jsp:getProperty name="myForm" property="orderInfo.name" /> does not
work and gives an error as "orderInfo.name" not a valid property.
Any other way I can print this?
TIA
---------------------------------------------------------------------
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]