How to connect to TAMINO using JSP ?

Tamino Version : 3.1.1
Platform : Win2k
WebContainer : Tomcat 3.3
JDK Version : 1.4.0


I tried to execute simple example to connect to my database Tamino.

Here is this code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"”>

<%@ page language=“java” contentType=“text/html” %>
<%@ page import="com.softwareag.tamino.API.dom." %>
<%@ page import=“org.w3c.dom.Element” %>

A simple Tamino access example with jsp

TaminoClient myTC = new TaminoClient(“http://localhost/tamino/mydb/mycol”);
TaminoResult myTR = myTC.query(“mydoc”);
while (myTR.hasMoreElements()) {
Element myElement = myTR.getNextElement();


<% } %>


Unfortunately I got this error messages:

Error: 500
Location: /jspnew/example.jsp
Internal Servlet Error:

org.apache.jasper.JasperException: Unable to compile C:\jakarta\work\DEFAULT\jspnew\ Package com.softwareag.tamino.API.dom not found in import.
import com.softwareag.tamino.API.dom.
1 error

at org.apache.tomcat.facade.JasperLiaison.javac(Unknown Source)
at org.apache.tomcat.facade.JasperLiaison.processJspFile(Unknown Source)
at org.apache.tomcat.facade.JspInterceptor.requestMap(Unknown Source)
at org.apache.tomcat.core.ContextManager.processRequest(Unknown Source)
at org.apache.tomcat.core.ContextManager.internalService(Unknown Source)
at org.apache.tomcat.core.ContextManager.service(Unknown Source)
at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Unknown Source)
at Source)
at org.apache.tomcat.util.threads.ThreadPool$ Source)

What can I do to solve this problem?

Any help will be appreciated.

Thanks a lot in advance.

Best Regards,
Dariusz Baumann

Looks like JavaTaminoApi.jar is missing.
Do you have this file in /WEB-INF/lib?


Software AG Germany, Darmstadt