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