jsp calling servlet problem - Websphere

This is a discussion on jsp calling servlet problem - Websphere ; hi frinds i have written small web application. i am able to deploy it but the problem is if i call the servlet from jsp it is giving errror here is the code. iam using applicatin server websphere. index.jsp test ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: jsp calling servlet problem

  1. jsp calling servlet problem

    hi frinds i have written small web application. i am able to deploy it but the problem is if i call the servlet from jsp it is giving errror here is the code.
    iam using applicatin server websphere.
    index.jsp



    test


    Login



    Userid:



    Password:










    here is the web.xml




    test

    loadMenuController
    loadMenuController
    com.eng.loadMenuController


    loadMenuController
    /loadMenuController


    index.html
    index.htm
    index.jsp
    default.html
    default.htm
    default.jsp



    under web-inf classes ther direcotry com.eng an class loadMenuController.class exist.

    com.eng.loadMenuController.class

    can any one tell what is the problem it is giving"The page cannot be found"
    can any one tell what is the probelm ???

    thanks
    vin

  2. Re: jsp calling servlet problem

    First, a JSP doesn't call a servlet. You have a link embedded in a web page that should take you to a servlet.



    What do you get when you try to browse directly to the servlet URL?



    Ken

+ Reply to Thread