Iam uploading the file using inbuit tag of html ie <html:file></html:file>. I would like to get the source files actual path details if any one can help me out on this
Thank you
If I remember correctly (which is unlikely, I haven't used Struts 1 for around five years) the FormFile object contains the name; I don't recall if it has the entire contents of the path supplied by the browser (bearing in mind that not all browsers return the complete path; sniffing the request would answer that question).
binu narayanan
Ranch Hand
Joined: Jul 24, 2009
Posts: 56
posted
0
Thank you for the help.
I got it fixed through JavaScript and got the full client side path of the file browsed for.