• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to retrieve window.name in a servlet

 
Fernando Dominguez
Ranch Hand
Posts: 106
Debian Eclipse IDE Firefox Browser
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello.

I'd like to retrieve window.name in a servlet.

Is it possible?

Thanks.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64720
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is not.

Why would you want to do this? Surely there must be a better way to accomplish whatever it is.
 
Fernando Dominguez
Ranch Hand
Posts: 106
Debian Eclipse IDE Firefox Browser
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'll take your advice, I'll try to find an easier way.

Thanks.
 
Rakesh Keerthi
Ranch Hand
Posts: 152
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Fernando,

I just want to know what does this window.name means. I'll try to help.

Thanks.
 
Fernando Dominguez
Ranch Hand
Posts: 106
Debian Eclipse IDE Firefox Browser
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Rakesh.
I few words, window.name is a property of the window object that I used to manage using javascript, but now I'd like manage it using java if it was possible.
I thank you for the attention you paid, but I'm afraid there's not way of getting that property using java.
Thanks.
 
Rakesh Keerthi
Ranch Hand
Posts: 152
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Fernando,

Sorry, i can't help with it, but i found some resource that might be helpful. below are the links. please go through them.

http://www.java-samples.com/showtutorial.php?tutorialid=189
http://www.w3.org/TR/Window/


Happy Coding. :-)
 
Luan Cestari
Ranch Hand
Posts: 163
C++ Redhat Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use the developer tools of some browser like Chrome and see the whole request what data is sending and unfortunately it doesn't send that. So you will need to put that into the POST/GET you are doing, e.g. in a hidden input.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64720
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You still have not explained what it is that you are actually trying to accomplish. Without that information it's hard to make suggestions on how to best accomplish it.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic