I’m working with the JSP Tags within Domino 6.0.1.
I’ve worked with JSP for quite a while, so I think this is a Domino Designer issue:
When I use the tag:
<domino:session user=“My Formal Name” password=“myInternetPassword”>
<domino:view dbserver=“” dbname=“myTestDatabase.nsf” viewname=“MySampleViews” max=“10” onfailure=“exception”></domino:view>
</domino:session>
It throws the following exception:
Error 500: Domino object error.: (4632) User My Formal Name/Paraware is not a server
Certainly I should not have to install a Domino Server on my system to do development, do I? I already have the domino client, admin and designer code on my system.
What can I do to make this work?
Subject: JSP Tags with Domino Designer and without Domino Server
Subject: JSP Tags with Domino Designer and without Domino Server
For anything requiring web authentication, you’ll need to have Domino (as opposed to just Designer and nhttp.exe) running. When you log into Notes/Designer, the entity you are authenticating with is your .id file. You can’t do that from the web – you need to authenticate against your Person doc.
Subject: Thanks, but it works w/ Servlet 
My Database has default access of manager (i.e it doesn’t require authentication). This servlet snippet runs fine. So I guess my question is, how can I use the DominoJSPTags w/ a local connection?
/**
* @see javax.servlet.http.HttpServlet#void (javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
*/
public void doGet(HttpServletRequest req, HttpServletResponse resp)
throws ServletException, IOException {
try {
NotesThread.sinitThread();
Session session = NotesFactory.createSession();
Database db = session.getDatabase(null, "xmltest.nsf");
View view = db.getView("MenuItems");
ViewNavigator nav = view.createViewNav();
int count = nav.getCount();
ViewEntry entry = nav.getFirstDocument();
Vector values = entry.getColumnValues();
Enumeration enum = values.elements();
while (enum.hasMoreElements()) {
String element = (String) enum.nextElement();
System.out.println(element);
}
System.out.println(count);
} catch (NotesException e) {
throw new ServletException(e);
} finally {
NotesThread.stermThread();
}
}
P.S. I tried leaving off the domino:session tags per the help docs, but that didn’t help–same error.
Subject: Is anyone using Domino:View JSP Tag with Designer?
Is anyone using these tags? Do they work with a database that is wide open? Please see the parents to this thread. Help!
Brian
Subject: Have you found the solution to the problem yet? Thanks!
Subject: JSP Tags with Domino Designer and without Domino Server
JSPs don’t run in the Domino http server, so having a Domino server on your machine won’t help. Domino supports an early servlet specification, one prior to 2.2, which is when the JSP 1.1 spec came to be supported.
You will need a servlet container that supports jsps running on your machine, like Tomcat or Webshpere. Better still is an ‘ide’ that has such a servlet container built in - I have been using WSAD 5 for a couple of months now, and while the learning curve is steep, it does a lot of what you’ll want.
Hope that helps.
-sl