I'm assuming you mean sample code using the Cisco XML objects, and not just ASP or JSP sample code (there are many ASP and JSP resources available on the net, etc).
If you search this forum you will find a number of code samples. Try using search tool on the top right of this page to search the "voice/video" forum, or take a look through some of the past posts.
Here's an example:
If you haven't seen this yet, this link provides more information on the XML tags:
For more information on this, you should get the IP Phone SDK, available from Cisco's Developer Support program. The SDK provides more information on developing applications for the IP Phones, and has multiple example applications in both ASP and JSP.
This page describes the IP Phone SDK:
This page describes the Cisco Developer Support Program:
There is also a book from Cisco Press titled "Developing Cisco IP Phone Services: A Cisco AVVID Solution". This book is based on an older version of the IP Phone SDK, but still has good information on getting started. You can find that book on O'Reilly Network Safari, which has a free 2-week trial (you can read the book online!):
You may also find these sites useful: