[Mulgara-dev] Now problem with JSP & mulgara

Carlo Bernava carlo.bernava at gmail.com
Wed Nov 5 00:44:27 UTC 2008


excuse for my multiple post ...i'm reading here
http://docs.mulgara.org/system/jsptaglib.html , for JSP i need to insert
taglib in my lib directory in WEB-INF and edit web.xml, but Where can i get
taglib? in jakarta site there are many version of it but none with name
tks-tag-2.1.jar....

Hi
2008/11/5 Carlo Bernava <carlo.bernava at gmail.com>

> I have imported all jars file in my jsp Project in eclipse (in buildpath)
> but nothing....
>
>
> Carlo
>
> 2008/11/5 Carlo Bernava <carlo.bernava at gmail.com>
>
> excuse my newby question but perhaps i'm doing the same thing....with
>> classpath what do you point?
>>
>> Carlo
>> 2008/11/3 Paul Gearon <gearon at ieee.org>
>>
>> This looks like a classpath problem. ConnectionFactory is in
>>> querylang-2.0.6.jar, driver-2.0.6.jar and mulgara-2.0.6.jar.
>>>
>>> Do you have one of these jars in the classpath?
>>>
>>> Have you imported it? The full name is
>>> org.mulgara.connection.ConnectionFactory
>>>
>>> Paul
>>>
>>> On Mon, Nov 3, 2008 at 5:38 AM, Carlo Bernava <carlo.bernava at gmail.com>
>>> wrote:
>>> > Hi All
>>> >
>>> > I'm doing a jsp that connect to mulgara...
>>> > I'm developping jsp in Eclipse editor, and i'm usign tomcat....
>>> >
>>> >
>>> > I wrote a simple example:
>>> >
>>> >
>>> > <%@page import="java.net.URI" %>
>>> > <%@page import="org.mulgara.connection.*" %>
>>> > <%
>>> > //define the server we want to connect to
>>> > URI serverURI = new URI("rmi://Utentino/server1");
>>> > //Create a factory, and connect to the server
>>> > ConnectionFactory factory = new ConnectionFactory();
>>> > Connection connection = factory.newConnection(serverURI);
>>> > %>
>>> >
>>> >
>>> >
>>> > But the can't execute beacouse the error is :
>>> >
>>> > HTTP Status 500 -
>>> >
>>> > ________________________________
>>> >
>>> > type Exception report
>>> >
>>> > message
>>> >
>>> > description The server encountered an internal error () that prevented
>>> it
>>> > from fulfilling this request.
>>> >
>>> > exception
>>> >
>>> > org.apache.jasper.JasperException: Unable to compile class for JSP:
>>> >
>>> > An error occurred at line: 10 in the jsp file: /Prova.jsp
>>> > ConnectionFactory cannot be resolved to a type
>>> > 7: //define the server we want to connect to
>>> > 8: URI serverURI = new URI("rmi://Utentino/server1");
>>> > 9: //Create a factory, and connect to the server
>>> > 10: ConnectionFactory factory = new ConnectionFactory();
>>> > 11: Connection connection = factory.newConnection(serverURI);
>>> > 12: %>
>>> >
>>> >
>>> > HELP PLEASE :P
>>> >
>>> >
>>> >
>>> >
>>> >
>>> > Carlo
>>> >
>>> > _______________________________________________
>>> > Mulgara-dev mailing list
>>> > Mulgara-dev at mulgara.org
>>> > http://mulgara.org/mailman/listinfo/mulgara-dev
>>> >
>>> >
>>> _______________________________________________
>>> Mulgara-dev mailing list
>>> Mulgara-dev at mulgara.org
>>> http://mulgara.org/mailman/listinfo/mulgara-dev
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mulgara.org/pipermail/mulgara-dev/attachments/20081105/e0cd758d/attachment.htm>


More information about the Mulgara-dev mailing list