A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Software Craftsman
this week in the
Problem with reading servlet output
Joined: Jan 15, 2002
Mar 31, 2005 15:20:00
I wanted to read response (raw data for the .jpg
) from the imageServlet into another
But, when I try to do it, like in the following piece of code:
URL url = new URL(protocol + context_path + "/imageServlet?param1=value1¶m2=value2¶m3=value3");
buf_is = new
I get an error in the first line. It is a server error - code 500, saying "server is confused".
Note: The URL is correct. I have tested it with the
form and in that case it works OK.
Why this doesn't work?
What should I do?
Joined: Mar 30, 2005
Apr 01, 2005 12:59:00
can you post the entire exception please?
I agree. Here's the link:
subject: Problem with reading servlet output
how to use getLastModified() ?
Jasper reports generating html files
how to encode the query string data using jstl?
problem writing ImageServlet?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015