Some time ago, I tried the xpage function in domino8.5. However, browsing xsp files may not be accessible by the browser for a long time, so there is very little information about xpage on the network, the answer was lost. Today, we accidentally discovered a solution to this problem. The following describes the complete example.
1. Create a test form in the test database and fill in several fields at will. For example:
2. Create a document based on this form to display data later.
3. Create an attempt test based on the above documents as the data source for creating xpage. For example:
4. Create an xpage named test as the data source. For example:
5. view test on the web and try to display the Web display effect of Domino.
6. Enter the created xpage in the browser at http: // yourserveraddress/xtest. NSF/test. xsp, the browser will prompt that the access is inaccessible, no matter how you modify the design, or ACL, JVM settings, server permissions, etc., it will not work (under IE8 ):
At this time, check the domino console and you will see two lines of error information, which probably means that security issues do not have access permissions and the like:
15:47:14 http jvm: SERVER: clfad #### E: security exception occurred servicing request for:/xtest. nsf/test. xsp-HTTP CoDE: 403
15:47:14 HTTP web server: You are forbidden to perform this operation [/xtest. nsf/test. xsp]
7. At this time, you only need to sign the database with the server identifier:
8. Browse test. xsp again and find that the page can be displayed normally. The display effect of xpage is much better than that of the self-built web, and the page splitter is also provided:
9. perform a test. At this time, use the current user ID to sign the database, or modify test on the designer. xsp and save (that is, make the last modifier as the designer), and then browse test again. xsp will find the same error in step 6 above. Does this mean that the xpage signer must use the server ID to access the website?