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
What is the difference between get and post methods?
Define the servlet mapping.
What exception should be thrown when servlet is not properly initialized?
How can you use a servlet to generate a plain text instead of html?
Why do we have servlet wrapper classes?
What are all the ways for session tracking?
What is called Scriptlet?
Why do you use session tracking in httpservlet?
What mechanisms are used by a Servlet Container to maintain session information?
What is servlet? Explain
What are the functions of Servlet container?
What do you mean by chaining in servlet?
How the typical servlet code look like ?
Explain load on start-up and its importance?
What is difference between get and post method?