JiveJdon Community Forums
在线150人   首页   主题总表   培训咨询   精华   查搜   注册    登陆
首页 » 论坛 » 开源JdonFramework及其应用案例论坛
???en_US.forumThreadPrev.name??? 上一主题
  Go back to the topic 返回本主题   Go back to the topic listing返回主题列表
???en_US.forumThreadNext.name??? 下一主题
Go 总共有 4 回复 / 1
 发表新帖子   回复该主题贴
sky000

悄悄话
发表文章: 6
注册时间: 2003年06月04日 10:13
not found the actionForm name in action configure 2007年01月16日 23:28 到本帖网址 加入本帖到收藏夹 发送到手机 回复该主题
标签列表
Hi,各位兄弟

我在SimpleJdonFrameworkTest源码项目下面增加了一个简单的message模型相关内容进行测试
list成功了
但是其他action总是报错如下:not found the actionForm name in action configure;
但是我在Struts的config文件中确实进行配置了的
sky000

悄悄话
发表文章: 6
注册时间: 2003年06月04日 10:13
re: not found the actionForm name in action configure 2007年01月16日 23:29 到本帖网址 加入本帖到收藏夹 发送到手机 回复该主题
我的配置如下:
jdonframework.xml中:
...

<model key="ID" class ="com.jdon.framework.test.model.Message">
<actionForm name=
"messageForm"/>
<handler>
<service ref=
"messageService">
<getMethod name=
"getMessage" />
<createMethod name=
"createMessage" />
<updateMethod name=
"updateMessage" />
<deleteMethod name=
"deleteMessage" />
</service>
</handler>
</model>
</models>
<services>
<pojoService name=
"testService" class="com.jdon.framework.test.service.TestServicePOJOImp"/>
<pojoService name=
"messageService" class="com.jdon.framework.test.service.MessageServiceImpl"/>
pojoService name=
"constants" class="com.jdon.framework.test.Constants">
<constructor value=
"java:/TestDS"/>
</pojoService>
</services>


...
=======================================================
struts-config.xml中:
...

<form-beans>
...
<form-bean name=
"messageForm" type="com.jdon.framework.test.web.MessageActionForm" />
<form-bean name=
"messageListForm" type="com.jdon.strutsutil.ModelListForm" />
</form-beans>
...
<action name=
"messageForm" path="/messageAction" type="com.jdon.strutsutil.ModelViewAction"
scope=
"request" validate="false">
<forward name=
"create" path="/message.jsp" />
<forward name=
"edit" path="/message.jsp" />
</action>

<action name=
"messageForm" path="/messageSaveAction" type="com.jdon.strutsutil.ModelSaveAction"
scope=
"request" validate="true" input="/message.jsp">
<forward name=
"success" path="/messageResult.jsp" />
<forward name=
"failure" path="/messageResult.jsp" />
</action>
<action name=
"messageListForm" path="/messageListAction" type="com.jdon.framework.test.web.MessageListAction" scope="request">
<forward name=
"success" path="/messageList.jsp" />
</action>

...

请问各位一下
我的配置哪里错了啊?
实在没有找出啊


[该贴被sky000于2007-01-16 23:31修改过]
sky000

悄悄话
发表文章: 6
注册时间: 2003年06月04日 10:13
re: not found the actionForm name in action configure 2007年01月16日 23:43 到本帖网址 加入本帖到收藏夹 发送到手机 回复该主题
再就是:
我访问的action确实是:messageAction

我出错时候访问的地址:
http://localhost:8080/testJdon/messageAction.do
greenteazsh

悄悄话
发表文章: 2
注册时间: 2007年01月16日 15:01
re: not found the actionForm name in action configure 2007年01月17日 15:23 到本帖网址 加入本帖到收藏夹 发送到手机 回复该主题
sky000大侠,你好,我最近也在看SimpleJdonFrameworkTest,我用的是Tomcat和MySql,但是用http://127.0.0.1/testWeb/userAction.do的时候总是出错,插不到数据库中,你能让我看看你的数据源配置文件吗,我的邮箱是greentea05@126.com,谢谢了啊
sky000

悄悄话
发表文章: 6
注册时间: 2003年06月04日 10:13
re: not found the actionForm name in action configure 2007年01月18日 23:05 到本帖网址 加入本帖到收藏夹 发送到手机 回复该主题
我是直接下载的整体包 包括jboss、mysql和相应的应用代码
没有更改过任何data source相关配置文件

sky000#gmail.com
这个主题有 4 回复 / 1Go
???en_US.forumThreadPrev.name??? 上一主题
  Go back to the topic 返回本主题   Go back to the topic listing返回主题列表    返回页首返回页首
???en_US.forumThreadNext.name??? 下一主题
热点TAG: AOP cache 缓存 DDD EJB 集群 设计模式 Hibernate IOC JiveJdon OO RBAC Seam Spring Struts
正在读取,请等待...
google yahoo 新浪ViVi 365Key网摘 天极网摘 CSDN网摘 添加到百度搜藏 POCO网摘 博采网摘
查询本论坛内 回复超过的热门帖子
     回复该主题贴
标题
 
粗体 斜体 下划线 插入图片 插入代码 插入url链接 插入附件
内容
 

手机阅读 add to google add to yahoo
解惑之道在J道 ,打造中国最具影响力的的企业软件社区
OpenSource JIVEJDON v3.0 Powered by JdonFramework Code © 2002-08 jdon.com
anti spam