Changes

Jump to navigation Jump to search
57 bytes removed ,  02:37, 20 October 2013
no edit summary
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 by [http://docs.codehaus.org/display/JETTY/override+web.xml overriding the web.xml] file. 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.
Since {{Version|7.7}}, different Different credentials can be assigned to each HTTP service by specifying local init parameters. In the following example, the global credentials are overwritten and reset for the REST service:
<pre class="brush:xml">
|- valign="top"
| Default web server
| {{Version|7.7:}} {{Code|http://[host]:[port]/[servlet_context_path]/static}}<br/>Before: {{Code|http://[host]:[port]/[servlet_context_path]}}
| Access your standard web files (e.g. HTML, JavaScript or CSS).
|- valign="top"
| [[RESTXQ]]
| {{Version|7.7:}} {{Code|http://[host]:[port]/[servlet_context_path]}}<br/>Before: {{Code|http://[host]:[port]/[servlet_context_path]/restxq}}<br/>
| Create XQuery web services and applications.
|- valign="top"
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu