What is filter? Can filter be used as request or response?
Answer / mahesh
A filter is a reusable piece of code that can transform the
content of HTTP requests,responses, and header information.
Filters do not generally create a response or respond to a
request as servlets do, rather they modify or adapt the
requests for a resource, and modify or adapt responses from
a resource.
Is This Answer Correct ? | 10 Yes | 1 No |
Explain the difference between jsp and servlet?
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
What are the common methods that are included in the http servlet class?
What is the effective way to make sure all the servlets are accessible only when user has a valid session?
What is Single Threaded Model in Servlets? Explain this with an example?
What are the important functions of filters?
What exception should be thrown when servlet is not properly initialized?
How do you create a cookie using servlet?
What is the difference between context parameter and context attribute?
Can we override the ActionServlet?
3 Answers ArisGlobal, HCL, PPF,
What methods do you use in servlet - applet communication?
Hi 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.