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 |
Why servlet is mostly used?
Life Cycle of servlets?
difference between request.getSession(false) or request.getSession() and request.getSession(true)
What are the different methods involved in generic servlet?
Explain the difference between jsp and servlet?
Differentiate between get and post?
what is the difference between ServletContext and ServletConfig
What if you need to span your transaction across multiple servlet invocations?
Explain the methods in Generic and HTTP Servlets?
What is called Session Tracking?
How to get the path of servlet in the server?
How can we create deadlock situation in servlet?