DbLookup for a Java Servlet

I am relatively new to the Java environment, but have many years experience with Domino, so if you are able to help me, please consider me a Java newbie.

Due to some limitations (64K in request content retrieval) in the Java agent, I had to move my code to a servlet. All the code was working in the agent, so I know the syntax, etc. is correct.

In the servlet, my code mostly works, but I appear to be unable to perform a session.evaluate with a @dblookup. It will not error, but rather return a single element vector with a blank “.toString()”. When this was run as a Java agent, it returned the values just fine.

I believe the session is valid as I can return properties of the session, but it appears to not evaluate the dblookup correctly. I also believe that the authentication piece is working as well, since the code will return user names of others as well.

Help! Has anyone else been able to use the evaluate of the session in a servlet to return valid @dblookups? I’d rather not have to code the lookups with Java…

Thanks in advance.

Brendan

Subject: DbLookup for a Java Servlet

I have the same problem. Has anybody a solution, explanation or workaround for this?

Thanks,

Hubert

Subject: RE: DbLookup for a Java Servlet

Check out the org.openntf.util package available from OpenNTF. This open source utility does essentially what @DbLookUp does.

http://www.openntf.org/projects/pmt.nsf/ProjectLookup/org.openntf.util

Good Luck,

Ian