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
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
博客介绍了Domino Java Servlet开发,包含相关概念在Domino环境的应用。提供了两个示例,一是显示用户名的网页代码,二是从Servlet访问用户邮件。还提醒使用Servlet前需先看演示,其中说明了配置要求,并给出访问示例Servlet的URL。
581

被折叠的 条评论
为什么被折叠?



