Patent ID: 7908317

Claim:
A computer-implemented method to support Uniform Resource Locator (URL) compression, comprising: defining a URL template in a template configuration file for a portal service, wherein the URL template contains one or more variables that defines a portable URL for accessing the portal service; receiving a web request from a client by a web component for accessing the portal service, wherein the web request contains one or more values for the one or more variables in the URL template, and wherein the web component uses the URL template to create a URL based on the one or more values contained in the web request, wherein the URL is used to access the portal service; allowing the web request to be a HTTP request that uses the portable URL to access the portal service; allowing the web component to use a JSP tag to create the URL based on the URL template; allowing the web component to use a tag library to support the JSP tag that defines a template attribute to specify the URL template; compressing the URL into a compressed URL using a URL compression mechanism associated with the URL template; processing the web request using the compressed URL; and responding to the client.