The absolute uri: http://struts.apache.org/tags-bean cannot be resolved in either web.xml or the jar files deployed with this ap

天天向上向上向上 2007-10-16 05:07:06
<form action="/scms/letterBox.do" method="post">
<input type="hidden" name="type" value="Login">
<input type="hidden" name="k" value="k2">
姓名<input type="text" name="UserName" id="UserName"><br>
密码<input type="text" name="Password" id="Password"><br>
            <input type="submit" name="button" value="登录" >
<a href="/scms/letterBox_page/apply.jsp" target="_parent">注册</a>
领导请从这里<a href="/scms/letterBox_page/come.jsp" target="_parent">登录</a>
</form>


访问下面这个页面报错The absolute uri: http://struts.apache.org/tags-bean cannot be resolved in either web.xml or the jar files deployed with this application


<%@ page language="java" pageEncoding="gb2312"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html:html lang="true">
<head>
<html:base />

<title>注册页面</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
<link rel="stylesheet" type="text/css" href="styles.css">
-->

<link href="../css/base.css" rel="stylesheet" type="text/css" />
<SCRIPT language=javascript>
function unselectall()
{
if(document.myform.chkAll.checked){
document.myform.chkAll.checked = document.myform.chkAll.checked&0;
}
}

function CheckAll(form)
{
for (var i=0;i<form.elements.length;i++)
{
var e = form.elements[i];
if (e.Name != "chkAll")
e.checked = form.chkAll.checked;
}
}
</SCRIPT>

<style type="text/css">
<!--
.style1 {font-size: 12}
-->
</style>

</head>

<body>
<form action="/scms/letterBox.do" method="post">
<input type="hidden" name="type" value="Add_User">
<input type="hidden" name="k" value="k2">
<table width="97%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#cccccc">
<tr>
<td align="center" valign="center" bgcolor="#F6F9FE" class="fontblue"><h3>会员注册</h3></td>
</tr>
<tr >
<td bgcolor="#FFFFFF" >
<table width="100%" border="0" align="middle" cellpadding="0" cellspacing="2">
<tr bgcolor="#F6F9FE" align="center">
<td width="42%" height="26" bgcolor="#F6F9FE" class="fontblue"><div align="right">用 户 名</div></td>
<td width="58%" height="26" class="fontblue" align="left"><INPUT name=UserName class="input2" size=30 maxLength=14 >
<font color="#FF0000">*</font></td>
</tr>
<tr bgcolor="#F6F9FE" >
<td height="26" bgcolor="#F6F9FE" class="fontblue"><div align="right">密      码</div></td>
<td height="26" bgcolor="#F6F9FE"><span class="fontblue"><INPUT name=Password type=password class="input2" size=33 maxLength=12>
<font color="#FF0000">*</font></span> (至少6位)</td>
</tr>
<tr bgcolor="#F6F9FE" >
<td height="26" bgcolor="#F6F9FE" class="fontblue"><div align="right">确认密码</div></td>
<td height="26" class="fontblue"><INPUT name=PwdConfirm type=password class="input2" size=33 maxLength=12>
<font color="#FF0000">*</font> </td>
</tr>
<tr bgcolor="#F6F9FE" >
<td height="26" bgcolor="#F6F9FE" class="fontblue"><div align="right">密码问题</div></td>
<td height="26" class="fontblue"><INPUT name="UserQuesion" type=text class="input2" size=30 maxLength=50>
<font color="#FF0000">*</font></td>
</tr>
<tr bgcolor="#F6F9FE" >
<td height="26" bgcolor="#F6F9FE" class="fontblue"><div align="right">问题答案</div></td>
<td height="26" class="fontblue"><INPUT name="UserAnswer" type=text class="input2" size=30 maxLength=20>
<font color="#FF0000">*</font></td>
</tr>
<tr bgcolor="#F6F9FE" >
<td height="26" bgcolor="#F6F9FE" class="fontblue"><div align="right">性      别</div></td>
<td height="26" bgcolor="#F6F9FE"><span class="fontblue">
<INPUT type=radio CHECKED value="1" name=UserSex>
</span> 男  
<INPUT type=radio value="0" name=UserSex>
女</td>
</tr>
<tr bgcolor="#F6F9FE" >
<td height="26" bgcolor="#F6F9FE" class="fontblue"><div align="right">Email地址</div></td>
<td height="26" class="fontblue"><INPUT name=UserEmail class="input2" size=30 maxLength=50>
<font color="#FF0000">*</font></td>
</tr>
<tr bgcolor="#F6F9FE" >
<td height="26" bgcolor="#F6F9FE" class="fontblue"><div align="right">主      页</div></td>
<td height="26" class="fontblue"><INPUT name=homepage class="input2" value="http://" size=30 maxLength=100></td>
</tr>
<tr bgcolor="#F6F9FE" >
<td height="26" bgcolor="#F6F9FE" class="fontblue"><div align="right">QQ号 码</div></td>
<td height="26" class="fontblue"><INPUT name=QQ class="input2" size=30 maxLength=20></td>
</tr>
<tr bgcolor="#F6F9FE" >
<td height="26" bgcolor="#F6F9FE" class="fontblue"><div align="right">M S N</div></td>
<td height="26" class="fontblue"><INPUT name=MSN class="input2" size=30 maxLength=50></td>
</tr>
<tr bgcolor="#F6F9FE">
<td height="33" colspan="2" align="center" class="fontblue"><table border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<TD WIDTH=59 height="23" align="center" background="../images/publish_17.gif"><input name="Submit" type="submit" class="btnimg" value="确 定"></TD>
<td> </td>
<TD WIDTH=60 COLSPAN=2 align="center" background="../images/publish_17.gif"><input name="ok2" type="reset" class="btnimg" value="取 消"></TD>
<td width="111"> </td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
</form>
</body>
</html:html>

