aspose file tools*
The moose likes Servlets and the fly likes File write with JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "File write with JSP" Watch "File write with JSP" New topic
Author

File write with JSP

Raju Shrestha
Greenhorn

Joined: Aug 12, 2001
Posts: 2
I need to create text and/or xml files from JSP pages. It works fine with Tomcat server but doesn't work with Resin server. Can anybody give solution?
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12835
    
    5
When reporting "it doesn't work", you really should at least include the exception or error that is thrown - I don't think anybody here can read your mind.
I hope your JSP page has declared an errorPage and your error page dumps a complete stack trace. Also - you didn't use the all-to-common short cut:
try { somecode();
}catch(Exception e){}
which discards vital information did you?
Bill
Raju Shrestha
Greenhorn

Joined: Aug 12, 2001
Posts: 2
Unfortunately, it doesn't throw any exception. That's why I am in need of help. I tried to caught exception(s) using try..catch but it passess without exception but didn't create any file.
I'd appreciate if you try yourself with Resin server and if you got success pls. give me the code.
Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: File write with JSP