aspose file tools
The moose likes Servlets and the fly likes display image and text Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Servlets
Reply 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: 56152
    
  13

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".


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: display image and text
 
Similar Threads
vvvv urgent - Scanning and saving documents into oracle db with Twain
retrieve size of an image
Combining Binary and Character data
URGENT: opening/displaying non-text files
Displaying image blob in jsp using image tag