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 |
List some life cycle methods of a servlet.
What are the new features added to servlet 2.5?
Why filter is used in servlet?
What is the role of the webserver?
Define servlet mapping?
Why do we need a constructor in a servlet if we use the init method?
How multiple simultaneous requests can be handled by servlets?
HTTP tunneling means what?
What is called servlet container?
Whether we can get deadlock situation in servlets?
give the syntax of doGet() and doPost()?
Explain the jar and war files in servlet?