Jakarta string taglib might be an option:
http://jakarta.apache.org/taglibs/doc/string-doc/intro.html
-Original Message-
From: andy wix [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 03, 2004 4:43 AM
To: [EMAIL PROTECTED]
Subject: JSTL String manipulation
Hi,
I iterate through a
You would be able to do something using the JSTL functions like split()
but I don't think it will be very stable.
I think you would be better off manipulating the file names before you
get to the JSP or you could make a taglib, using tokenize() for example,
and using a few lines of code.
I have
Hi,
I iterate through a collection and the following line yeilds the full path
of a file:
where messages is a Map and MSG1 is the key.
The issue is that I would like only to display the file name, not the full
path.
Can this be done with JSTL or should I revert to good old fashioned Java?
Rega
3 matches
Mail list logo