This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Customer Requirements for Developers and have Marcho Behler on-line!
See this thread for details.
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


Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: want an image as background in response to a request
 
jQuery in Action, 3rd edition