myeclipse运行struts时出现的奇怪问题!急!急!

sunnyly81 2005-05-06 01:26:11
我在myeclipse上配置好struts,并建好了一个简单的工程,在浏览器中输入jsp路径时出现这样的错误
:The absolute uri: http://jakarta.apache.org/struts/tags-bean cannot be resolved in either web.xml or the jar files deployed with this application
我打开web.xml 的确没有tld文件,但用手工的方式加不进去啊,它不认<taglib>。struts.jar下的META-INF.tld 中有所有需要的tld。
我的jsp如下:<%@ page language="java"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html"%>
<html>
<head>
<title>JSP for helloForm form</title>
</head>
<body>
<html:form action="/hello">
hello world!!!
<html:submit/><html:cancel/>
</html:form>
</body>
</html>
这个问题不知大家有没有遇到过,怎么解决啊。。。期待中。。
...全文
92 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
海天候 2005-05-07
  • 打赏
  • 举报
回复
手工加,重启
sunnyly81 2005-05-07
  • 打赏
  • 举报
回复
老兄,加不了啊。我的web.xml根本不认<taglib>的。加进去会提示出错的。。。
csdn就没人回答这个简单的问题吗?心寒。。。

58,453

社区成员

发帖
与我相关
我的任务
社区描述
Java Eclipse
社区管理员
  • Eclipse
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