Hi friends,i have written simple NotesJava script.
I wanted to know where the output of the agentscript goes ?
i checked in notes Log & notes java console.its not there.
public void NotesMain(){
Session sess=getSession();
try{
AgentContext agcon=sess.getAgentContext();
Database db=agcon.getCurrentDatabase();
String title=db.getTitle();
DocumentCollection dc=db.getAllDocuments();
System.out.println(“Database"”+title +“" has” + dc.getCount() + " documents");
}catch(Exception ne){
ne.printStackTrace();
}