create file path
[b]for(Iterator k = files.iterator(); k.hasNext(); ){
String fname = (String)k.next();
<tr><td><a href="/resin-2.1.14/webapps//temp/<%=fname %>"><%= fname %></a></td></tr>
}[/b]
I have written above code to display list of files in my 'temp' directory.
here's the file path for 'temp' DIR
C: > resin-2.1.14 > webapps > temp > 'fname'
WHen i run this code it always says the 'file cannot be found' even though it exists.Can someone pls tell me what i am doing wrong?
what i want to do is when somone hit the link just open up the file in that file path.
Is this the correct way to do it?
thx in advance.

