Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我为 struts2.xx 项目创建名为“test”的 war 文件时。我想知道我的 *.jsp 在哪里转换成 *.class,你能告诉我 jsp 的类文件在我的 war 文件中的确切位置吗?环境应该在Tomcat7.xx中运行
Jsp 生成的类文件不会进入war 文件。您可以在 Servlet Containers 目录中找到它们(对于 tomcat,它将类似于${CATALINA_BASE}\work\Catalina\localhost\${WebAppName}\org\apache\jsp)
${CATALINA_BASE}\work\Catalina\localhost\${WebAppName}\org\apache\jsp