Forums Register Login

Image in HTML content

+Pie Number of slices to send: Send
Hi everybody,

I have servlet code that set content to HTML and print HTML tags

I have one problem with image , the image is not displayed even I set src attribute to the correct path

where I should place the image ? , I put it in the ROOT folder but the problem is not solved


note : I use local tomcat server

please help me


thanks in advance




+Pie Number of slices to send: Send
If the image is not appearing, chances are that you have not used the correct URL path.

Please TellTheDetails. Without knowing what you set the path to, it's impossible to even guess how it might be incorrect.
+Pie Number of slices to send: Send
Could you post your code? It will help us to help you.

I think she's lovely. It's this tiny ad that called her crazy:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 893 times.
Similar Threads
Not able to display image from the object retrieved back from the database into the jsp page.
Load image fromt disk to servlet
Showing image from servlet
Is there a solution?
image in JSP page
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 13:20:40.