• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can I translate this javascript into Servlet?

 
Farakh khan
Ranch Hand
Posts: 833
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Thanks in anticipation
 
Ankit Garg
Sheriff
Posts: 9577
33
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Javascript runs in the browser i.e. the client side, Servlets run on the server side. There's no comparison between the two. AFAIK, the servlet has no way of knowing the URL of the parent window of the current frame...
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65335
97
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nope.

And really, this isn't the kind of info that's often needed on the server. What are you trying to accomplish with this?
 
Farakh khan
Ranch Hand
Posts: 833
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bear Bibeault wrote:Nope.

And really, this isn't the kind of info that's often needed on the server. What are you trying to accomplish with this?


Thanks for your reply

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic