// ...create a new instance and set it as new home page:
tap.setHomePage(constructor.newInstance(tap));
}catch(NoSuchMethodExceptione){
thrownewServletException("Missing constructor "+(newHomePage==null?"HomePage":newHomePage.getName())+"(TAP)! This constructor is required to set a new home page to your TAP service.");
<p><b>Important note:</b> Any limit value is an integer and so can be at most: 2<sup>31</sup>-1 bytes/rows = 2147483647B/R (or also for the byte unit: = 2147483kB = 2147MB = 2GB).
Otherwise, you should use the null value 0 to raise the limit constraint.</p>
<p><i><u>Legend:</u><b>M</b> means that the property is mandatory. If nothing is written for the second column, the property is optional.</i>
<p><i><u>Legend:</u><bstyle="color:red">M</b> means that the property is mandatory. If nothing is written for the second column, the property is optional.</i></p>
<p>This property lets set a custom home page. 4 different kinds of value are accepted:</p>
<ul>
<li><u>nothing (default)</u>: the default home page provided by the library (just a simple HTML page displaying a list of all available TAP resources).</li>
<li><u>name or relative path of a file</u>: this method MUST be chosen if the new home page is a JSP file. This file MUST be inside the directory WebContent of your web application.</li>
<li><u>a URI starting with <code>file://</code></u>: in this method the local file pointed by the URI will be merely returned when the home page will be requested.</li>
<li><u>a URL</u>: here, a redirection toward this URL will be made at each request on the home page</li>
<li><u>a classpath</u>: the classpath of an extension of tap.resource.HomePage which must replace the default home page resource. This class MUST have at least one constructor with exactly one parameter not NULL of type tap.resource.TAP.</li>
<p>Define the way the library must get the list of all schemas, tables and columns to publish and all their metadata (e.g. utype, description, type, ...)</p>
@@ -214,7 +249,7 @@
</td>
<td><ul><li>xml</li><li>db</li></ul>
</tr>
<tr>
<trclass="optional">
<tdclass="done">metadata_file</td>
<td></td>
<td>text</td>
@@ -228,7 +263,7 @@
<tr><tdcolspan="5">Files</td></tr>
<trclass="mandatory">
<tdclass="done">file_manager</td>
<td>M</td>
<td></td>
<td>text</td>
<td>
<p>Type of the file manager.</p>
@@ -239,12 +274,12 @@
</tr>
<trclass="mandatory">
<tdclass="done">file_root_path</td>
<td>M</td>
<td></td>
<td>text</td>
<td>File path of the directory in which all TAP files (logs, errors, job results, backup, ...) must be.</td>
# Path to the page which will be the index/home page of the TAP Service.
service_home_page=
# This property lets set a custom home page.
#
# 4 different kinds of value are accepted:
# * nothing (default): the default home page provided by the library (just a simple HTML page displaying a list of all available TAP resources).
# * name or relative path of a file: this method MUST be chosen if the new home page is a JSP file. This file MUST be inside the directory WebContent of your web application.
# * a URI starting with file://: in this method the local file pointed by the URI will be merely returned when the home page will be requested.
# * a URL: here, a redirection toward this URL will be made at each request on the home page
# * a classpath: the classpath of an extension of tap.resource.HomePage which must replace the default home page resource.
# This class MUST have at least one constructor with exactly one parameter not NULL of type tap.resource.TAP.
home_page=
# [OPTIONAL]
# MIME type of the service home page.
#
# This property is used only if the specified "home_page" is a local file path (i.e. if "home_page=file://...").
#
# If no value is provided "text/html" will be set by default.