Bookmarking pages in a browser

Hello,
It appears that when JSF is used for web apps the url field (address) of the browser has a value that does not reflect the page on which the user is, thus making impossible to bookmark pages of the apps produced with JSF.
Has anyone else noticed the same behaviour or am I doing something wrong?
Thanks
SDJ

Yes, but it is not because of JSF. It is the nature of any framework (JSF, .NET,...) that utilizes a "Forward" versus a "Redirect". You can search this forum on how to change setting in XML file where navigation rules are stated to force a redirect instead of Forward (</redirect>). But keep in mind that will have a whole a lot of problems that go with it.
An easy way to relate to issue is to examine what happens when a an action is triggered on page (clicking on command button,...). The current page is posted back, an action or event is triggered on server and user is forwarded to a new page. All happens on the server and the browser has no idea that user is forwarded to a new page. As far as the Browser is concerned the current page is the one that triggered the action via a Post. In other words, the URL shown in Browser is always a step behind. Again you can force a redirect. But that will essentially cause a response to be rendered back and then a new request is initiated (doubling server trips). Moreover that will have limitations on passing arguments via request scope.
Bottom line, you are probably better off using a "Forward" instead of a "redirect" for many reasons (minimizing server trips, more flexibility in passing parameters via request scope, less dependency on browser types and settings...)
Sure for pure static pages that may be too much to live with. But in reality and if solution involves some real e-commerce functionality, bookmaking a page is not a practical mean. If a web transaction consists of more than one page in a forced navigation scenario, you probably would not want the user to jump directly into third step (bypassing first and second pages).
Even in a single page transaction, you still want the user to go through log on screen, perform authentication and then send user to target page.
This gets even more confusing if your application supports (Back, Forward or Refresh Browser actions). Let's say page (n) is displayed when user clicks on Back Browser button. In that case, the URL displayed by the Browser is that of page (n-1). Ironically it is the page that user meant to go back to when he or she pressed the Back Browser button. So actually page (n-2) is posted back and then user is forwarded to page (n-1). And now the user lands on page (n-1), but the URL displayed in Browser is that of page (n-2). Similarly for refresh and Forward Browser actions.
It could be very confusing until you understand the mechanism of navigational model caused by the combination of using (Post versus Get & Forward rather than Redirect).
Again you can change this default behavior, but you probably would not want to for many reasons (some I already listed above).
The best thing is to understand it and use this navigational model to your advantage when architecting your web solution.

