Mobile network lookup taglib ver. 1.1


    Custom JSP tags library lets you deploy Mobile Network Lookup API from Ericsson Labs. This API lets developers lookup the mobile network information, such as operator, country, etc about the customer. Taglib uses IP address (right from the request or directly specified) and returns back customer's home network information. This component can help you develop more personalized web applications. For example:
 

<%@ taglib uri="taglib.tld" prefix="m" %>

<m:MobileLookup id="MobileLookup"/>

Country code: <%=MobileLookup.getCountry()%> <br/>
Country name: <%=MobileLookup.getCountryName()%>

Taglib creates a page scope variable (type is com.cj.mobile.MobileLookupBean) with data. You can use the following methods:
 



getCountry() - provides a country code
getCountryName() - provides a country name
getNetworkCode() - provides a network code
getOperator() - provides a name for the operator
getTime() - provides a time for data update

Tags are:

MobileLookup

Body tag lets you obtain home network info for mobile users. Attributes are:

1) key Optional attribute. Describes a developer key for this API
2) ip Optional attribute. Describes an IP address for client. By default uses IP address from the request.
3) id Describes a name for your page scope variable with data (type is com.cj.mobile.MobileLookupBean). By default it is MobileLookup.
4) proxyHost Optional attribute. Describes proxy settings for your host
5) proxyPort Optional attribute. Describes proxy settings for your host

for downloading:

Library: mobilelookuptag.jar    Description: taglib.tld

 © Coldbeans      Comments?

See also Coldtags suite - the largest collection of custom JSP tags.

Also in Coldtags: