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 ??
Answer Posted / 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 |
Post New Answer View All Answers
How do I support both get and post from the same servlet?
Explain the features are in servlet 3?
Is dispatcher servlet a singleton?
Why filter is used in servlet?
What do you mean by mime type?
Explain is servlet mapping?
How will two or three servlets interact or communicate with each other?
Which exception is thrown if the servlet is not initialized properly?
Why do we have servlet wrapper classes?
What is dispatcher servlet?
What is servlet name in web xml?
Why do we have servlet listeners?
How can the session in servlet be destroyed?
What is the dispatcher servlet?
How do you find out what client machine is making a request to your servlet