title: Java : different init parameters to same servlet based on different URL patteren
body: <p>Is it possible to send default parameters to same servlet but different on url-patterns.
  Like I have one servlet <code>/Add</code> different url patterns like <code>/AddPerson</code> or <code>/AddEmplyoee</code> will map to <code>/Add</code> servlet. But i want to pass some parameters when /Add servlet is called. Like when <code>/AddPerson</code> is called send type = 1 to <code>/Add</code> Servlet. When <code>/AddEmplyoee</code> is called send type = 2 to <code>/Add</code> Servlet.<br>
  I know that I can pass init parameters to <code>/Add</code> servlet using <code>&lt;init-param&gt;</code> tag.<br>
  Is it possible to do this or I want to write different servlet for each different operation?</p>