File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Struts Upload Tag Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts Upload Tag" Watch "Struts Upload Tag" New topic

Struts Upload Tag

Ranch Hand

Joined: Oct 09, 2003
Posts: 517
Hai there,

I am using the Struts upload api to upload a file to the server,using this <html:file property="theFile" size="52"/>

But in the server I am geting the file name only,I have to get the full path of the file from the client .

Is there any way to get the full path in the server..

Thanks In Advance.

God Gave Me Nothing I Wanted<br />He Gave Me Everything I Needed<br /> - Swami Vivekananda
It is sorta covered in the JavaRanch Style Guide.
subject: Struts Upload Tag
It's not a secret anymore!