If you need to set an external folder to Tomcat, you can do that in "setclasspath.bat" (windows). At the end of this file, change the last few lines to the following:
:end
set CLASSPATH=%CLASSPATH%;/path-to-your-external-folder
exit /b 0
本文介绍如何在Tomcat中设置外部文件夹路径。通过修改Windows下的setclasspath.bat文件,在CLASSPATH变量中添加外部文件夹路径,从而实现将自定义目录加入到Tomcat的类路径中。
If you need to set an external folder to Tomcat, you can do that in "setclasspath.bat" (windows). At the end of this file, change the last few lines to the following:
:end
set CLASSPATH=%CLASSPATH%;/path-to-your-external-folder
exit /b 0

被折叠的 条评论
为什么被折叠?