aspose file tools*
The moose likes Servlets and the fly likes want an image as background in response to a request Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "want an image as background in response to a request" Watch "want an image as background in response to a request" New topic
Author

want an image as background in response to a request

Sid Sharama
Greenhorn

Joined: Feb 06, 2005
Posts: 11
hi,
in response to a requset the servlet should generate an html page.and that html page's background should be an image.
how do i do it?
one more,
with in the same servlet can i keep changing the content type of the response like
out = res.getWriter();
res.setContentType("text/html");
//generate response
out.close();

out = res.getWriter();
res.setContentType("text/plain");
//generate response
thank you,
sri
 
 
subject: want an image as background in response to a request
 
Similar Threads
Unexpected output
Content type / MIME mapping question
Mission accomplished.. thanks everyone...
character encoding problem
How to use body background in a HTML page thru servlet