Polycom VR-6000 manual Http// Webserveraddress PORT/PLCM/AddStock.xhtml

Page 26

Developer’s Guide SoundPoint IP / SoundStation IP

 

<!

-- START DISPLAY BMP FILE

-->

 

<img src="quote.bmp"/> --

>

 

<!

-- END DISPLAY BMP FILE

 

</body>

 

 

</html>

 

 

4.

Configure the Web server to deploy the above JSP file.

 

 

For example, if you are using Apache Tomcat to try this example, put this

 

 

file into the webapps\PLCM folder of Tomcat.

 

5.

Configure SoundPoint IP and SoundStation IP phones to point to the

 

 

XHTML file in the sip.cfg configuration file.

 

 

For this example, change mb.main.home to

 

 

http://<WEBSERVER_ADDRESS:PORT>/PLCM/AddStock.xhtml .

 

6.

Reboot the phones.

 

 

7.

On a SoundPoint IP phone, press the Applications (or Services) key.

 

 

The AddStock.xhtml appears on the graphic display.

 

8.

Enter a stock symbol, then select the Get Quote soft key.

 

 

The stock quote for the entered stock symbol appears on the graphic

 

 

display.

 

Note

Static and dynamic XHTML applications can be developed using any Web server.

 

Even though Tomcat is used in the example, the developer is free to use any Web

 

server.

 

Dynamic XHTML applications can be developed using any Web technologies—for example, ASP.net, Java Servlets, Java Server Pages, CGI-PERL, and PHP.

2 - 16

Image 26
Contents SIP Trademark Information About This Guide Developer’s Guide SoundPoint IP / SoundStation IP Contents Developer’s Guide SoundPoint IP / SoundStation IP What is the Microbrowser OverviewWhat is Xhtml ApplicationsHow to Create Applications Microbrowser Application Development Supported Xhtml ElementsBasic Tags Attribute Value/s Description Link TagsInput Tags Method=get This method Method=post This methodInput Image Tags Img element defines an imageTable Tags Attribute Value/s Description Microbrowser and the main Microbrowser Http SupportMeta Information Tags Microbrowser User Interface Launching the Microbrowser Navigation and Form EditingIdle Display Microbrowser Changing Configuration ParametersDeveloping an Xhtml Application Sample Applications For example, mb.proxy=10.11.32.1038080Http//WEBSERVERADDRESSPORT/PLCM/Sample.xhtml Getting the Path Where BMP File has to be Saved Http// Webserveraddress PORT/PLCM/AddStock.xhtml Symptom Problem Corrective Action TroubleshootingXML Errors Developer’s Guide SoundPoint IP / SoundStation IP Tag Type Tag Description Basic Tags AppendixUnsupported Xhtml Elements Character Format TagsLink Tags Tag Type Tag Description Output TagsBlock Tags Frame TagsImage Tags Tag Type Tag Description Input TagsList Tags Meta Information Tags Tag Type Tag Description Table TagsStyle Tags Tag Type Tag Description Programming Tags Developer’s Guide SoundPoint IP / SoundStation IP Index XHTML, definition