[opencms-dev] Help with reading external data into opencms application

Daniel Rhoden drhoden at iiwinc.com
Mon Mar 28 17:53:46 CEST 2005


Try using the JSTL sql tags.

<%@ taglib prefix="sql" uri="http://java.sun.com/jsp/jstl/sql"%>
<sql:setDataSource
    driver="org.gjt.mm.mysql.Driver"
    url="jdbc:mysql://localhost:3306/name_of_db?autoReconnect=true"
    user="user"
    password="pass"
    scope="page"
    var="dir" />

Louis Jewett wrote:

>I'm trying to setup opencms for a small site. I have a list that is
>going to be provided to me on another server via soap or possibly
>straight html file.  What I need is a way to take this data living out
>in the "real filesystem" and get it into a opencms page.  Includes do
>not allow full url paths, and after hours ( and hours and hours ) of
>searching I haven't found anything to do the trick yet.  I even tried
>turning on Server Side Includes on my tomcat 5 installation and then
>renameing my page inside opencms to file.shtml.. This of course didn't
>work.  This seems like such a simple task that I'm afraid I'm missing
>the obvious.  Any idas on a 'simple' way to include an html file that
>is external to the vfs in a opencms page?
>
>THANKS!
>
>
>_______________________________________________
>This mail is send to you from the opencms-dev mailing list
>To change your list options, or to unsubscribe from the list, please visit
>http://mail.opencms.org/mailman/listinfo/opencms-dev
>
>  
>



More information about the opencms-dev mailing list