jsp页面是没有问题的,出现的异常是:
HTTP Status 404 - /ChatBoard/ViewMessageServlet/index.jsp
--------------------------------------------------------------------------------
type Status report
message /ChatBoard/ViewMessageServlet/index.jsp
description The requested resource (/ChatBoard/ViewMessageServlet/index.jsp) is not available.
--------------------------------------------------------------------------------
Apache Tomcat/5.5.26
可是我这里没有ViewMessageServlet这个文件夹啊
追答你的工程目录是什么样子的?发出来看一下
追问目录
追答你访问 http://localhost:8080/ChatBoard/index1.jsp 试一下
追问可是在eclipse中运行时,目录中总是冒出ViewMessageServlet这个文件夹,不知道是为什么
追答好使了么?这个么,不好说,可能是你对工程做了什么配置,导致他自动生成