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 JSF and the fly likes how to get FileName from ontyperejected event in RichFaces fileUpload 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 » Java » JSF
Bookmark "how to get FileName from ontyperejected event in RichFaces fileUpload" Watch "how to get FileName from ontyperejected event in RichFaces fileUpload" New topic
Author

how to get FileName from ontyperejected event in RichFaces fileUpload

Sudha Ramasamy
Greenhorn

Joined: May 05, 2011
Posts: 10
Hi,
I'm using richFileupload control and configured acceptedTypes as "txt,xls", so when i try to upload a '.bmp' file it fires ontyperejected event
But i dont know how to get the name of the file that I tried to upload from the typerejected event.

Does anyone know how to get this one ?

Thanks,
Sudha
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how to get FileName from ontyperejected event in RichFaces fileUpload
 
Similar Threads
special char in an uploaded file
Servlets and Images
Need help with uploading file
Delete file from client system using Jsp / servlet
reading CSV file