This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Soft Skills and have John Sonmez on-line!
See this thread for details.
The moose likes Struts and the fly likes File Upload Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "File Upload" Watch "File Upload" New topic

File Upload

DVVN Sudhakara Rao

Joined: Oct 04, 2004
Posts: 17
I have a applicaiton using struts. In my jsp page I want to give the users option to upload a Image/emotoicon. Can any body guide me how can we achieve it?
Sujatha Kumar
Ranch Hand

Joined: Jan 05, 2004
Posts: 134
This is how you do it..

In your jsp

In your Form

In your Action

fabiano cruz

Joined: Nov 25, 2004
Posts: 1
hi Sujatha,

how to get the server's path you are uploading the file to?

I agree. Here's the link:
subject: File Upload