SuperMoonster
Programmer
Hello everyone,
I suppose my question is easy to answer, but I haven't still found this answer myself.
What I wanna do is: get a file name from a html:file and copy this file to another location. The problem is html:file doesn't return me the full path. I think it's because it wants to manipulate the file, not it's name. So I wanna get the full path so I can copy it somewhere else.
I know there are other ways to do this,but they seem too hard for me. People told me to look struts-upload example but I found it different from what I wanted. I would like some closer help here.
Thanks
see ya.
I suppose my question is easy to answer, but I haven't still found this answer myself.
What I wanna do is: get a file name from a html:file and copy this file to another location. The problem is html:file doesn't return me the full path. I think it's because it wants to manipulate the file, not it's name. So I wanna get the full path so I can copy it somewhere else.
I know there are other ways to do this,but they seem too hard for me. People told me to look struts-upload example but I found it different from what I wanted. I would like some closer help here.
Thanks
see ya.