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 can you run a servlet program?
What is servlet in simple terms?
What are Servlets?
Is it good idea to create servlet constructor?
What is the disadvantage of cookies?
What is meant by servlet? What are the parameters of the service method?
What are sessions in servlets?
What are the important functions of filters?
Can we get PrintWriter and ServletOutputStream both in a servlet?
I Have A Plan to develop a Project in Struts,I want the template of struts project with Hibernate.Canany body provide me the required information?
How do we call one servlet from another servlet?
How to generate the server side programming and the advantages of it over the other languages?
What do you mean by cgi and what are its drawbacks?
Can you create a deadlock condition on a servlet?
What is java servlet session?