Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

File Upload

 
DVVN Sudhakara Rao
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
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
Posts: 134
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is how you do it..

In your jsp


In your Form


In your Action
 
fabiano cruz
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi Sujatha,

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

thks
fabiano
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic