File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Custom Button with html:file" Watch "Custom Button with html:file" New topic

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.

Ankit Garg

Joined: Aug 03, 2008
Posts: 9462

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
I agree. Here's the link:
subject: Custom Button with html:file
It's not a secret anymore!