修改web . xml文件,以将web服务端点声明为Servlet,如下所示。
Modify the web.xml file to declare our web service endpoint as a servlet, as shown below.
理想状态下,应该有缺省配置放在文件中,并保存于版本控制系统,并可以根据特定服务器修改出多个文件,并且不必控制这些文件的版本。
Ideally it would have defaults specified in a file under source control and overrides added to machine-specific, non-versioned files.
这些调优不需要修改配置文件,因此在服务器重启之后就失效。
These tunings do not modify the configuration file and are therefore lost when the server restarts.
应用推荐