社区
Web 开发
帖子详情
配置Struts tiles时报错: does not start with a "/" character
singlehuang
2006-10-26 12:16:15
我的配置都是按struts文挡范例配置的,就是会报错!!急!!!!!!!!
...全文
283
6
打赏
收藏
配置Struts tiles时报错: does not start with a "/" character
我的配置都是按struts文挡范例配置的,就是会报错!!急!!!!!!!!
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
6 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
twenty_three
2006-10-26
打赏
举报
回复
<forward name="success" path=".acknowledgedTaskList" />
does not start with a "/" character
change it to
<forward name="success" path="/acknowledgedTaskList" />
tcmis
2006-10-26
打赏
举报
回复
你要把你的配置贴出来,不然很难找到原因
wuyg719
2006-10-26
打赏
举报
回复
我的样例:
<definition name=".acknowledgedTaskList" page="/WEB-INF/jspf/_newlayout.jsp" >
<put name="title" type="string" value="Acknowledged Task List" />
<put name="content" value="/WEB-INF/jspf/acknowledgedTaskList.jsp"/>
<put name="header" value="/WEB-INF/jspf/_header.jsp" />
<put name="left" value="/WEB-INF/jspf/_left.jsp" />
<put name="footer" value="/WEB-INF/jspf/_footer.jsp" />
</definition>
<action name="listForm" path="/acknowledgedTaskList" scope="request" type="com.terida.expert.actions.p2z.TaskAcknowledgedListAction">
<forward name="success" path=".acknowledgedTaskList" />
</action>
twenty_three
2006-10-26
打赏
举报
回复
action中
return new ActionForward("success");
改成
return mapping.findForward("success");
试一下
twenty_three
2006-10-26
打赏
举报
回复
呵呵,回答过的帖子了。
cseu
2006-10-26
打赏
举报
回复
does not start with a "/" character
错误提示说得很清楚了
Unity制作AppStore爆款《
Tiles
Hop》
C#游戏开发基础知识Unity3D基础知识Unity3D2D游戏开发基础Unity3D独立游戏开发入门
java.lang.IllegalArgumentException: Path userLogin.jsp does not s
tar
t with a
struts
异常 does not s
tar
t with a "/"
character
2008-10-10 17:43 如果你也遇到以下问题:java.lang.IllegalArgumentException: Path index.jsp does not s
tar
t with a "/"
character
org.apache.
struts
.action.Reques...
java.lang.IllegalArgumentException: Path index does not s
tar
t with a "/"
character
java.lang.IllegalArgumentException: Path index does not s
tar
t with a "/"
character
最近用
struts
的
Tiles
框架出现以下问题: java.lang.IllegalArgumentException: Path index does not s
tar
t with a "/"
character
查了好
java.lang.IllegalArgumentException: Path index does not s
tar
t with a "/" charact
java.lang.IllegalArgumentException: Path index does not s
tar
t with a "/"
character
最近用
struts
的
Tiles
框架出现以下问题:java.lang.IllegalArgumentException: Path index does not s
tar
t with a "/"
character
...
Path does not s
tar
t with a "/"
character
问题的解决
环境:
Struts
1.3.8 + Spring 2.5.4 +
tiles
1.3.8 分多模块web.xml的
配置
信息: config /WEB-INF/
struts
-config/
struts
-config-default.xml config/user /WEB-INF/
struts
-config/user/
struts
-c
Web 开发
81,094
社区成员
341,711
社区内容
发帖
与我相关
我的任务
Web 开发
Java Web 开发
复制链接
扫一扫
分享
社区描述
Java Web 开发
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章