how can you give alias to servlets?



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

Post New Answer

More Servlets Interview Questions

What are cookies and how will you use them?

2 Answers  


Which are the different ways you can communicate between servlets?

0 Answers  


What is meant by cookies?

0 Answers  


What is the use of attribute in servlets?

0 Answers  


How is the get () method different from the post() method?

0 Answers  






What are the classes and interfaces for servlets?

4 Answers  


What do you mean by deployment descriptor?

0 Answers  


What is the use of request dispatcher interface?

0 Answers  


How servlet is created?

0 Answers  


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?

0 Answers  


Given the request path below, which are context path, servlet path and path info?

0 Answers  


servlet life cycle?

4 Answers   eMids, Wipro,


Categories