How To Create Struts 2 helloWorld on Eclipse(新建struts2项目)

本文介绍如何在Eclipse上创建Struts2的HelloWorld项目,并配置struts.xml文件。此外,还解决了常见的错误,例如找不到指定操作的配置或没有映射的动作等问题。

 1.How To Create Struts 2 helloWorld on Eclipse

   http://www.howtodothings.com/computers-internet/how-to-create-struts-2-helloworld-on-eclipse

 

 2. How to Configure the struts.xml (exspecial namespace)

   http://struts.apache.org/2.0.14/docs/namespace-configuration.html

 

 3. If you got errors with "No configuration found for the specified action "

    or  "There is no Action mapped for namespace / and action name ..."

   http://struts.apache.org/2.0.14/docs/namespace-configuration.html

   http://www.wantii.com/wordpress/?p=13

 

 4. Be carefuly when invoke the action

   

    >>configure struts.xml .

   

 

   >>invoke the action with namespace="/sample" in JSP ,it is important ,be careful.

  

 

 

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值