...全文
4377 10 打赏 收藏 转发到动态 举报
写回复
用AI写文章
10 条回复
切换为时间正序
请发表友善的回复…
发表回复
GUNNER_10 2012-08-01
  • 打赏
  • 举报
回复
哪位大哥大姐能说下具体的解决步骤吗,小弟是菜鸟实在不明白啊
hmxingkong 2011-11-06
  • 打赏
  • 举报
回复
你用的是struts2框架,但是你页面标签使用的是struts1的标签,当然会无法解析啦,检查下
house802 2011-06-28
  • 打赏
  • 举报
回复
The absolute uri: http://java.sun.com/jsp/jstl/fmt cannot be resolved in either web.xml or the jar files deployed with this application
我同七楼报的错一样,不知道怎么解决啊!~
  • 打赏
  • 举报
回复
学习了。不过我的问题是:The absolute uri: http://java.sun.com/jsp/jstl/fmt cannot be resolved in either web.xml or the jar files deployed with this application
和楼主的问题一样么?
guojun2009 2009-09-09
  • 打赏
  • 举报
回复
奏效 谢谢了 !!
xp0913520 2008-12-05
  • 打赏
  • 举报
回复
正确答案,呵呵
hejianjiao 2008-06-13
  • 打赏
  • 举报
回复
以上回答是正确的,我也遇到同样的问题,确实你建立项目是选择的是Struts1.1支持,当该为Struts1.2时,标签内的内容就可以正常显示
laidor 2008-05-07
  • 打赏
  • 举报
回复
可能 是你在加入STRUTS框架支持的时候选择的是 STRUTS1.1
  • 打赏
  • 举报
回复
怎么还是没人知道这是个什么错误么???????????
  • 打赏
  • 举报
回复
难道没人知道The absolute uri: http://struts.apache.org/tags-bean cannot be resolved in either web.xml or the jar files deployed with this application 这个是个什么问题???错误出在哪???/

81,094

社区成员

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

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