Hi All

Somehow I have a servlet (a controller in the MVC model) which
automatically forwards to a zip file. Let's call it ServletA. When I
run ServletA, the browser pops up a window to ask the path to save
the file. This works fine.

However, my real intent is to include this page from some other page,
say B.jsp, by using URLConnection.getInputStream(). This worked if
the target page was either html or xml, but not for such a binary file from
ServletA.

The error message is
        java.lang.RuntimeException: bad scheme

I'm ruuning Resin1.1.5 + IIS4 + NT4.0 + SP5.0.

Can anyone tell me how to resolve this? Thanks in advance.
regards
Lynch

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to