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 OOAS
Which java application server is the best?
What is servlet invoker?
Is dispatcher servlet a singleton?
Explain the difference between servletconfig and servletcontext in servlet?
without session Id can we do any operations like add,update,edit,delete. I saw Session id is loaded for edit and delete action not for add .so am asking this
How the typical servlet code look like ?
When is the servlet instance created in the life cycle of servlet? What is the importance of configuring a servlet?
Which method the Servlet container call to create the instance of the servlet?
16 Answers emc2, JK Technosoft,
How is an application exception handling is done using a servlet?
What are the different methods involved in generic servlet?
How to prevent browser from caching the page content?