Similar Messages

  • I have an iPhone 6 with IOS 8.1.3 and when I use the landscape view in Safari, the bookmark page appears and takes up one half of the screen. How can I get rid of the bookmark page so I can have the whole screen to what I am browsing?

    I have an iPhone 6 with IOS 8.1.3. When I go to the landscape view in Safari, the bookmark page appears and takes up one half of the screen. How can I get rid of the bookmark page so I can use the whole screen to what I am browsing?

    OOPS! Too quick on the trigger to ask that question without trying anything. Sorry. Solved it by touching the bookmark icon.

  • Distinguishing between bookmark page and ordinary jsp

    If I bookmark a page in my project and close the browser , and again on restarting the browser
    viewing the same bookmark page without logging in,
    All the links should work.
    It is working , but problem arises here
    how to
    distinguish between bookmark page and ordinary jsp
    which is viewed with login

    The problem is not the bookmark.
    Review your JSP, you may find it does not check the session id.
    In this case, everyone can access the page without login.

  • Bookmark page frozen and unable to use Safari

    When I launch Safari the bookmarks page is frozen on the screen. I am unable to use Safari to browse.
    Everytime I select the Done option nothing happens. The multiple pages icon at the bottom right of the screen is highlighed in white. It appears to be stuck on that option. Any suggestions would be greatly appreciated.
    Thanks, Jessie

    From the Safari menu bar, select
              Safari ▹ Preferences... ▹ Extensions
    Turn all extensions OFF and test. If the problem is resolved, turn extensions back ON and then disable them one or a few at a time until you find the culprit.

  • HT4759 Cannot sync my bookmarks from Safari Web Browser to iPad.

    I cannot sync my bookmarks from Safari Web Browser to my iPad.
    When connected to iTunes it lists that my bookmarks are being synced via iCloud, but I cannot see where my bookmarks are being stored on iCloud.
    Any assistance would be greatly appreciated.
    Thanks!

    I have loaded my Firefox bookmarks into Internet Explorer Favorited. I also uninstalled Safari.
    I go to iTunes on my phone and see no wat to connect my iPhone to my laptop. I see Music, Shows, etc., the kind of stuff I would expect, but no clue as to how to proceed.
    Would you please be so kind to fill me in on how to "That syncing is done via iTunes. Connect the device to iTunes, select it, then go to the Summary page and select to sync bookmarks."?
    I am not sure what you mean by "Summary Page"
    Thank you

  • Syncing Bookmarks With A different Browser

    Is it possible to sync bookmarks on an iphone with the bookmarks of a browser other than Safari on your computer? I have way more bookmarks on my mac's Safari browser than I want or need on my phone, but I also use Firefox on which I have fewer bookmarks many of which I would want on the phone. Is there any way to have the bookmark's sync come from Firefox instead? Right now I have bookmark syncing disabled to avoid loading all the ones I don't want.
    John
    Message was edited by: Pappasbike

    Would it be acceptable to use a bookmarking site such as Delicious or Stumble-upon?
    I use Delicious on Firefox (Windows Vista), Safari (Mac OS X) and the iPhone - I don't have to worry about losing bookmarks ever again
    You should also be able to import bookmarks from Firefox to Safari, and vice versa. You can organise bookmarks into folders to reduce the clutter on mobile Safari's bookmarks page.

  • Bookmarked pages randomly disappear

    Upgraded to FFox 4 and I have rather strange situation. I've bookmarked 3 pages during same session. I've turned off computer (regular shutdown - no errors) and when turned back on - only 1 bookmark is here while other 2 are lost. Now I started bookmarking pages and they are randomly disappearing from bookmarks. NO PATTERN at all. Checked Profile - OK. Now I'm confused what to do ? How can I be sure that bookmarked page will stay bookmarked ?

    For both part 1 and 2 of your problem, see
    * '''Corrupt localstore.rdf''' - MozillaZine Knowledge Base<br>http://kb.mozillazine.org/Corrupt_localstore.rdf
    Rather than dragging bookmarks the following would things easier for you
    * '''Add Bookmark Here ²''' :: Add-ons for Firefox<br>https://addons.mozilla.org/firefox/addon/add-bookmark-here-2/
    *http://dmcritchie.mvps.org/firefox/addbookmarkhere2.txt
    For help working with your '''bookmarks and history''' see
    * '''Bookmarks''' - MozillaZine Knowledge Base -- http://kb.mozillazine.org/Bookmarks
    * '''Sorting and rearranging bookmarks''' - Firefox - MozillaZine Knowledge Base -- http://kb.mozillazine.org/Sorting_and_rearranging_bookmarks_-_Firefox
    * '''Viewing the browsing history''' - Firefox - MozillaZine Knowledge Base -- http://kb.mozillazine.org/Viewing_the_browsing_history_-_Firefox

  • Viewing wml pages on Z10 browser

    Hi,
    Does anyone know how to view wml pages on Z10 browser? Most of my old bookmarks are in WML format.

    If you browser setting is set to Desktop mode, it fools the site you are visiting that you are a desktop browser. In the browser, select the overflow icon (3 dots), settings Developer tools, Desktop mode Off). Most web sites are setup to run in Wireless Markup Language by having   www.m.website.com  

  • How do I view my web pages in the browser again?

    I was able to work on my web pages in Dreamweaver MX2004 and view them in a browser until 3 days ago.  I have also been able to make changes on my web pages which showed up in my website until around 3 days ago.  i am very frustrated. I can no longer view them in a browser or make changes that show up on my website.   Any suggestions?

    I didn't install anything new.  I am using Windows 7 on a new computer and had successfully gotten my Dreamweaver installed and running.  I was able to view my pages in the browser just fine.  I made changes to my site just fine.  Now when i go to F12 to preview in the browser, all I get is a blank page showing my connection number to my web host and in little letters at the top, it says "pageok".  I have always seen the page and could correct any mistakes, but now I can't see the page.  It's also unbelievable the changes I have tried to make on some pages show up in my local and remote pages on my computer but do not show up when I go to the website.

  • New to apple, question about font sizes on show bookmarks pages

    Former windows user, trying to get used to this beautiful new imac! When I am on the safari page, in the show all bookmarks page, the font is so small, and buttons to increase the size are disabled on the page! I know there must be a way to make the print bigger but how?
    Thanks to all.. I think I'm learning more from reading these forums than with all the help pages.

    Very sound advice (as always) Barry.
    I (very briefly) considered offering the Terminal/Defaults route, but thought that Safari Enhancer was the lesser of two evils. Safari Enh does not need to be kept running after changes (like the bookmark font size) are made. & I believe most of it's functions within Safari are made by simply altering the plist file - so getting back a default configuration is very simple.... just reset safari.
    keveliz : Barry's is good advice. I wouldn't put safari enhancer in the " ...here be dragons" or 'addicted to haxies' class myself... because it's just a program that you run & close afterwards - it doesn't carry on, (possibly) brewing trouble in the background.
    I haven't been using Apples even a year now - but pc's & 6502 / 6800 & onwards micros since err, 1980..... & fwiw I personally think safari-enh is much safer than most 3rd party fixers ( which isn't saying much! - so Yep, I'd recommend it based on my usage )- there's good support, a useful discussions forum; although previous versions ( presumably sorted now?) could be annoying due to setting non-std options that you hadn't specifically checked - a problem if you're just starting & you wouldn't know what was a default setting & what wasn't.
    None of which is intended to disagree with Barry's note of caution - be careful out there.

  • How do I clear my bookmarks from the Firefox browser on a public computer, having synced my account to see them during a browsing session?

    Here's what I'm trying to achieve:
    1. I use Firefox on someone else's computer and sync my account to retrieve my bookmarks. (This works.)
    2. After finishing my browsing session, I sign out of my Firefox account, and my bookmarks are cleared from the Firefox browser. (This doesn't work.)
    I have tried the following options:
    a) Open menu > Options > Sync > untick 'Bookmarks' > OK. This doesn't clear my bookmarks from the browser, not even if I close and open it again. They all show up.
    b) Open menu > Options > Sync > under Firefox Account click 'Disconnect' > OK. This doesn't clear my bookmarks either, only necessecitates me signing in to sync again.
    I understand there used to be an option to 'unlink this device', which may clear all data including bookmarks, but I can't find it anywhere. I've also read an article suggesting clearing bookmarks etc can be achieved by deleting your Firefox profile from a device, but I fear this will delete global options such that I won't be able to access them on my home computer.
    Surely there must be a way of siging in then out of the Firefox account on different computers, like you can with e-mail, without leaving all your bookmarks etc open for every other user to see afterwards? I'm transfering to Firefox from Chrome precisely because it doesn't have the capacity to do this (scarily), and to clear my bookmarks from a friends' browser, I had to uninstall Chrome on her computer!
    Any help would be greatly appreciated.

    1. Sync wasn't intended to be used in that manner. You would be better off carrying around a USB Flash Stick with Portable Firefox for use on "strange" PC's.
    2. You could open the "Library" {Ctrl + Shift + B} and highlight all those bookmarks and then delete them all at once. But that would also delete all the other bookmarks, and it isn't foolproof. All another person would need to do it to '''''restore''''' a bookmark backup file that has your bookmarks. Beyond that, a new Profile could be created and then the current Profile deleted; but that's "messing with" someone else's computer - an action that is worthy of terminating a friendship over, IMO.
    And if that "public" computer was set up properly, Sync should have been disabled.

  • I can't delete bookmarks page in my bookmarks list on toolbars, maybe there is a little bugs. Thx.

    I can't delete bookmarks page in my bookmarks list on toolbars, maybe there is a little bugs. Thx.

    A possible cause is a problem with the file places.sqlite that stores the bookmarks and the history.
    *http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox

  • Can't access adobe from my smart phone to use my form created in formscentral I receive an error message that says "unsupported browser". There is a link to download a supported browser but the link directs me to another page that says "browser no

    When I try to access adobe from my smart phone to use my form created in formscentral I receive an error message that says "unsupported browser". There is a link to download a supported browser but the link directs me to another page that says "browser not supported at this time". This happened to me while using my IPhone 5, a friend that uses an IPhone 6, and another friend that uses a Samsung Galaxy S5. I just need for my employees to be able to access, complete and submit work orders created in formscentral from their phones. I would like to use the data collection feature in formscentral but at this point any suggestions on how to accomplish this are welcomed. Thank you

    Further info - I changed my security settings to allow apps from anywhere, and again tried to install.  I again got an error message
    that the update failed to install, and to contact Customer Support.

  • On another PC I want to backup my bookmarks but my Firefox browser is not working how can I do the backup before I reinstall Firefox

    On another PC I want to backup my bookmarks but my Firefox browser is not working how can I do the backup before I reinstall Firefox.
    Firefox can't renew it's last tabs and now won't run and let me do a backup

    It is possible that there is a problem with the files sessionstore.js and sessionstore.bak in the Firefox Profile Folder.
    Delete the sessionstore.js file and possible sessionstore-##.js files with a number and sessionstore.bak in the Firefox Profile Folder.
    *Help > Troubleshooting Information > Profile Directory: Open Containing Folder
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    Deleting sessionstore.js will cause App Tabs and Tab Groups and open and closed (undo) tabs to get lost, so you will have to create them again (make a note or bookmark them).
    See also:
    *http://kb.mozillazine.org/Session_Restore
    *http://kb.mozillazine.org/sessionstore.js
    *http://kb.mozillazine.org/Multiple_profile_files_created

  • In the Firefox browser, when i click button in ADF page, then popup  the OAF page in iframe tag,and then when i  click the PPR bean in  OAF page, then Firefox  browser reload to ADF page. This is not the right response,browser should not reload the ADF pa

    In the Firefox browser, when i click button in ADF page, then popup  the OAF page in iframe tag,and then when i  click the PPR bean in  OAF page, then Firefox  browser reload to ADF page. This is not the right response,browser should not reload the ADF page.It should stays in OAF page or goto another OAF page. and in other browser such ad IE,We get the right response.

    hello, normally such issues are caused by a firewall/security software which doesn't recognize & therefore blocks new firefox versions. please remove all program rules for firefox from your firewall and let it detect the new version of the browser again.
    [[Fix problems connecting to websites after updating Firefox]]

Maybe you are looking for