how can you give alias to servlets?
Answer / vikas
go to web.xml
in side sevlet-mapping tag define the url-pattern
Is This Answer Correct ? | 2 Yes | 0 No |
What are cookies and how will you use them?
Which are the different ways you can communicate between servlets?
What is meant by cookies?
What is the use of attribute in servlets?
How is the get () method different from the post() method?
What are the classes and interfaces for servlets?
What do you mean by deployment descriptor?
What is the use of request dispatcher interface?
How servlet is created?
Once the destroy() method is called by the container, will the servlet be immediately destroyed? What happens to the tasks(threads) that the servlet might be executing at that time?
Given the request path below, which are context path, servlet path and path info?
servlet life cycle?