• Post Reply Bookmark Topic Watch Topic
  • New Topic

google ads inside jsp pages  RSS feed

 
Yahya Elyasse
Ranch Hand
Posts: 510
Eclipse IDE Google Web Toolkit Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,

is it possible to have Google ads inside jsp pages running under tomcat server ?

our boss is trying to convince our team to not use tomcat & jsp because google ads will not run well on this platform .

I'm not sure if this statement is true ?
is there really any issues using ads inside jsp pages under tomcat server ?
if not , can you give us a simple example on how to insert Google ads inside a given jsp page ?

thanks for sharing your ideas with us .
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's absolutely absurd.
Google ads are all driven from the client end.
You can put them in a plain HTML page if you want to.
(JSP's output is HTML).

Our FAQ pages are JSP driven and have Google ads on them.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by othman El Moulat:
can you give us a simple example on how to insert Google ads inside a given jsp page ?


When you sign up for adsense, there is a block of HTML/Javascript text on the webpage that you can cut and paste into your pages. Anyone with a mouse can do it and it doesn't make any difference what server side technology you're using.
 
Yahya Elyasse
Ranch Hand
Posts: 510
Eclipse IDE Google Web Toolkit Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank you for the reply.

i agree too that's absurd. i couldn't digest the boss's statement.i wanted to make sure if what he believes is true or completely false !
I'll have to convince him of this fact if i show him a working jsp page with Google ads on it!

thanks for your answer.
 
sudhir nim
Ranch Hand
Posts: 212
Eclipse IDE Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by othman El Moulat:
Hi guys,

is it possible to have Google ads inside jsp pages running under tomcat server ?

our boss is trying to convince our team to not use tomcat & jsp because google ads will not run well on this platform .

I'm not sure if this statement is true ?
is there really any issues using ads inside jsp pages under tomcat server ?
if not , can you give us a simple example on how to insert Google ads inside a given jsp page ?

thanks for sharing your ideas with us .


Google ads has nothing to do with tomcat or jsp or any other serverside scripts. Its driven by javascript.
Just put java script in your jsp file, and it should work fine.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!