What is the difference between ExecuteUpdate and
ExecuteQuery?
Answer Posted / fiza
when we seach any record from database we call the execute
query and when we write in database we call the update
method
Is This Answer Correct ? | 15 Yes | 3 No |
Post New Answer View All Answers
How can we achieve transport layer security for our web application?
Can a jsp be called using a servlet?
Explain the difference between servlet and cgi?
Can you use javascript in servlets?
What does the term localization refer to?
What is servlet? Explain
What exactly is a servlet?
What do you mean by singlethreadmodel interface?
Which httpsession object is used to view and manipulate information about a session?
What is the servletconfig object?
What are some advantages of storing session state in cookies?
What exactly are the functions of servlet?
If my browser does not support cookie, and my server sends a cookie instance what will happen?
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!
How do we share data using 'getservletcontext ()?