且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

tomcat中基于JSP Web应用程序表单的身份验证

更新时间:2023-11-17 23:09:28

终于搞定了!

当我使用 eclipse 部署我的应用程序时,eclipse 添加了一个名为 Servers 的项目,其中包含 server.xml,当使用 eclipse 启动 tomcat 时,tomcat 实际上使用了 server.xml.

As I am using eclipse to deploy my application, eclipse adds a project named Servers which contains server.xml which is in fact used by tomcat when the tomcat is started using eclipse.

所以解决方案是在eclipse中对Servers项目中的server.xml进行realm更改.

So the solution is to make the realm changes to server.xml in Servers project in eclipse.

感谢大家的帮助和支持.

Thank you guys for all your help and support.

***的问候,扎希尔