It is a Java servlet allows you monitor your network from your mobile phone with WAP support. This simple tool just executes ping command on your host and displays results on your phone.
How to use it:
a) copy wappingPackage.jar into your WEB-INF/lib directory.
b) define WAPping servlet in your web.xml file:
<servlet>
<servlet-name>WAPping</servlet-name>
<servlet-class>com.jsos.wapping.WAPping</servlet-class>
</servlet>
c) define a mapping:
<servlet-mapping>
<servlet-name>WAPping</servlet-name>
<url-pattern>/servlet/WAPping</url-pattern>
</servlet-mapping>
the usage is:
http://your_host/servlet/WAPping
Just type IP address and press Enter. Or you may pass IP address as a parameter:
http://your_host/servlet/WAPping?some_IP_address
You can define common settings for this servlet
in the configuration file. Configuration file must be described as an
initial parameter for this servlet. Parameter name is config and this
parameter describes a name of text file with your settings:
<servlet>
<servlet-name>WAPping</servlet-name>
<servlet-class>com.jsos.wapping.WAPping</servlet-class>
<init-param>
<param-name>config</param-name>
<param-value>path_to_your_configuration_file</param-value>
</init-param>
</servlet>
Configuration file is a text describes user's settings in the form of parameter=value. Empty lines and any line starts with # or // are ignored. Current version supports the following list of parameters:
# prefix for host commands. Default value is empty.
# For NT-host you must set prefix=command.com /c
prefix=command.com /c
# ping options. Default value is empty.
# E.g. 3 echo requests and resolve addresses to hostnames:
ping=-n 3 -a
For downloading: wappingPackage.jar
Sample of configuration file: wpingcnf
See also JSOS - the largest collection of servlets and filters.