AW: [opencms-dev] include probleme

Mark Miller mark.miller at hema.ch
Fri Apr 23 15:38:00 CEST 2004


I still think an SSI would be simpler ....

Take a look at 
http://www.asptechniques.com/content.asp?a=co&cID=977
if you are using IIS

or
http://ask-leo.com/archives/000069.html

which shows how to use remote server side includes under apache.

Unless you want to parse the content first in which case it would be
easier under OpenCMS.

All the best,

 
Mark



-----Ursprüngliche Nachricht-----
Von: opencms-dev-admin at opencms.org
[mailto:opencms-dev-admin at opencms.org] Im Auftrag von GERIN Béatrice
DISU
Gesendet: 23 April 2004 15:20
An: opencms-dev at opencms.org
Betreff: RE: [opencms-dev] include probleme


I try :
<%
out.println(new
java.net.URL("http://localhost:8080/opencms/opencms/corsaire_tests/fr/Ho
mepa
ge/index.html").getContent());
%>

same error message
	
sun.net.www.protocol.http.HttpURLConnection$HttpInputStream at fab91 

another idea??

-----Message d'origine-----
De : opencms-dev-admin at opencms.org
[mailto:opencms-dev-admin at opencms.org]De la part de Hartmann, Waehrisch
& Feykes GmbH
Envoyé : vendredi 23 avril 2004 15:09
À : opencms-dev at opencms.org
Objet : Re: [opencms-dev] include probleme


ok, you see that new
java.net.URL("http://localhost:8080/opencms/opencms/corsaire_tests/fr/Ho
mepa
ge/index.html").getContent()
returns an InputStrem, so just take it and read its content.


----- Original Message ----- 
From: "GERIN Béatrice DISU" <beatrice.gerin at francetelecom.com>
To: <opencms-dev at opencms.org>
Sent: Friday, April 23, 2004 3:01 PM
Subject: RE: [opencms-dev] include probleme


If I test it I have

this response :
****
sun.net.www.protocol.http.HttpURLConnection$HttpInputStream at 1b7c1b7
********

instead of my html page.

another idea...

-----Message d'origine-----
De : opencms-dev-admin at opencms.org
[mailto:opencms-dev-admin at opencms.org]De la part de Hartmann, Waehrisch
& Feykes GmbH
Envoyé : vendredi 23 avril 2004 14:52
À : opencms-dev at opencms.org
Objet : Re: [opencms-dev] include probleme


try
<%
out.println(new
java.net.URL("http://localhost:8080/opencms/opencms/corsaire_tests/fr/Ho
mepa
ge/index.html").getContent().toString());
%>

----- Original Message ----- 
From: "GERIN Béatrice DISU" <beatrice.gerin at francetelecom.com>
To: <opencms-dev at opencms.org>
Sent: Friday, April 23, 2004 2:32 PM
Subject: RE: [opencms-dev] include probleme



Can you just tell me how include this URL
http://localhost:8080/opencms/opencms/corsaire_tests/fr/Homepage/index.h
tml
in my JSP.
please...
BG

-----Message d'origine-----
De : opencms-dev-admin at opencms.org
[mailto:opencms-dev-admin at opencms.org]De la part de Joachim Arrasz
Envoyé : vendredi 23 avril 2004 14:28
À : opencms-dev at opencms.org
Objet : RE: [opencms-dev] include probleme


Hi,

> - You wrote : "If this
> works you can insert it into your jsp with a little jsp code which
> decides what to load in which frame"
>
> Can you tell me more.I try with <jsp:include page="...">, I must put a
> relative adress, comment faire pour avoir l'URL
>
http://localhost:8080/opencms/opencms/corsaire_tests/fr/Homepage/index.h
tml
> inclu dans ma JSP??


no im finished, i don`t speak any french sorry :-)

Bye Achim

-- 
Questions about OpenCMS?
--> www.opencms-forum.de



_______________________________________________
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
_______________________________________________
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

_______________________________________________
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
_______________________________________________
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

_______________________________________________
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
_______________________________________________
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