[thelist] phpAdsNew banners executed from a .jsp

Matt Warden mwarden at gmail.com
Sun Nov 21 22:49:57 CST 2004


On Sun, 21 Nov 2004 16:45:26 +0600, Raditha Dissanayake
<jabber at raditha.com> wrote:
> klute wrote:
> 
> >Hello All,
> >
> >Is there any way i can utilize phpAdsNew server on my
> >site while most of my site's pages are .jsp?
> >
> >if it's not possible, can you recommend another
> >adserver that can be installed within a shared hosting
> >env and is open source or free.
> >
> >
> NO reason why you cannot use an iframe or embed html directly into your
> jsp to pull off adds from a phpadsnew. Most web hosting companies allow
> php scripts to be executed on their servers.

Another option would be to use jsp/java to make an HTTP request to the
php ad script on your own server, put the response html in a variable,
and include that in the response of the jsp (via out.println()).

Which method is less ugly would be opinion. Obviously this latter
solution is transparent to the user, while the former is not.

-- 
Matt Warden
Miami University
Oxford, OH
http://mattwarden.com


This email proudly and graciously contributes to entropy.


More information about the thelist mailing list