B
Bojan
Hi,
I pass a list of type File to the servelet. The JSP page has a loop
that goes through the list, and gets a File. It creates an href for
that file and i want the name not to include the extension of the
file.
Here is the code:
<logic:iterate name="files" id="file">
<bean:define id="fileName" name="file" property="name" />
<a href="<bean:write name="file" />"><bean:write name="fileName" </a>
.....
Is there anyway i can do substring (0, size-3) or somethign along
those lines to get the file name without the extension?
Thank you for your help
I pass a list of type File to the servelet. The JSP page has a loop
that goes through the list, and gets a File. It creates an href for
that file and i want the name not to include the extension of the
file.
Here is the code:
<logic:iterate name="files" id="file">
<bean:define id="fileName" name="file" property="name" />
<a href="<bean:write name="file" />"><bean:write name="fileName" </a>
.....
Is there anyway i can do substring (0, size-3) or somethign along
those lines to get the file name without the extension?
Thank you for your help