Need help with outputstream

Discuss Need help with outputstream in the Java Development forum on Dev Articles. Need help with outputstream Java Development forum discussing Java, JSP, J2ME. Get help with Java and all of its related languages, libraries and variations. If itís Java-related, you can discuss it here.

i am using the same method and target URL for a test file from my local command prompt which gives me a blank response which is ok since i dont get an error. but if this code is executed through a URL in the browser it gives me a Error 500: java.lang.NullPointerException the stack trace for which is given above..