Unable to execute servlet


Web tier: servlets, JSP, Web frameworks: Unable to execute servlet

  1. Unable to execute servlet (1 messages)

    I have created a war module named myFirstServlet.war file using SJS application server deploytool.

    The WAR file was deployed on server successfully (which contains a simple servlet that shows output as "Simple servlet") on SJS application server. But when I execute it, it shows the directory listing instead of showing the servlet output?

    what am i doing wrong? any suggestions?

    Threaded Messages (1)

  2. check your web.xml[ Go to top ]

    check your servlet mapping in your web.xml file.