Results for “java stringreader inputstream function 2 code 1 site:java.com video”
bugs.java.com
Bug ID: JDK-4267294 InputStream must be created in getInputStream...
The stream is already consumed when the second getInputStream() is executed. So I'm forced to write the stream to a temporary file (because it may not fit in a memory resident ByteArrayInputStream), and return a new InputStream object each time.
bugs.java.com
Bug ID: JDK-4233012 HTMLEditorKit can't cope with HTTP-EQUIV...
I have now isolated the problem into a single piece of code for demonstration purposes. This is cut down from a larger piece of software which uses the Java Activation Framework (hence the use of InputStreams). I have attached the code, and two trivial HTML documents.