hello
i write a class to connection to server use notes client.
this is my code. --------------------------------- ConsoleMonitor monitor = new ConsoleMonitor();
monitor.setLevel(AbstractMonitor.INFO); DNotesFactory factory = DNotesFactory.getInstance(monitor); DSession session = factory.getSession(); DDatabase database = session.getDatabase("", "names.nsf"); ---------------------------------
i run it on the command and it is success
but if i move the code to a jsp
a error is happened.
error is
can't open the local!names.nsf
can anyone tell me what can i do if i want to connection or tell me how to debug the code
i log the property [ java.library.path ] and the path is point to the notes client installed folder.
Log in to post a comment.
hello
i write a class to connection to server use notes client.
this is my code.
---------------------------------
ConsoleMonitor monitor = new ConsoleMonitor();
monitor.setLevel(AbstractMonitor.INFO);
DNotesFactory factory = DNotesFactory.getInstance(monitor);
DSession session = factory.getSession();
DDatabase database = session.getDatabase("", "names.nsf");
---------------------------------
i run it on the command and it is success
but if i move the code to a jsp
a error is happened.
error is
can't open the local!names.nsf
can anyone tell me what can i do if i want to connection or tell me how to debug the code
i log the property [ java.library.path ] and the path is point to the notes client installed folder.