You must specify exactly one of "forward", "href", "page" or "action
来源:互联网 发布:vb.net 资源文件exe 编辑:程序博客网 时间:2024/06/01 09:10
运行struts代码的时候老是出现上面问题,怎么办,查啊,对代码进行地毯式过滤,终于揪出“元凶”,原来是<html:link>标签惹的祸,我很粗心,竟然套了两层<html:link>标签,如下:
<html:link>
<html:link action="/viewm">编辑</html:link>
</html:link>
这样不错才怪。另外,如果缺少action/href属性时也会出现这样的错误...
- You must specify exactly one of "forward", "href", "page" or "action
- configure:cannot guess build type; you must specify one
- You must specify the value attribute or nested tag
- Compiler error: must take exactly one argument
- configure: error: cannot guess build type; you must specify one解决办法
- checking build system type... configure: error: cannot guess build type; you must specify one
- checking host system type... configure: error: can not guess host type; you must specify one
- configure: error: cannot guess build type; you must specify one解决方法
- Eclipse 发生 to generate dependencies you must specify either -M or -MM 错误
- Unknown lifecycle phase "mvn". You must specify a valid lifecycle phase or a goal
- ValueError: cannot index a corpus with zero features (you must specify either `num_features` or a no
- Unknown lifecycle phase "mvn". You must specify a valid lifecycle phase or a goal
- Page size must not be less than one&Page 1 of 1 containing UNKNOWN instances
- SharePoint Wiki Page 编辑内容保存时报错:you must specify a value for this required field
- mount: you must specify the filesystem type
- mount: you must specify the filesystem type
- mount: you must specify the filesystem type
- mount you must specify the filesystem type
- javax.servlet.jsp.JspException: Missing message for key "xxxxxx"
- 强大的社工之-重庆黑客联盟
- No getter method for property suggested of bean org.apache.struts.taglib...解决方法
- Cannot retrieve mapping for action /InquiryAction解决方法
- Enterprise Architect使用心德
- You must specify exactly one of "forward", "href", "page" or "action
- java.lang.ClassCastException
- JDK6.0学习笔记(二)垃圾收集机制-对象引用的类型
- java.lang.NumberFormatException: For input string:
- OSGi的编程思想
- js 操作cookies
- CUDA easy start up
- 向前兼容和向后兼容
- 手机上网被卡住?免费WAP网站没了用户资料