Answer Posted / srikanth
filters are used to preprocessing and postprocessing of
tasks like login,authorization,data compression,data
encoding etc
for this u need to override intit(),dofilter(),and destroy()
| Is This Answer Correct ? | 16 Yes | 0 No |
Post New Answer View All Answers
Explain the features are in servlet 3?
What is servlet mapping?
How do cookies work in servlets?
How do we go with database connection and log4j integration in servlet?
How can you run a servlet program?
why we should override only no-agrs init() method.
What are the advantages of cookies?
how many jsp scripting elements are there and what are those?
When a servlet accepts a call from a client, it receives two objects. What are they?
What are the servlet events?
What is the use of servlet wrapper classes?
What is servlet in web technology?
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!
Why doesn’t a servlet include main()? How does it work?
What is the difference between portlet and servlet?