Yes, add <context-param>to yours web.xml, for example.
<context-param>
<param-name>myParam</param-name>
<param-value>Some value</param-value>
</context-param>
This is tied to webapp as a whole, and not to individual servlets.
getInitParameter(...) ServletContext (, , getServletContext() ).