I have some Java Web Application and now it's starting from index.jsp page. I have my own class with following code:
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
public class EntryPointClass extends HttpServlet {
@Override
public void doGet(HttpServletRequest request, HttpServletResponse response)
throws IOException, ServletException
{
....
}
}
My MANIFEST.MF file looks like:
Manifest-Version: 1.0
Main-class: asap.vito.mobileapi.EntryPointClass
But anyway, after deleting index.jsp I have a 404 error.
What should I change to start my app directly from my java class?
Thank you.