“struts”是什么意思 Controller 读取 struts-config.xml 文件” Web 应用程序已启动?
是 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/