What is the ServletConfig() and what is its use?
Answer Posted / dileep
which describes the configureation of our servlet.
generally we will declare all member variables and nmember
functiions inside init() method.thats why we are passing
ServletConfig as parameter to every init() method of the
servlet.
| Is This Answer Correct ? | 8 Yes | 8 No |
Post New Answer View All Answers
Can servlet have a constructor ?
What do you mean by request dispatcher in servlet?
What is ServletConfig object?
Given the request path below, which are context path, servlet path and path info?
Is java servlet still used?
When to use doget() and when dopost()?
Why do we need servlet filter?
What is URL Encoding?
Explain url encoding in servlet?
What is the structure of the http response
Why is init() method is used in servlets?
What do you mean by web applications? Explain web application directory arrangement?
What are the steps involved in placing a servlet within a package?
What is the difference between servlet and jsp?
What is the difference between Server and Container?