gpt4 book ai didi

java - struts Controller 在读取struts-config.xml文件时创建 Action 目标吗?

转载 作者:行者123 更新时间:2023-12-02 00:52:29 25 4
gpt4 key购买 nike

  1. “struts”是什么意思 Controller 读取struts-config.xml 文件”Web 应用程序已启动?

  2. 是 Controller 创建 Action 对象在阅读 struts-config 时文件?

最佳答案

当struts读入文件时,它只是解析它并加载 Action 定义。您将得到的唯一错误是 XML 解析错误。不确定 Struts 2,但在 Struts 1 中,它不会验证对象或转发的目标是否存在或编译。这是运行时检查

关于java - struts Controller 在读取struts-config.xml文件时创建 Action 目标吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2425992/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com