Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts2 File Upload (Submit button)

 
Abiodun Adisa
Ranch Hand
Posts: 495
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have implemented Upload in Struts using s:file, But the problem is my manager wants an image on the Submit button (The button is generated by struts2). Please how can i accomplish this
 
Ankit Garg
Sheriff
Posts: 9521
22
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Struts has nothing to do with this. The input field is just an <input type="file" /> tag, the browser renders the tag as a textbox and a button. You can find tricks like this to customize the file upload box...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic