My Question is that i am using <image> tag in my servlet and
after compilation after that calling by url in my browser
then images are not showing. Sometime images are showing and
sometime is not showing. I am using Tomcat to run my
servlets.
Tell me if there any specification for image in servlets or
what is solution for this ??
Answers were Sorted based on User's Feedback
Answer / shailendra
because it will take http path not take directory path if
you gave <img
src="http://localhost:8080/UploadExample/upload...> like
that image will definity show.
| Is This Answer Correct ? | 2 Yes | 0 No |
What is meant by a servlet?
What is done after deploying a war file and before client gives a request
Can we override servlet service method?
What are the annotations used in servlet 3?
What do you mean by annotations in servlet?
What is difference between cookies and httpsession?
Name the different ways of session tracking.
What is called Session Tracking?
What is Client-Server Computing?
what is the control flow in servlet when we send a request?
What is the difference between forward () and sendredirect () functions in servlet? Explain
Is tomcat a servlet container?