<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.1//EN" "http://struts.apache.org/dtds/struts-2.1.dtd">
<struts>
<constant name="struts.devMode" value="true" />
<package name="default" namespace="/" extends="struts-default">
<action name="hello">
<result>/helloword.jsp</result>>
</action>>
</package>
</struts> 总提示出错
The content of element type "package" must match "(result-
types?,interceptors?,default-interceptor-ref?,default-
action-ref?,default-class-ref?,global-results?,global-
exception-mappings?,action*)".
解决方案 »
- jsp创建错误页面问题
- 我想要限制同一个用户在不同的地方重复的登录,我该怎样实现。
- struts2中,加载struts.xml文件,会出现dtd找不到的问题
- 求树状菜单,带数据库和复选框的那种?
- 急求高手解决 -- 一个关于xmlbeans 的问题 顺便散分了。。要的速度啊
- JAVA中用URL 类得到文件名的问题
- Validator验证问题
- 有关ActionMappings or ActionFormBeans collection的错误,很急ing。。。望大虾们帮帮忙!
- jsp为什么总是提示:variable request ?
- 美格 XJ 530 显示器变暗,亮度已经调到最高了,还有什么办法可以调亮一点吗?
- sqlServer2008 Hibernate 查询问题!望高手解惑!
- struts 拦截器验证用户登录
<result>/helloword.jsp</result>>
</action>><result>/helloword.jsp</result>>
最后一个 > 去掉 </action>>
最后一个 >去掉。