On Thu, 6 Jan 2005 13:37:47 +0530, Krishna Mohan Radhakrishnan <[EMAIL PROTECTED]> wrote:
> The below mentioned is the code. But from the address class we will > retrieve it as 10 digit string. > > <bean:write name="address" property="telephoneno"/> > > For example if 9845612345 is the number I want to display it as > follows. > 984-561-2345 What about using StringBuffer.insert()? :) You can put in your own tag, you can extend your address bean by adding a tefonenoFormatted property, you can put a scriptlet in you JSP (the most simple and ugly way ;) or you can create a custom EL function (requires JSP 2.0). And I believe there's a lot of other ways. Pavel --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]