This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Struts and the fly likes FileUploadInterceptor not displaying messages on UI Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "FileUploadInterceptor not displaying messages on UI" Watch "FileUploadInterceptor not displaying messages on UI" New topic
Author

FileUploadInterceptor not displaying messages on UI

aman thind
Ranch Hand

Joined: Jun 29, 2007
Posts: 71
Could there be a particular reason why my file upload interceptor is not showing error messages on my UI but only on console?

Thanks


Aman Thind
SCJP,SCWCD
JAVA utte mar JAVA,mit JAVA
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9435
    
  20

What error are you talking about??


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
aman thind
Ranch Hand

Joined: Jun 29, 2007
Posts: 71
Ankit Garg wrote:What error are you talking about??


In my file upload interceptor the allowed content type is xls and txt. When a user tries to upload some other content type, it's showing error message on the console and not on the UI.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

How are you *trying* to display errors? TellTheDetails. ItDoesntWorkIsUseless.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: FileUploadInterceptor not displaying messages on UI
 
It's not a secret anymore!