The forward tag forwards the request to the specified page:
<util:forward comp=”cal” file=”calHome.jsp>
The comp attribute associates the named file with a particular mobile application. In the preceding case, cal is an abbreviation for “calendar”.
URL forwarding will be required to minimize URL length for desktop and phone users.
You can use redirection to seamlessly send users requesting a document on one server to another document on another server.
For example, if the user types:
http://home.suncom.net |
It is without a destination URI. This prefix is not interpreted and translated in the web server administration console as Prefix: /index.html to fixed URL as:
http://home.suncom.net/amserver/UILogin?module=MSISDN. |
The web server will forward all Portal URLs with an URI /index.html to the fixed URL. Check the web server instance obj.conf file for this entry:
NameTrans fn=”redirect” from=”/index.html” url-prefix=”http://portal.mobile.suncom.net/amserver/UI/Login?module=MSISDN” |