- Updating Device Data
- Web Apps
- Reference Pages
- Useful Links
- Supported Versions
The Java Servlet is configured via the Web.xml settings. This guide covers the available configuration parameters and values.
51Degrees web.xml Parameters
The following table describes the available parameters and their uses:
|True to load the device database into memory to improve performance at the expense of memory usage.
|The file name of the device data that should be used. This can either be full path or a filename in the WEB-INF folder. Updates (if enabled) will be written to this location, so this value does not always have to be pointing to an existing file. If no value is supplied, or there is no data at the path the embedded Lite data will be used.
|Controls the maximum width an image can be resized to. This can be used to control server load if many images are being processed. If 0 this property will be ignored.
|Controls the maximum height an image can be resized to. This can be used to control server load if many images are being processed. If 0 this property will be ignored.
|Sets a factor images dimensions must have. Image sizes are rounded down to nearest multiple. This can be used to control server load if many images are being processed.
|Specifies what the width parameter should be for an optimised image url.
|Specifies what the height parameter should be for an optimised image url.