Package com.isomorphic.servlet
Class VersionedURLFilter
java.lang.Object
com.isomorphic.servlet.BaseFilter
com.isomorphic.servlet.VersionedURLFilter
- All Implemented Interfaces:
jakarta.servlet.Filter
public class VersionedURLFilter extends com.isomorphic.servlet.BaseFilter
This filter will rewrite URLs by stripping path segments that start with the
isc.pathSegmentPrefix
as defined in the server.properties configuration file. This allows versioned URLs of the format generated by the LoadISC and LoadModules jsp tags with versionStyle="pathSegment"
to resolve to the appropriate resources in the filesystem.
To use this filter, ensure it is registered to apply to all file-paths that may contain versioned URLs for retrieving SmartClient resources, including JavaScript framework module and skin files.
Note that the FileDownloadServlet also handles stripping SmartClient-version URL segments when resolving URLs so this filter does not need to be deployed for paths that are already registered with this servlet.