• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

bookmark URL

 
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is there any way to code in java to find out the URL the user tried is a bookmark.

Thanks
 
Marshal
Posts: 28193
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What's a "bookmark" for the purposes of your Java application? Is that something you plan to implement, or something else?
 
jibs parap
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sorry, by bookmark I meant the URL that can be saved in a browser(Favorites in IE, Bookmarks in FF etc)

Please advise me a strategy how best it can be done.

Also I'd like to know how to find out if the application has been timed out.

Cheers
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
So, this Java code runs as an applet? Or what is the connection between that code and a browser?
 
jibs parap
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
its not applet
 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
All a bookmark is is a URL; there's no difference on the server side.
 
Paul Clapham
Marshal
Posts: 28193
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
So, in summary, your requirement is that your application should be able to get into another application (Internet Explorer, Firefox, Safari, etc, etc) and find some of that application's stored data (namely favourites or bookmarks or whatever they call these URLs)?

If that's the case, then your question is really something like "Where does Internet Explorer store its Favourites list?"
 
Paul Clapham
Marshal
Posts: 28193
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

jibs parap wrote:Also I'd like to know how to find out if the application has been timed out.



Which application? Yours or the browser? And what does "timed out" mean in the context of your application? (It doesn't really mean anything in the context of a browser.)
 
jibs parap
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

And what does "timed out" mean


time out = session time out

Sorry guys, Im asking a strategy how best it can be done. In other words, if your client put forward this requirement to be implemented, whats the answer you are going to give them?

Most of of the replies sound like 'we can't do it, go and change the requirement' or am I misunderstood?
 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No, most of the answers are saying that it is not understood, what, exactly, you're trying to do, so you should provide more detail about that.
 
Paul Clapham
Marshal
Posts: 28193
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It just struck me that the "java" which jibs parap asked about might possibly be Java code in a Web application. In that case the URL in question would be the URL of the request which the browser sent to the Web application. And the "session time out" would then refer to the Web application's session. This question would all start to make sense if we were told basic information like that.

So is my wild guess correct, jibs?
 
jibs parap
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes, thats right Paul.

I think I went with a prejudiced mind...so was not clear enough. Hope everything is clear now with Pauls input. Now the answer..
 
David Newton
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Mine's still the same about the bookmark.
 
Paul Clapham
Marshal
Posts: 28193
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yup. Your web application can't tell whether the browser has bookmarked a URL which it sends to you.
 
David Newton
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Unless... you were doing something with continuations or some sort of URL-embedded timestamping or something.

So I mean technically you could probably figure out a way to determine this for reasonable values of "robust"... whether or not it's worth it is a different story.
 
jibs parap
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks guys; trying to figure out what could be the best way. If you have any novel ideas, please shout.
 
David Newton
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I thought I had.
 
reply
    Bookmark Topic Watch Topic
  • New Topic