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 / rao
u r trying wrong correct is <img src="">
| Is This Answer Correct ? | 11 Yes | 1 No |
Post New Answer View All Answers
Why do you use session tracking in httpservlet?
What is Client-Server Computing?
Explain the methods of request dispatcher in servlet?
What is the difference between servlet and jsp?
What are session variable in servlets?
Why the container loads server at the application startup and how?
What is string tokenizer?
Write the code to get the server information in servlet.
Why the concept of single thread model interface is used?
Which event is fired at the time of session creation and destroy?
If some new data has entered the database, explain how can a servlet refresh automatically?
When Servlet is unloaded?
Hello, My project requirement is like I need to create a web page using MVC pattern. I hava a bean class, jsp page, servlet, service and dao. My jsp has two fields. One is dropdown list. The option values has to get populated from the database table. The other one is a text box and its value has to come from database table. As of now I have defined the fields in bean class, got the values from database using arraylists in dao class and I called this from service class. Can anyone please tell me the workflow of how the servlet will get this arraylist and populate the arraylist values as dropdown options in jsp page? Also I would like to know the role of bean class in MVC pattern? Thanks in advance!
Servlet is pure java object or not?
What are all the advantages of servlet over cgi?