Passing data via the address bar?
Hi all,
I am interested in have a hyperlink such as xxxxx.jsp?logout=true and i was just wondering how i code the logout function around this? Where does the link pass logout to using this?
Thanks,
Steve
String logout = ((request.getParameter("logout")!=null)?request.getParameter("logout"):"");
if (logout.equals("true") {
//Logout code
} else {
//dont logout.
Hope this helps.
Similar Messages
-
I was not adding anything to Firefox. I Refused tool bars embedded in several application installs on this new computer. Was working fine. Then had a problem with Google search, restored default values and re-tooled Firefox. At this point all worked fine. Then my url, address bar changed color to the same color as the program shell, a grey brown as opposed to the white it was before. With the change in color it no longer allows me to change the data showing in the bar. I can not delete or add data. I used to add a url and navigate to the domain. Now I can not
Greetings,
TY for the reply, the information was enlightening to be sure. I never knew safe mode was an option with Firefox. I have so many tasks running that I didn't want to shut things down. What I did is turn off some of the last plug-ins I installed. That did not fix the problem at least in the first look. What happened next was very interesting none the less. I had a moment of mouse spastic wrist syndrome and accidentally moved a tab in such a way that it opened in a new window. The URL bar was white and editable. So I moved all my tabs to the new window and everything works as it should. I have restarted Firefox this morning and it came back with the bar editable and I am speechless to understand what I may have done to correct the problem if anything ?? -
Can´t browse to a site via the address field :: Firefox 33.02
Since I have updated to Firefox 33.02 I can´t access any site via the address bar. Only if find an url in the history I can actually navigate to it. I am on a Mac Mountain Lion Retina Display.
Please help ASAP
Name: Firefox
Version: 33.0.2
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:33.0) Gecko/20100101 Firefox/33.0
Fenster mit mehreren Prozessen: 0/8
Absturzberichte der letzten 3 Tage
Alle Absturzberichte
Erweiterungen
Name: ColorfulTabs
Version: 25.1
Aktiviert: true
ID: {0545b830-f0aa-4d7e-8820-50a4629a56fe}
Name: Evernote Web Clipper
Version: 5.9.1
Aktiviert: true
ID: {E0B8C461-F8FB-49b4-8373-FE32E9252800}
Name: Firebug
Version: 2.0.4
Aktiviert: true
ID: [email protected]
Name: Flash and Video Download
Version: 1.63
Aktiviert: true
ID: {bee6eb20-01e0-ebd1-da83-080329fb9a3a}
Name: iMacros for Firefox
Version: 8.8.5
Aktiviert: true
ID: {81BF1D23-5F17-408D-AC6B-BD6DF7CAF670}
Name: LastPass
Version: 3.1.54
Aktiviert: true
ID: [email protected]
Name: pearltrees
Version: 7.1.3
Aktiviert: true
ID: [email protected]
Name: Pocket
Version: 3.0.5
Aktiviert: true
ID: [email protected]
Name: RankChecker
Version: 1.8.32
Aktiviert: true
ID: [email protected]
Name: S3 Firefox Organizer(S3Fox)
Version: 0.6
Aktiviert: true
ID: {7CEA821D-3DAB-4238-B424-BF7324531750}
Name: Twitter Address Bar Search
Version: 1
Aktiviert: true
ID: [email protected]
Name: 1-Click YouTube Video Downloader
Version: 2.3.7
Aktiviert: false
ID: [email protected]
Name: Adobe Acrobat - Create PDF
Version: 1.2
Aktiviert: false
ID: [email protected]
Name: Alexa Toolbar Creator
Version: 2.1
Aktiviert: false
ID: [email protected]
Name: DomainsOnFirefox
Version: 1.2
Aktiviert: false
ID: [email protected]
Name: iMedia Converter Deluxe
Version: 3.5.0
Aktiviert: false
ID: {2677C893-4B55-1431-0417-05B22D76B0C5}
Name: Proxy-Listen.de - Proxyswitcher
Version: 1.0.4.5
Aktiviert: false
ID: [email protected]
Name: SEO Blogger
Version: 1.0.8
Aktiviert: false
ID: [email protected]
Name: SEO For Firefox
Version: 3.6.14
Aktiviert: false
ID: [email protected]
Name: Seo Toolbar
Version: 1.2.10
Aktiviert: false
ID: [email protected]
Name: SeoQuake
Version: 2.8.15
Aktiviert: false
ID: {317B5128-0B0B-49b2-B2DB-1E7560E16C74}
Name: Zemanta
Version: 1.0.1
Aktiviert: false
ID: [email protected]
Grafik
Geräte-ID: 0x fd5
GPU-beschleunigte Fenster: 8/8 OpenGL (OMTC)
Vendor-ID: 0x10de
WebGL-Renderer: NVIDIA Corporation -- NVIDIA GeForce GT 650M OpenGL Engine
windowLayerManagerRemote: true
AzureCanvasBackend: quartz
AzureContentBackend: quartz
AzureFallbackCanvasBackend: none
AzureSkiaAccelerated: 0
Wichtige modifizierte Einstellungen
accessibility.browsewithcaret: true
accessibility.typeaheadfind: true
accessibility.typeaheadfind.flashBar: 0
browser.cache.disk.capacity: 358400
browser.cache.disk.smart_size_cached_value: 358400
browser.cache.disk.smart_size.first_run: false
browser.cache.disk.smart_size.use_old_max: false
browser.cache.frecency_experiment: 2
browser.history_expire_days.mirror: 180
browser.link.open_newwindow: 2
browser.places.importBookmarksHTML: false
browser.places.smartBookmarksVersion: 7
browser.search.useDBForOrder: true
browser.sessionstore.upgradeBackup.latestBuildID: 20141027150301
browser.startup.homepage: https://kanbanflow.com/board/bfbe388cb244cacb4461dc83346b6e13
browser.startup.homepage_override.buildID: 20141027150301
browser.startup.homepage_override.mstone: 33.0.2
browser.tabs.loadInBackground: false
browser.tabs.onTop: false
dom.disable_open_during_load: false
dom.mozApps.used: true
dom.w3c_touch_events.expose: false
extensions.lastAppVersion: 33.0.2
font.internaluseonly.changed: false
gfx.blacklist.webgl.msaa: 4
media.gmp-gmpopenh264.lastUpdate: 1414953284
media.gmp-gmpopenh264.version: 1.1
media.gmp-manager.lastCheck: 1414953281
network.cookie.prefsMigrated: true
places.database.lastMaintenance: 1414931766
places.history.expiration.transient_current_max_pages: 104858
places.history.expiration.transient_optimal_database_size: 167772160
places.last_vacuum: 1299539445
plugin.disable_full_page_plugin_for_types: application/pdf
plugin.importedState: true
plugin.state.silverlight: 0
privacy.cpd.sessions: false
privacy.donottrackheader.enabled: true
privacy.sanitize.migrateFx3Prefs: true
security.warn_viewing_mixed: false
storage.vacuum.last.index: 1
storage.vacuum.last.places.sqlite: 1414343345
Wichtige nicht veränderbare Einstellungen
JavaScript
Inkrementelle GC: true
Barrierefreiheit
Aktiviert: false
Barrierefreiheit verhindern: 0
Bibliotheken-Versionen
NSPR
Minimal vorausgesetzte Version: 4.10.7
Verwendete Version: 4.10.7
NSS
Minimal vorausgesetzte Version: 3.17.1 Basic ECC
Verwendete Version: 3.17.1 Basic ECC
NSSSMIME
Minimal vorausgesetzte Version: 3.17.1 Basic ECC
Verwendete Version: 3.17.1 Basic ECC
NSSSSL
Minimal vorausgesetzte Version: 3.17.1 Basic ECC
Verwendete Version: 3.17.1 Basic ECC
NSSUTIL
Minimal vorausgesetzte Version: 3.17.1
Verwendete Version: 3.17.1
Experimentelle Funktionen
-------------------------Hello,
'''Try Firefox Safe Mode''' to see if the problem goes away. [[Troubleshoot Firefox issues using Safe Mode|Firefox Safe Mode]] is a troubleshooting mode that turns off some settings, disables most add-ons (extensions and themes).
If Firefox is open, you can restart in Firefox Safe Mode from the Help menu:
*Click the menu button [[Image:New Fx Menu]], click Help [[Image:Help-29]] and select ''Restart with Add-ons Disabled''.
If Firefox is not running, you can start Firefox in Safe Mode as follows:
* On Mac: Hold the '''option''' key while starting Firefox.
When the Firefox Safe Mode window appears, select "Start in Safe Mode".<br>
[[Image:Safe Mode Fx 15 - Win]]
'''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]] article to find the cause.
''To exit Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
When you figure out what's causing your issues, please let us know. It might help others with the same problem. -
I have an Apple Powerbook G4 with Mac OS X v10.5.8. I downloaded the new Firefox to replace an older version (v2.0, I think). When I try to go to websites via the address bar, I don't get any errors and nothing appears to be loading.
Try to create a new profile as a test to check if your current profile is causing the problems.
See "Creating a profile":
*https://support.mozilla.org/kb/profile-manager-create-and-remove-firefox-profiles
*http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Profile_issues
If the new profile works then you can transfer some files from an existing profile to the new profile, but be cautious not to copy corrupted files to avoid carrying over the problem.
*http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox -
Hi,
I notice that when I reset Safari that the passed items in the address bar is not cleared. Sure, password, ID's, histories, etc. are purged. But what about the address bar?
Just a question. Thanks for reading.
Yours truly,
LynxHi,
The address bar will still try to autocomplete addresses you have in your bookmarks - have a look through yours and clear out any old ones you no longer use.
Alternatively, type a space before entering any text and that should prevent the autocompletion from doing its job. -
Sometimes, when I click a link on a web page, I see in the address bar the words: "Search bookmarks and history" (greyed out) just before I am taken to the link I clicked. A moment later, when I'm at the link, its address appears in the address bar, and all is normal. It seems that this happens only from some particular sites. Is FireFox reporting that my bookmarks and history are being searched?
Should I be worried? Is someone searching my personal data? Is this just a FireFox error msg when it has trouble finding the website I requested?That is OK. Firefox will only display the link in the location bar after the DNS look up has succeeded and a connection to the server has been established. Until that has been done you see the default setting for the location bar: Tools > Options > Privacy > Location Bar: When using the location bar, suggest
-
Passing values but not in the address bar?
Hi,
There is a desire to link to a quiz made in APEX from our Intranet page using the Intranet's login (they dont require an APEX login). The way I've been planning on doing it is to take the Intranet's &USER. (or however the value is referenced) and pass it to a hidden item on the first page and then to an application item. However, the user is able to simply delete a character from the address bar's parameter value or make a completely new name...is there a way to just display the URL as: http://link:port/pls/apex/f?p=177:12:4499632641891821::
and pass the parameters to the items another way? Javascript somehow for example? Any help appreciated <3
MikeUnsure how bulletproof this solution is, but you can try including a check against the referring URL to ensure the URL isn't manually hacked.
if OWA_UTIL.get_cgi_env ('HTTP_REFERER') is null
or lower(OWA_UTIL.get_cgi_env ('HTTP_REFERER')) not like '%my-referring-url%' then
-- sorry, you came from the wrong link
end if;(Try calling owa_util.print_cgi_env in a pl/sql region to show all the environment info available)
Edited by: maceyah on Jun 8, 2010 11:12 AM -
Since the most recent up-date of Firefox I've had buttons on the tool bar vanish and then return when I change web sites, etc. Too, the address bar does not show URLs a lot of time, especially after a search and I click to the link. I have to look under page properties to find the web address in order to link to pages later or even book mark them.
Please email me @ [email protected]I noticed ''similar behavior'' on what I had thought to be modified pop-up windows. But I accidentally created a new window (tab tearing) and the new window did not have menu bar or tabs bar, but if I selected that window then it showed all toolbars and the original window the reduced set and can keep switching between the two to keep reversing which is which. Needless to say I can't duplicate it again. The location showed "Go to web" instead of the location on the new window, reload did not fix that, but creating a new tab did fix that upon return to the tab.
-
I can only open Firefox websites by using a url link. If I try to type something in the address bar it will not even attempt to load the page, no loading circle, no error or no connection message. I'm at youtube.com and I type in google.com and slap ENTER. Nothing happens. Nothing. I slap the ENTER key a couple more times to similar effect. I can open blank new tabs, but can't get the address bar to work. I can right click videos and have them open correctly in new tabs or windows, but the address bar refuses to do anything.
Internet Explorer works perfectly fine though. Despite the ads.
I've updated reinstalled, disabled my firewall, restarted firefox, restarted my computer, hasn't accomplished diddly jack squat. If anyone has any idea what's going on here I would highly appreciate your help.Hello,
Try clicking on Tool --> Options --> Advanced --> General tab. Uncheck "Use Hardware Acceleration... ". Do you have any add-on like avg safe search installed?
Hope that helps. -
I cant seem to type in the address bar
when i click in the address bar i cant seem to type anything. nothing shows up in the bar. what could be wrong?
You can remove all stored data from a specific domain via "Forget About This Site" in the right-click context menu of an history entry (Show All History or History sidebar) or via the about:permissions page.
Using "Forget About This Site" will remove everything like bookmarks, cookies, passwords, cache, history, and exceptions from that domain, so be cautious and if you have a password or other data from that domain that you do not want to lose then make a note of those passwords and bookmarks.<br />
You can't recover from that "forget" unless you have a backup of the affected files.
You can check for problems with the places.sqlite database file in the Firefox Profile Folder.
*http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox
*https://support.mozilla.org/kb/Bookmarks+not+saved#w_fix-the-bookmarks-file
Do a malware check with some malware scanning programs on the Windows computer.<br />
You need to scan with all programs because each program detects different malware.<br />
Make sure that you update each program to get the latest version of their databases before doing a scan.
*http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
*http://www.superantispyware.com/ - SuperAntispyware
*http://www.microsoft.com/security/scanner/en-us/default.aspx - Microsoft Safety Scanner
*http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
*http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
You can also do a check for a rootkit infection with TDSSKiller.
*http://support.kaspersky.com/viruses/solutions?qid=208280684
See also:
*"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked -
Trying to fetch a row ID from the address bar
Hello,
I am creating a website that will strickly be run on a touch
screen and saved locally. I am using spry.
I have a Category page with a list of 4 products (Each a
large link button). All of them link to the same html document like
so:
href="product.html?thisID=0" and then the next one "thisID=1"
and so forth.
On the product.html page I wrote a little javascript function
to read the address bar and get me the id number. Here is the
javascript function that runs on page load:
function fetchID() {
var varArray = document.location.href.split("?");
var thisID = varArray[1].split("=");
dsProducts.setCurrentRowNumber(thisID[1]);
alert(thisID[1] + " | " + dsProducts.getCurrentRowNumber());
When I click the first product with thisID=0 the alert says
"0 | 0"
And spry gives me an error saying "Invalid Row Number: 0"
When I click on the second product (thisID=1) the alert
correctly says "1 | 0" and once again I get an invalid row number:
1
How can I set the current row using the variable in the
address bar? My javascript correctly gets me the integer that I
pass.
Thanks,
BraxoHi Braxo,
To do what you want is no need to parse the whole url to get
the id number.
You can add an observer for your dataset. When the dataset
will be populated with the values from xml, you can set the current
id to the url parameter.
You have to this because when page loads and your code runs
no data is present . This is because data loads asynchronous.
You should add something like this into your code:
dsProducts.addObserver({ onPostLoad: function(ds, type) {
dsProducts.setCurrentRow(params.thisID); }
Until the end of this week, on labs will be posted an
complete example that covers your situation and you can follow the
example from there.
Hope this helps,
Diana -
How to Hide userid and password in the address bar
Hello Dears
I am using OAS 10g and calling a form from my web portal designed in ASP.Net. I pass userid and password to OAS as parameters and form is accessed but the problem is that userid and password are displayed in the address bar. How can I hide this info to secure my application.
Note: This is a multi-user environment.
Please guide. thanks
Inayat QaziOn your reports server in the reports\conf directory there is a file called cgicmd.dat
This file allows you to create a key that will be replaced with the entry from this file. You can put your userid and password parameters in here and thus remove them from the address line.
Key value entries look like this in the file:
examplekey: userid="scott/tiger@myoracleinstance" %*
your url would then look like this:
http://myreportsserver/servlet/rwservlet?examplekey&report=myreport.rdf&destype=cache -
This is my parent's computer. Here are the facts: After using facebook the previous evening, the next time the computer was used all of the desktop displayed symbols instead of letters/words. Upon trying to open Firefox a window labeled Firefox crash report opened. No matter what options you choose (send report, don't send, etc) when you click on an option, another Firefox crash report window opens. So I can't open Firefox. Simple solution would be to uninstall Firefox and reinstall it; however, it is very hard to navigate the computer with no words and all symbols. I am able to open up Internet Explorer, but anything in the address bar or search bar also appears as symbols. If I were to type in a specific site in the address bar, the site will load properly in words but the address bar still shows symbols. After much playing around, I was able to update Avast antivirus and run a full scan and nothing was found. I updated Malware Bytes and ran in for an hour but it never fully finished running before I had to leave. Please help.
Try to disable hardware acceleration.
*Tools > Options > Advanced > General > Browsing: "Use hardware acceleration when available"
If disabling hardware acceleration works then check if there is an update available for your graphics display driver.
Try to toggle some Boolean gfx.font_rendering prefs on the about:config page to disable some features.
Filter: gfx
Some to try:
* set gfx.direct2d.disabled to true to disable Direct2D
* set gfx.font_rendering.directwrite.use_gdi_table_loading to false.
To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
If you see a warning then you can confirm that you want to access that page.<br />
*Use the Filter bar at to top of the about:config page to locate a preference more easily.
*Preferences that have been modified show as bold (user set).
*Preferences can be reset to the default or changed via the right-click context menu. -
When you put Firefox in full screen all the toolbars disappear. When you hover over the top of the screen the address bar and 'open tabs' bar appear. Is it possible to get the favourites toolbar to appear as well?
If not is there any other way to access favourites without having to close Firefox?You can also toggle that setting if you hover the mouse to the top and right click a toolbar to open the toolbar context menu: Hide Toolbars.
That won't show the bookmarks toolbar AFAIK even if it is selected. You can access the bookmarks via the Bookmarks menu button if you place that button on a visible Navigation Toolbar or Tab bar.
Add code to userChrome.css below the @namespace line to make the Bookmarks toolbar visible in full screen mode.
* http://kb.mozillazine.org/userChrome.css
<pre><nowiki>@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */
#PersonalToolbar[moz-collapsed="true"] { visibility: visible !important; }</nowiki></pre>
* http://kb.mozillazine.org/Editing_configuration
* ChromEdit Plus: http://webdesigns.ms11.net/chromeditp.html -
After resetting firefox, I can no longer search from the address bar
Like the title says I can't search from the address bar "awesome bar" anymore. I just get a 404 error when I try. Searching just lists tons of people getting the "just update keyword.url" answer that's no longer valid. And hasn't been for several years.
I got a browser hijack somewhere. Not sure where, and nothing was installed on my computer so I reset firefox and lost all my search engines. IE was fixed with an uninstall/reinstall. Chrome hates my face and no longer runs. (And google's help is... well if I wanted to be insulted...) I've reinstalled several times. No dice. I've now reset firefox three times. It's just not working. I've ran several virus scanners, ran several malware programs, and even asked my IT department. (They don't care cause IE works and their stupid "virus scan" was clean. I mean it took 30 seconds. What the hell did it actually scan?)
Surely there's a keyword or something that I'm missing that needs to be reset so I can get my address bar searching again.Current Firefox versions use the default search engine that is set in the search bar as well for searching via the location bar and on the about:home page.
You can use the SearchReset extension to reset some preferences to the default values.
*https://addons.mozilla.org/firefox/addon/searchreset/
Note that the SearchReset extension only runs once and then uninstalls automatically, so it won't show on the "Firefox > Add-ons" page (about:addons).
Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extension (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
*Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
*Do NOT click the Reset button on the Safe Mode start window
*https://support.mozilla.org/kb/Safe+Mode
*https://support.mozilla.org/kb/Troubleshooting+extension+and+themes
You can check the connection settings.
*Tools > Options > Advanced > Network : Connection > Settings
*https://support.mozilla.org/kb/Options+window+-+Advanced+panel
If you do not need to use a proxy to connect to internet then try to select "No Proxy" if "Use the system proxy settings" or one of the others do not work properly.
See "Firefox connection settings":
*https://support.mozilla.org/kb/Firefox+cannot+load+websites+but+other+programs+can
Maybe you are looking for
-
ORA-01720 while trying to grant select on a view
Hi Friends, Iam getting the following error while trying to grant select privilege for the view to SchemaB, i have the view in schemaA. I have used the tables from both the schema for creating the view and iam getting the error on showing a particula
-
Video clips missing after import Please advise
I am new to this whole video editing and just learning. Before taking it to an editor I tried to import a DVD I had transferred from a VHS tape. All the video os on the DVD that was made but when i convert took the DVD and imported it I am missing ab
-
Organizing My music into Albums without itunes
All of my albums which is like idk 21? randomly fell apart while i was downloading Styx from limewire.Then onto my itunes when i started to fill out the information and into albums. Randomly All of the albums in my library fell apart!!! even though t
-
Dimension Table contents are different after cube copy - why?
To all, I'm doing some work on a cube based on some bad dimensioning in it's original design. We're running BI 3.50 - The original cube is INV_C01 - here is the table contents based upon SAP_INFOCUBE_DESIGNS report - INV_C01 rows: 243,
-
this massage appear in my switch : Loading "flash:c2960-lanbasek9-mz.122-44.SE6/c2960-lanbasek9-mz.122-44.SE6.bin"...flash:c2960-lanbasek9-mz.122-44.SE6/c2960-lanbasek9-mz.122-44.SE6.bin: short read: bad mzip file Error loading "flash:c2960-lanbasek9