Java Servlet

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>”);

Subject: Try reading one of the older forums…

  • This is a recurrent issue that has tons of good information in the older forums. Last time I looked at this was during R5 days, so you might start there.

Hope this helps…

Subject: fair enough

are there any books, e-books or any reading materials for this?

Am curious as to why we can only find info about this in R5 and less in R6.x???

Subject: Probably not much written for a couple of reasons

  1. Not many people are doing it.2. The servlet engine hasn’t really changed since those articles were written