[opencms-dev] Export question (stylesheet, images, dynamic sources and other res

Björn Aberti bjoern_al at hotmail.com
Mon Jul 21 13:53:01 CEST 2003


Hello Mark,

thanks for your help, but it doesn't work...


>To include script files (asp ... but it doesn=92t matter ... you can =
>also
>use php) .. I did the following ... (just change all references of asp
>to php)
>
>1. Create a jsp page in my main html directory called kontakt.asp (ie.
>becomes kontakt.asp.jsp)
>

I have createt phpinfo.php...

>2. Added the nav properties to the page, NavText and NavPos manually

I didn't need, since this is handled by my folder
>
>3. Edited the sourcecode to
>-----------------------------------------------
><%@ page session=3D"false" %>
><%@ taglib prefix=3D"cms" uri=3D"http://www.opencms.org/taglib/cms" %>

if i include this two lines i get an error

><cms:include
>fle=3D"/system/modules/ch.xxx.www/jsptemplates/maintemplate.jsp"
>element=3D"head"/>
><b>Kontakt</b>
><p align=3D'center'>
that I don't need, since I dont have it

><cms:include
>file=3D"/system/modules/ch.xxx.www/resources/includes/kontakt.asp"
>element=3D"body"/></p>

this statement I have included (only my php file is in the same folder like 
the jsp so i used: file=3D"phpinfo.php")

><cms:include file=3D"/system/modules/ch.xxx.www/jsptemplates/
>maintemplate.jsp" element=3D"foot"/>
that I don't need, since I dont have it

>-----------------------------------------------



>This simply includes the head and foot of my main template and includes
>a script file
>
>4. Added the script file as a plain file called kontakt.asp to
>/system/modules/ch.xxx.www/resources/includes/
see 3.

>
>5. That=92s it =85.

My first problem is that openCMS exports the jsp page to another folder. jsp 
pages are not displayd as link in my navigation (only html pages, I don't 
know why...)

I've copied the jsp from its wrong location to there where I want to have 
it. then i called it with my browser manually. I viewd the source code and 
the it shows exactly this what I have entered, so no evaluation has been 
done.

Any ideas?

Thanks a lot for your help!!!

regards

Björn

_________________________________________________________________
MSN Groups & Chat - Freunde finden - leicht gemacht 
http://groups.msn.com/people/




More information about the opencms-dev mailing list