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 the different between a servlet and a cgi? Why do you go for servlet rather than cgi?
What’s the difference between forward() and sendredirect() methods?
What do you mean by scope object and what are its types?
What are the different methods of session management in servlets?
Why are http servlets used in programming?
What are Servlets?
can i modify the data which are generated by the servlet
What is servlet? Explain
Life Cycle of servlets?
What are all the protocols supported by httpservlet?
What are the life cycle methods of the servlet?
what are the way a client can be tracked?