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 |
Why are servlets used?
What is the difference between ExecuteUpdate and ExecuteQuery?
How do you create a cookie using servlet?
How to upload a file to the server using servlet?
What is pure 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!
program for RequestDispatcher in servlets?
What is a cookie What is the difference between session and cookie
What is the need of session tracking in HttpServlet ?
What is the servletconfig object?
Can we use servlets in JavaScript?
If we disable cookies in our web page, what will happen?