NotesAppletContext (Java)

An applet in a Domino® database can call the following methods of NotesAppletContext to get the context of the applet:

  • String getServer() returns the name of the server containing the applet.
  • Database getDatabase() returns the database containing the applet.
  • Document getDocument() returns the document containing the applet, or null if the applet is not in a document.

Use getContext in AppletBase or JAppletBase to get a NotesAppletContext object.