有一个java语言的库,它需要用Lotus Script和SSJS来调用.通过Lotus Script,库的脚本运行没有问题,但是不可能在SSJS上调用它.
Java库:
public class Untitled {
public int add(int a, int b) { return a + b; }
public int div(int a, int b) { return a / b; }
public int mul(int a, int b) { return a * b; }
public int sub(int a, int b) { return a - b; }
public String dummy() {return "42"; }
}
Run Code Online (Sandbox Code Playgroud)

Lotus Script
Option Declare
Uselsx "*javacon"
Use "one"
Dim myClass As JavaClass
Dim calculator As JavaObject
Dim …Run Code Online (Sandbox Code Playgroud) 我想创建.bat文件,必须调用nhttp.exe并在该.exe文件中输入我的密码。但是没有人命令对我不起作用。
nhttp.exe 'my-pass'
nhttp.exe|'my-pass'
'my-pass'|nhttp.exe
nhttp.exe<fileWithpass.txt
[2388:0002-4180] The ID file being used is: C:\Program Files
(x86)\IBM\Notes\myFileId.id
[2388:0002-4180] Enter password (press the Esc key to abort):
Run Code Online (Sandbox Code Playgroud)