aspose file tools*
The moose likes Servlets and the fly likes How to retrieve window.name in a servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "How to retrieve window.name in a servlet" Watch "How to retrieve window.name in a servlet" New topic
Author

How to retrieve window.name in a servlet

Fernando Dominguez
Ranch Hand

Joined: Sep 01, 2006
Posts: 102

Hello.

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

Is it possible?

Thanks.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61006
    
  65

It is not.

Why would you want to do this? Surely there must be a better way to accomplish whatever it is.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Fernando Dominguez
Ranch Hand

Joined: Sep 01, 2006
Posts: 102

I'll take your advice, I'll try to find an easier way.

Thanks.
Rakesh Keerthi
Ranch Hand

Joined: Jul 16, 2012
Posts: 136
Hi Fernando,

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

Thanks.
Fernando Dominguez
Ranch Hand

Joined: Sep 01, 2006
Posts: 102

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

Joined: Jul 16, 2012
Posts: 136
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

Joined: Feb 07, 2010
Posts: 162

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.


Please, visit me for some cool tech post at www.ourdailycodes.com
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61006
    
  65

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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to retrieve window.name in a servlet