I would look at perhaps encapsulating this functionality with a Custom Tag.  This way 
you can define the functioanlity you want and how you want to return it to the 
JSP/HTML/...

They are very easy to knock up and really allow you to extend the functionality you 
can embed.

Cheers

Christopher Marsh-Bourdon
Pyplia Limited

---- Original Message ----
To: Struts Users Mailing List <[EMAIL PROTECTED]>
From: Suresh S <[EMAIL PROTECTED]>
Date: 22 Jun 2004 16:18:27 +0530
Subject: Calling a static method using bean write tag

Hi all,

Is it possible to call directly a static method using <bean:write> tag
.Actually i need to write something in the jsp with help of some utility
class and the utility class is static.But it seems <bean: write > tag
requires <bean:define> so is there any other way to do this?

Thanx in Advance for u r suggestions :)



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

Reply via email to