This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 60810
    
  65

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
 
Similar Threads
vvvv urgent - Scanning and saving documents into oracle db with Twain
Combining Binary and Character data
retrieve size of an image
URGENT: opening/displaying non-text files
Displaying image blob in jsp using image tag