关于struts1.x Path xxx.xml does not start with a "" character 异常的解决方式

    xiaoxiao2021-03-25  96

    今天在配置struts1时出现一个问题

    Path xxx.xml does not start with a "/" character

    废话不多说

    经查阅资料发现问题可能有以下几种 1,action-mappings 中 action 的input属性没有以/开头。 2,action-mappings 中 action 的path属性没有以/开头。 3,引入struts配置文件xxx.xml时,文件路径没有以/开头。 4,其他情况没有一一测试。欢迎补充。

    我这里的情况是3,更改后问题解决。

    转载请注明原文地址: https://ju.6miu.com/read-24081.html

    最新回复(0)