Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Howto: call a Servlet from another Servlet (E

Help
2010-09-20
2013-04-26
  • Hello,

    I have create two Servlets (LoginServlet & UserListServlet).
    I'm using a JSP für the User credentials. When you press the button, the LoginServlet is called.

    I would like to call the UserListServlet, when the username and password are correct.

    How can I call UserListServle from LoginServlet. I would like to call a Servlet from another servlet.

    Where can I find some examples?

    Thanks,
    Michael