aspose file tools*
The moose likes JSF and the fly likes upload works well in a .html file but when I call it from a .xhtml file it shows an error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "upload works well in a .html file but when I call it from a .xhtml file it shows an error" Watch "upload works well in a .html file but when I call it from a .xhtml file it shows an error" New topic
Author

upload works well in a .html file but when I call it from a .xhtml file it shows an error

Dura Hurtado
Ranch Hand

Joined: Feb 16, 2011
Posts: 120
Hi it´s very fun because it works well if I run it(upload.html) alone but if it´s called from a .xhtml file in that case an error happens.


I have asked this before in "Java in general" but I think it fails because it´s inside a JSF app.


I have tried with all .jar´s from 2005 to now, and it doesn´t works.

The error is:



The servlet code is as follows:












¿Any clue? .It could be greatly appretiated


Thanks
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19759
    
  20

UseOneThreadPerQuestion. Closing this one.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: upload works well in a .html file but when I call it from a .xhtml file it shows an error