Java开发网 Java开发网
注册 | 登录 | 帮助 | 搜索 | 排行榜 | 发帖统计  

您没有登录

» Java开发网 » Java EE 综合讨论区  

按打印兼容模式打印这个话题 打印话题    把这个话题寄给朋友 寄给朋友    该主题的所有更新都将Email到你的邮箱 订阅主题
flat modethreaded modego to previous topicgo to next topicgo to back
作者 Spring BindTag 放在JBoss下面页面不能编译问题
wallacer

HUST



发贴: 30
积分: 1
于 2007-10-23 07:49 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
Spring BindTag的配置如下:
<spring:bind path="command.username" >
<input type="text" value=" <c:out value="${status.value}"/ >"
name=" <c:out value= '${status.expression} '/ >" > (必须大于等于4个字符) <br >
<c:if test="${status.error}" >
<font color="#FF0000" > 错误:
<c:forEach items="${status.errorMessages}" var="error" >
<c:out value="${error}" / >
</c:forEach > </font >
</c:if >
</spring:bind >

放在Tomcat 5.0.28下面运行没有问题,但是将war包部署到JBoss下面出现如下错误:

Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: Unable to compile class for JSP

Generated servlet error:
The method _jspx_meth_c_out_0(JspTag, PageContext, int[]) in the type registerform_jsp is not applicable for the arguments (BindTag, PageContext, int[])

Generated servlet error:
The method _jspx_meth_c_out_1(JspTag, PageContext, int[]) in the type registerform_jsp is not applicable for the arguments (BindTag, PageContext, int[])

Generated servlet error:
The method _jspx_meth_c_if_0(JspTag, PageContext, int[]) in the type registerform_jsp is not applicable for the arguments (BindTag, PageContext, int[])

Generated servlet error:
The method _jspx_meth_c_out_3(JspTag, PageContext, int[]) in the type registerform_jsp is not applicable for the arguments (BindTag, PageContext, int[])

……

百思不得其解!



 "your future depends on your dream, so go to sleep."

flat modethreaded modego to previous topicgo to next topicgo to back
  已读帖子
  新的帖子
  被删除的帖子
Jump to the top of page

   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923