How to output domino console message from Java?

Dear all,

If you run lotus script on server, a “msgbox()” command will output message in domino console.

If you want to send the message from java, what is the method?

Thank you in advance!

James

Subject: How to output domino console message from Java?

System.out.println(“test”);

Didn’t actually test it, but it should work.

Subject: RE: How to output domino console message from Java?

Hi Andrei,

Thank you for your reply.

But I can’t get it work, I put this line in a java applet after a domino session opened, there is no error message, just nothing happen in the console.

James

Subject: RE: How to output domino console message from Java?

Applet is run completely on the client side and you can see the output in your web browser (or Notes client) in LOCAL Java Console, even if you use DIIOP for accessing databases.

I don’t think that there are any easy ways to send output to server. You can probably call a servlet with a string parameter so that the servlet outputs that parameter to the server console. You can in similar way call a LS agent so that the agent reads parameter and outputs it to the server.

Subject: RE: How to output domino console message from Java?

Hi Andrei,

Thank you very much for your help!

James