Struts doesn't have anything to do this - but maybe there is something in the Jakarta Taglibs that can:
http://jakarta.apache.org/taglibs/index.html Theres a "split" tag in the String taglib that might help - it creates an array and then maybe you could use iterate with a size limit: http://jakarta.apache.org/taglibs/doc/string-doc/string-1.1.0/index.html#split Alternatively you could write your own custom tag. Niall On 6/22/06, Kavita Mehta <[EMAIL PROTECTED]> wrote:
Hi,i have a requirement where i need to display just the first two lines of a multi line string (e.g. exception stack trace) . currently, i am displaying the whole string using a collection & <bean:write name="logEntriesCollection"/> . Is it possible in struts to display just the first few characters/lines of this string instead of the whole one.. Thanks
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]