Changes

Jump to navigation Jump to search
278 bytes added ,  16:27, 7 December 2012
m
links to github jetty.xml, web.xml
Configuring port, context path, etc. can be done following the corresponding instructions of the used servlet container. This is needed if you want to replace the default URL path (e.g. http://localhost:8080/rest) with a custom one (e.g. http://localhost:8080/BaseX711/rest).
If run on a Jetty server one may use a {{Code|jetty.xml}} file for detailed server configuration. E.g. one can enable Jetty log or enable SSL connections. Place the {{Code|jetty.xml}} right next to the {{Code|web.xml}}. For detailed configuration refer to the [http://wiki.eclipse.org/Jetty/Reference/jetty.xml Jetty Documentation]. A sample [https://github.com/BaseXdb/basex-api/blob/master/src/main/webapp/WEB-INF/jetty.xml jetty.xml] is placed in the basex-api package.
==Database Access==
</pre>
How to set these options in the {{Code|web.xml}} of the BaseX web application is specific to the servlet container. For example, in Jetty it is done using [http://docs.codehaus.org/display/JETTY/override+web.xml an overriding web.xml]. Another option is to directly edit the {{Code|WEB-INF/web.xml}} file in the WAR archive (WAR files are simple ZIP files). Refer to the sample [https://github.com/BaseXdb/basex-api/blob/master/src/main/webapp/WEB-INF/web.xml web.xml] of the basex-api package.
=Maven=
editor, reviewer
115

edits

Navigation menu