er 16, 2011 4:03 PM
> To: Tomcat Users List
> Subject: Re: How to return jpg from another disk location
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Jeffrey,
>
> On 9/13/2011 1:21 PM, Jeffrey Janner wrote:
> > Our app currently is not distributable a
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jeffrey,
On 9/13/2011 1:21 PM, Jeffrey Janner wrote:
> Our app currently is not distributable as a war file due to some
> decisions made long ago (properties files that need to be modified
> stored in WEB-INF, etc.).
>
> [snip]
>
> However, there
Ask your programmer to write a servlet that reads the image and writes it to
the output stream (ServletResponse.getOutputStream()). They should call
ServletResponse.setContentType("image/jpeg") before they write (or whatever
the MIME type is--image/png, image/gif, etc.).
I recommend they also chec
Assume Tomcat 6/Java 6 and must be OS agnostic.
Our app currently is not distributable as a war file due to some decisions made
long ago (properties files that need to be modified stored in WEB-INF, etc.).
I have found ways to work around most of the issues, mostly involving moving
things from