title: Deploying OSGi Servlet to Domino (IBM presentation) - 404 error
body: <p>I´m trying to deploy an OSGi container in Domino using PDE tool with Equinox. I´m following the instruction in this IBM slideshow:
  <a href="http://www.slideshare.net/fiorep/domino-osgi-development?next_slideshow=1" rel="nofollow noreferrer">http://www.slideshare.net/fiorep/domino-osgi-development?next_slideshow=1</a></p>
  
  <p>However (as per slide #52) when I browse to <a href="http://localhost/simpledemo" rel="nofollow noreferrer">http://localhost/simpledemo</a>  (after clicking Debug from Debug Configuration), I get a "404 file not found" error.</p>
  
  <p>"simpledemo" is the alias mapped in the puligin.xml file (slide 44). The servlet name is however SimpleServlet.</p>
  
  <p>Any ideas what is going on??
  Any help is much appreciated.</p>
  
  <p>My environment: Windows 2012 Server (on VM),Eclipse 3.6.2, Equinox, PDE tool and Domino Server 6.01 server.</p>
  
  <p>reference: <a href="https://stackoverflow.com/questions/32904840/deploying-osgi-servlet-to-domino">Deploying OSGi Servlet to Domino</a></p>
  
  <p>SimpleServlet.Java</p>
  
  <pre><code> package com.ibm.ls2012;
  import javax.servlet.http.HttpServlet;
  import javax.servlet.http.HttpServletResponse;
  import javax.servlet.http.HttpServletRequest;
  import javax.servlet.ServletException;
  import java.io.IOException;
  import java.io.PrintWriter;
  
  public class SimpleServlet extends HttpServlet {
  private static final long serialVersionUID = 1L;
  
  public SimpleServlet() {
  
  }
  
  @Override
  
  protected void doGet(HttpServletRequest req, HttpServletResponse resp)
              throws ServletException, IOException {
     final PrintWriter pw = resp.getWriter();
  
     resp.setContentType("text/html");
     pw.println("&lt;HTML");
     pw.println("&lt;HEAD&gt;&lt;TITLE&gt;SHOW112 - Simple Servlet Demo&lt;/TITLE&gt;&lt;/HEAD&gt;");
     pw.println("&lt;BODY&gt;");
     pw.println("&lt;BR&gt;");
     pw.println("hello world. feeling cold yet?");
  }}
  </code></pre>