This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes Custom Button with html:file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Custom Button with html:file" Watch "Custom Button with html:file" New topic
Author

Custom Button with html:file

Shiaber Shaam
Ranch Hand

Joined: Jun 16, 2006
Posts: 252
May i know how i can have custom image button for browse while using <html:file> element. Please clarify. Thanks.


$Hi/\bEr
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9291
    
  17

Struts has nothing to do with this. html:file renders a <input type="file" HTML element. If you want to customize it, you'll have to use tricks like this...>


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
 
wood burning stoves
 
subject: Custom Button with html:file
 
Similar Threads
html:file value is reset
html:file taglib ... please help
change struts default upload button
html:file tag and custom image
focus