what is the difference between?when we write the code in following manner? class One extends httpservlet { } and class One extends genericservlet { }
4 8085Hi guys.. Well can u tell me that why there is need of "init()" , i mean why can not we initialize the servlet object with the help of constructors? Thank you.
7 9930i 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 ?
TCS,
5 11395
What do you mean by session tracking?
How can we refresh automatically when new data is entered into the database?
Explain the servlet filter.
What is the need of session tracking in web application?
What is the difference between encodeRedirectUrl and encodeURL?
Is tomcat a servlet container?
What if we pass negative value in load-on-startup?
Differentiate between get and post?
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!
What are the advantages of Servlet over CGI?
What is servlet instance?
What is the difference between the http servlet and generic servlet?
What is the requirement of servlet config and servlet context implemented and how are they implemented?
Why is servlet used?
What is servlet api used for conneting database?