The first file in this set is from a presentation Gary gave recently on Domino Java servlet development. The file is in Lotus Freelance format, but we've converted it to HTML as well and the presentation in that format is in the second file. Its a great introduction to the concepts involved in servlets and how they apply in the Domino environment.
Of course, a simple discussion of the concepts may not be enough to get you going. So Gary has provided a couple of examples. The first example is a simple bit of code that displays a Web page showing the user name. The second example shows how to access a user's e-mail from a servlet.
Make sure that you go through the presentation before you try to use the servlets. The presentation explains some of the configuration required, for example, before you can use servlets.
Have fun! Here are some examples of the URL's you'd use to access the example servlets:
EZDomObjServlet Demo:http://yaketyyak/servlet/EZDomObjServlet
FlashMail Servlet Demo:http://yaketyyak/servlet/FlashMail?name=Richard%20Adams/Coasters&pw=coasters&from=Joe%20Accardi
http://yaketyyak/servlet/FlashMail?name=Richard%20Adams/Coasters&pw=coasters&from=Mike%20McCaffrey
http://yaketyyak/servlet/FlashMail?name=Richard%20Adams/Coasters&pw=coasters&subj=IBM
http://yaketyyak/servlet/FlashMail?name=Richard%20Adams/Coasters&pw=coasters&from=Joe%20Accardi&subj=IBM
本文地址:http://com.8s8s.com/it/it12053.htm