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 is a servlet implemented in code?
How is an application exception handling is done using a servlet?
What do you mean by mime type?
What is the functionality of actionservlet and requestprocessor?
Explain the difference between servletconfig and servletcontext in servlet?
What are the different ways we can maintain state between requests?
What is servletconfig?
What are the steps involved in placing a servlet within a package?
What is setattribute in servlet?
What is cookies in servlet with example?
What is the major difference between servlet and applet?
Which event is fired at the time of session creation and destroy?
What are life cycle methods of a servlet?
What are the annotations used in servlet 3?
How do you create a cookie using servlet?