社区
Java EE
帖子详情
struts 的ActionErrors的classcastException问题
daodaobing
2006-11-20 10:49:39
程序框架是用myeclipse5.0自动生成的。 struts1.1的
不知道为什么我给ActionErrors设置了参数和值
在jsp页面调用<html:errors/>的时候报类型转换异常。
问问各位有没有碰到这样的问题啊。
是不是我自动生成的struts.jar包有问题啊。 晕。
...全文
139
2
打赏
收藏
struts 的ActionErrors的classcastException问题
程序框架是用myeclipse5.0自动生成的。 struts1.1的 不知道为什么我给ActionErrors设置了参数和值 在jsp页面调用的时候报类型转换异常。 问问各位有没有碰到这样的问题啊。 是不是我自动生成的struts.jar包有问题啊。 晕。
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
2 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
star_str
2006-11-21
打赏
举报
回复
是不是我自动生成的struts.jar包有问题啊!
你是否修改过?
那你需要注意修改的时候你用的jdk的版本!其实最好你用Ant部署的时候再统一部署一下!
daodaobing
2006-11-21
打赏
举报
回复
就是哪个struts.jar包的问题。 但是我就是不明白。
1.29版本。 和1.35版本区别怎么大吗? 晕。
java.lang.
ClassCastException
: org.apache.
struts
.
action
.
Action
Message 错误
java.lang.
ClassCastException
: org.apache.
struts
.
action
.
Action
Message 错误 java.lang.
ClassCastException
: org.apache.
struts
.
action
.
Action
Messageorg.apache.
struts
.taglib.html.
Errors
Tag.doStartTag(
Errors
Ta
Validator
问题
及解决办法——java.lang.
ClassCastException
: org.apache.
struts
.validator.ValidatorForm cannot be cast to forms.RegisterForm
还是那个register的例子,我想加上
struts
的validator。 但是遇到一个错误,几天都没有解决,每次点击register.jsp中的register按钮时,就会出错,如下: java.lang.
ClassCastException
: org.apache.
struts
.validator.ValidatorForm cannot be cast to
struts
1源码研究: org.apache.
struts
.
action
.
Action
代码中注释及翻译全为个人见解,若有错误之处请指正。 actoin中的方法 大多是针对 Messages,
Errors
,token的一些操作。 package org.apache.
struts
.
action
; import org.apache.
struts
.Globals; import org.apache.
struts
.config.ModuleConfig; impo
struts
1源码研究: org.apache.
struts
.
action
.
Action
Form
Action
Form 源码+注释翻译。 郁闷,第一次翻译的文件被我弄丢了,又重来了一遍。 import org.apache.
struts
.upload.MultipartRequestHandler; import javax.servlet.ServletRequest; import javax.servlet.http.HttpServletRequest; impo
org.apache.
struts
.
action
.
Action
Message cannot be cast to org.apache.
struts
.
action
.
Action
Error
http://cache.baidu.com/c?word=
action
%3B%2E%3B
action
message%2Ccannot%2Cbe%2Ccast%2Cto%2Corg%3B%2E%3Bapache%3B%2E%3B
struts
%3B%2E%3B
action
%3B%2E%3B
action
error&url=http%3A//grp0606grp%2Espaces%2Elive%2Eco
Java EE
67,513
社区成员
225,879
社区内容
发帖
与我相关
我的任务
Java EE
J2EE只是Java企业应用。我们需要一个跨J2SE/WEB/EJB的微容器,保护我们的业务核心组件(中间件),以延续它的生命力,而不是依赖J2SE/J2EE版本。
复制链接
扫一扫
分享
社区描述
J2EE只是Java企业应用。我们需要一个跨J2SE/WEB/EJB的微容器,保护我们的业务核心组件(中间件),以延续它的生命力,而不是依赖J2SE/J2EE版本。
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章