how to use servlets with j2ee ?
Answers were Sorted based on User's Feedback
Answer / shanawaz
Servlets is a part J2EE specification and which comes under
web developement category. Servlet API comes mainly two
packages are
1. javax.servlet
2. javax.servlet.http
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / ravikiran.chd
by writing a servlet class where the business logic resides
and the configuration happens with in the web.xml
| Is This Answer Correct ? | 1 Yes | 0 No |
What is servlet and its life cycle?
When servlet object is created?
what is EJB and Java servlet
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!
Explain jsessionid and when is it created?
Explain get and post.
What do you mean by httpservlet and how it is different from the genericservlet?
What are the important functions of filters?
What is the need of session tracking in web application?
Explain their methods? Tell me their parameter names also have you used threads in servlet?
What are the steps involved in placing a servlet within a package?
What is string tokenizer?