读书人

从eclipse起步Tomcat时启用ssl

发布时间: 2012-07-05 07:59:18 作者: rapoo

从eclipse启动Tomcat时启用ssl

Eclipse WTP creates its own server.xml file which it places in some folder which configures the tomcat instance you are running for your web project. If you double click on the server in the servers list you get a nice screen which makes it simple to configure some aspects of the server.xml file.

How do I configure a new connection to allow SSL connections on port 8443. Everytime I edit the server.xml file manually, eclipse overwrites my changes with the settings it has stored in the server properties page of the configuration and it seems there is no way to add a new connector from the interface that eclipse provides

Answer:

If you've already created the server, you can edit the server.xml template it copies. If you use the project explorer, It is under Other Projects->Servers->->server.xm

?

读书人网 >Eclipse开发

热点推荐