This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I am using s:file struts2 tag to upload multiple files. I want to restrict file type to PDF or XML while clicking on browser button.
Accept attribute is not supported by major browser. Is there any way when browser button is clicked, the "Chose file to upload" popup contains only File of type as PDF only.. currently it is showing me All File[*]...
when we click on choose file in the pop up box we have display *.pdf are you expecting this.
ocjp 6 — Feeding a person with food is a great thing in this world. Feeding the same person by transferring the knowledge is far more better thing. The reason is the amount of satisfaction which we get through food is of only one minute or two. But the satisfaction which we can get through the knowledge is of life long.
Varun K. Gupta
Joined: Jun 14, 2009
yes Mohana, I am excepting only *.pdf it should not show me "All Files" or any other type in dropdown.