public void init() throws ServletException
{
try
{
webAppContext = new SimpleWebAppContext(getServletContext());
ServletContainerFactory.getServletContainer().registerWebApp(webAppContext, "/gateinservlet");
}
catch (Exception e)
{
e.printStackTrace();