aspose file tools*
The moose likes Servlets and the fly likes display image and text Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "display image and text" Watch "display image and text" New topic
Author

display image and text

yogitad devarajan
Greenhorn

Joined: Oct 18, 2006
Posts: 8
Hi ,
I am trying to display an image and text but I am not sure abt how to do it..I tried to create a servlet to display the text and set the setcontenttype to text/html and tried to call another sevlet which has the image by setting the img src to point to that servlet..but it dosen't work ..could anyone let me know how to do it or if I could get sample code , that would be great!!
thanks
yogita
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61606
    
  67

but it dosen't work


These are the four most useless words you can post to these forums.

Your approach is correct. In order to diagnose why it doesn't work we need to know a lot more than "it doesn't work".


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

Is your problem similar to these?

preparing a jsp that has both image and text
Display images and text
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: display image and text