Monday, November 15, 2010

Can I map multiple URLs to single servlet?

Yes, We can map multiple urls to a single servlet.
Here i am providing the three ways :

First : By giving another servlet-mapping entry like:
Second : By giving two different name entries for single servlet
   
Three : By giving another url-pattern in servlet mapping but in not support in all servers


  

No comments:

Post a Comment