httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boyle Owen" <Owen.Bo...@swx.com>
Subject RE: [users@httpd] How to include output of a servlet running on one virtual host to an SSI enabled html page on another virtual host?
Date Mon, 09 Dec 2002 08:35:05 GMT
One way to do it... Make an SSI exec call which gets the servlet data
via an http request using (e.g.) wget..., e.g.

<!--#exec cmd="wget http://your-tomcat-server/your-servlet" -->

You can get wget from http://www.wget.org/

Rgds,

Owen Boyle

>-----Original Message-----
>From: Sagara Wijetunga [mailto:sagarawmw@yahoo.com]
>Sent: Samstag, 7. Dezember 2002 20:11
>To: users@httpd.apache.org
>Subject: [users@httpd] How to include output of a servlet 
>running on one
>virtual host to an SSI enabled html page on another virtual host?
>
>
>How to include output of a servlet running on one
>virtual host to an SSI enabled html page on another
>virtual host?
>
>I use Apache 2.0.39 to serve static html pages from a
>Pentium III based PC server running Red Hat Linux 8.0.
>I use Jakarta/Tomcat 4.1.12-LE-jdk14 to process
>servlets on the same server and I use virtual hosting
>also on the same server. I have further configured
>Apache to process SSI for any html page whose
>execution bit is set. All are (individually) working
>fine.
>
>I need to include some html code fragment generated by
>the
>http://BBB.sameDomain.com/mywebapp/servlet/myServlet
>to a SSI page served from
>http://AAA.sameDomain.com/somepage.html. 
>
>Could somebody please kindly explain to me how to do
>this? And what other options available or any
>workaround. 
>
>Please note, I can include the output of the
>http://BBB.sameDomain.com/mywebapp/servlet/myServlet
>to a html page served from the same virtual host (i.e
>BBB.sameDomain.com) by
> <!--#include virtual="/mywebapp/servlet/myServlet"
>-->
>
>Here unfortunately, I cannot specify this servlet to
>be taken from which server, i.e BBB.sameDomain.com. 
>
>Many thanks in advance.
>
>Regards
>Sagara
>
>
>__________________________________________________
>Do you Yahoo!?
>Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
>http://mailplus.yahoo.com
>
>---------------------------------------------------------------------
>The official User-To-User support forum of the Apache HTTP 
>Server Project.
>See <URL:http://httpd.apache.org/userslist.html> for more info.
>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>For additional commands, e-mail: users-help@httpd.apache.org
>
>

This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please notify the sender urgently
and then immediately delete the message and any copies of it from your
system. Please also immediately destroy any hardcopies of the message.
You must not, directly or indirectly, use, disclose, distribute, print,
or copy any part of this message if you are not the intended recipient.
The sender's company reserves the right to monitor all e-mail
communications through their networks. Any views expressed in this
message are those of the individual sender, except where the message
states otherwise and the sender is authorised to state them to be the
views of the sender's company. 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message