Skip to main content
Skip table of contents

web.xml

Location<tomcat_home>\webapps\webapi\WEB-INF\web.xml

The following are some of the parameters in this configuration file that you can change:

ParameterExampleDescriptionMore Information
  • SessionUserAgentFilter
  • SessionIPFilter
XML
<filter-mapping>
  <filter-name>SessionUserAgentFilter</filter-name>
  <url-pattern>*</url-pattern>
</filter-mapping> 
XML
<filter-mapping>
  <filter-name>SessionIPFilter</filter-name>
  <url-pattern>*</url-pattern>
</filter-mapping>

These settings are commented out by default.

You can enable these settings to activate some protection against session hijacking in SuperWEB2.

Enable Protection Against Session Hijaking - SuperWEB2
EnableMapView
XML
<param-name>EnableMapView</param-name>
<param-value>true</param-value>
Configures whether or not to display the Map View tab. The default is true (Map View will be enabled). 
recordview
XML
<param-name>recordview</param-name>
<param-value>false</param-value>
Enables or disables the Record View feature.Enable Record View - SuperWEB2
showNaNasZero
XML
<param-name>showNaNasZero</param-name>
<param-value>true</param-value>

Specifies whether to display 0 or a custom string if there are cells with no records contributing to the result.

Configure Settings for Concealment and Cells with No Contributors - SuperWEB2
  • AGENCY_ID
  • AGENCY_NAME
  • USER_GENERATED_STRUCTURE_AGENCY_ID
  • RSE_CONCEPT_ID
  • RSE_CONCEPT_NAME
  • RSE_CONCEPT_DESCRIPTION
XML
<param-name>AGENCY_ID</param-name>
<param-value>AGENCY_ID</param-value>
...
These settings configure various parameters that will be used when exporting table data to SDMX format.Branding SDMX Downloads - SuperWEB2
facelets.DEVELOPMENT
XML
<param-name>facelets.DEVELOPMENT</param-name>
<param-value>true</param-value>

This parameter is used during development to produce log and code checks.

You must set this to false before going into production.

 
logoutRedirectionURL
XML
<param-name>logoutRedirectionURL</param-name>
<param-value>login.xhtml</param-value>
Configures the URL that users are redirected to on logout or when their login times out. This can be used in conjunction with the SuperWEB2 direct URLs to create a custom external login form.Use Direct URLs to Open a Specific Database or Table - SuperWEB2
  • GuestUsername
  • GuestPassword
XML
<param-name>GuestUsername</param-name>
<param-value>guest</param-value>
...
These settings define the username and password used for guest user access to SuperWEB2.Configure Guest Access - SuperWEB2
  • mapPdfTemplateName
  • mapPdfDocumentPropertyAuthor
  • mapPdfDocumentPropertyKeywords
  • mapPdfDocumentPropertyApplication
XML
<param-name>mapPdfTemplateName</param-name>
<param-value>SWDownloadTemplate</param-value>
...
These settings configure various parameters used for PDF downloads from Map View (including the location of the template file used to create the PDF).Branding PDF Downloads - SuperWEB2
suppressSum
XML
<param-name>suppressSum</param-name>
<param-value>false</param-value>
Can be used to prevent users adding the Sum measure to a table.Suppress Ability to Add Sum to a Table - SuperWEB2
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.