Explains the differences between context.getrequestdispatcher() and request.getrequestdispatcher()?
What is difference between GenericServlet and HttpServlet?
i have class files in class folder. but i have no java files. but i want to modify the java files which are related to class files . how ?
Explain mvc pattern.
What is meant by session? Tell me something about httpsession class?
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!
Which method is called when reference variable is passed in system.net?
What is session tracking?
Differentiate between get and post?
Why is httpservlet declared abstract?
can i modify the data which are generated by the servlet
What advantages do servlets have over CGI programs?
hi actully i hav form columns with origin and destination names .as like as i need to create one more column with name amount. my requirement is when i select origin and destination columns automatically i need to get amount from database.how can i. please tel me with relative code