在程序中把TOMCat重新起动,你的Jsp是放在Jsp 的目录中吗?如果不是不要加jSP
http://127.0.0.1:8080/examples/hello.jsp

解决方案 »

  1.   

    同意楼上的说法,否则要在server.xml中配置一下
      

  2.   

    我的问题还没有解决/..
    错误是
    type Status reportmessage /HelloWorld.jspdescription The requested resource (/HelloWorld.jsp) is not available
      

  3.   

    你可以搜索一下TOMCAT的配置。
    要不,你可以登陆http://localhost:8080/index.jsp看到猫的画面,点选 Manager进入管理界面,在这个界面你可以看到可以运行的程序(JSP)。然后选择你的hello.jsp就可以鳓。
    祝“圣诞快乐”!
      

  4.   

    问:
    我的HelloWorld.java和HelloWorld.class 的文件还用放到web-inf中的classes中吗??
    我用的tomcat为4.1.24版本.
    另外在server.xml中配置是不是只是改一下端口的设置
      

  5.   

    server.xml改一下配置就可以了,