I am trying to write a Java Servlet that will run on a Java server (different box than the Notes servers)However, I can not seem to get past the Session object
Can someone tell me what I am doing wrong and maybe provide a sample of working code?
out.println(“Start Servlet”);
//Session s = NotesFactory.createSession();
//Session s = NotesFactory.createSessionWithFullAccess();
Session s = NotesFactory.createSession(“”,“”,“”);
out.println(“<Got Here 1>Session</Got Here 1>”);
pDB = s.getDatabase(“”, “Web\AppConfiguration.nsf”);
out.println(“<Got Here 2>Got hook on DB</Got Here 2>”);
pView = pDB.getView(“LKProfiles”);
out.println(“<Got Here 3>Got hook on View</Got Here 3>”);
pDoc = pView.getDocumentByKey(strPassProfileName, true);
out.println(“<Got Here 4>Got Hook on Doc</Got Here 4>”);