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 difference between the http servlet and generic servlet?
How servlets can be automatically reloaded?
How to create war file?
What are the different methods involved in generic servlet?
What do you mean by session tracking?
Why servlet is mostly used?
Explain jsessionid and when is it created?
How servlet is created?
Elucidate servlet attributes and its scope?
How an Image can be loaded in a Servlet ?
What methodology can be followed to store more number of objects in a remote server?
what is the difference between Servlet and JSP?Advantage of JSP over Servelt?Any concept present in JSP which we cant implement in Servlet?
31 Answers ABC, Apere, AZTEC, CTS, CybAge, iFlex, Impact Systems, Sara, TCS,