Hi,

I have a situation where I need to open a file (File can be text, Audio/ or
video). All kinds of text files are opening up okay(Image, PowerPoint, Word
etc). If the file is an audio instead of opening the file using Windows
Media Player, it is throwing up some junk. Can anyone help me how do I go
about for this situation?

I have the following piece of code

<c:forEach var="mf" items="${kfiles}" >
    <tr align="left">
      <td><a href="<c:out value='${mf.docfilename}' />" target='_blank'
><c:out value="${mf.docname}" /></a></td>
      <td><c:out value="${mf.docauthor}" /></td>
      <td><a href='javascript:clickComments("<c:out value='${mf.docindex}'
/>", "<c:out value='${mf.doctype}' />", "<c:out value='${mf.docno}' />");'
>Comments</a></td>
      <td><a href='javascript:clickAddComments("<c:out
value='${mf.docindex}' />", "<c:out value='${mf.doctype}' />", "<c:out
value='${mf.docno}' />");'>Add Comments</a></td>
    </tr>
 </c:forEach>


If the docfilename property is a non-text file, I get some junk thrown up in
the screen.

Thanks in advance for your help.

Vijaya



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

Reply via email to