This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to Detect a File not Found

 
Steve Dyke
Ranch Hand
Posts: 1602
1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My following code displays the PDF sent to it but I need to know how to make it work when there is no PDF file found. The code as it is now generates an error:

SRVE0068E: Could not invoke the service() method on servlet /NoPDFfileExists.jsp. Exception thrown : java.lang.IllegalStateException: SRVE0199E: OutputStream already obtained

 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic