Deva Pitchai(NatureSoft) wrote:
Is htere a way to print a value in html as label from Form bean, without using bean:write tag?

I cant use the bean:write because it is asking for the bean name.

I have some include jsp files, which may have different form bean depending on the file where it is included.
So I cant give the form name in the inc files.

Is there a way.
Currently i am using the text box as readonly, which is not a good way of achieving the same.

There's no tag in Struts that will do that directly. The easiest thing would be to store a reference to your form bean under a known request-scope attribute and have your include file reference it via that 'well-known' name.

L.


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

Reply via email to