You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Graeme Wallace <gw...@houston.rr.com> on 2000/10/11 18:16:45 UTC
Integration question
Now I know this is entirely the wrong list, but ....
We wrote a customer some code that works nicely with Tomcat and Apache.
Now they say they want it to work with IIS, no big deal but that
they also want to be able to include HTML fragments generated by JSP pages
inside ASP pages.
Has anyone a clue how you do this ?
regards
Graeme
Re: Integration question
Posted by "Ricardo L. A. Bánffy" <rb...@utopia.com.br>.
You could use client-side includes
I will explain:
As long as your code generates JavaScript code, you can <script
src="mypage.jsp">. Then, it's up to mypage.jsp do spit something like
document.write("ASP is a poor choice");
Now, if you need the JSP pages to spit ASP code, you need a much worse
solution I will not even try to describe
----- Original Message -----
From: "Graeme Wallace" <gw...@houston.rr.com>
To: <to...@jakarta.apache.org>
Sent: Wednesday, October 11, 2000 1:16 PM
Subject: Integration question
Now I know this is entirely the wrong list, but ....
We wrote a customer some code that works nicely with Tomcat and Apache.
Now they say they want it to work with IIS, no big deal but that
they also want to be able to include HTML fragments generated by JSP pages
inside ASP pages.
Has anyone a clue how you do this ?
regards
Graeme
RE: Integration question
Posted by Paul FitzPatrick <cp...@fitzpatrick.cc>.
Well, you could use FRAMES (or IFRAMES but I don't think Netscape/Mozilla support them). Or you could use the ActiveX internet control to open an HTTP session to your servlet, which could return the HTML fragment either as text/plain or specify your own MIME type so that you can then just echo its result in your ASP output stream (I am woefully uneducated on ASP, so I am not sure how to integrate the output of the internet control, but I do know you can get the fragment.)
Hope this helps,
Paul
-----Original Message-----
From: Graeme Wallace [mailto:gwallace@houston.rr.com]
Sent: Wednesday, October 11, 2000 12:17 PM
To: tomcat-user@jakarta.apache.org
Subject: Integration question
Now I know this is entirely the wrong list, but ....
We wrote a customer some code that works nicely with Tomcat and Apache.
Now they say they want it to work with IIS, no big deal but that
they also want to be able to include HTML fragments generated by JSP pages
inside ASP pages.
Has anyone a clue how you do this ?
regards
Graeme