• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to Detect a File not Found  RSS feed

 
Steve Dyke
Ranch Hand
Posts: 1739
1
  • 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

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!