Get the parameter from the URL

Advertisement
Hello
I have a problem. I want to know the id that is in the url of an extern site. For example http://www.example.com/employer.jsp?id=1234
Does anybody know how I can get the value 1234 fom the url. I have no idea but it is very important for me.
Please help me,
Henk
Advertisement

Replay

oic. If the document location according to the browser is that URL with the id or whatever, then you could use Javascript to set the value of a hidden form field:
<body ... onload="document.forms['myform'].submit();">
<form name="myform" ... onsubmit="this.url.value=document.location.href; return true;">
<input type="hidden" name="url" />
Of course, that'll submit the form on load, you can change that part if you want.
If the page is in a frameset and you want the top page's location, you can do:
<form name="myform" ... onsubmit="this.url.value=top.document.location.href; return true;">
But, the browser is going to have the location of whatever page it thinks it's viewing, and if it got there by a redirect, it'll show the page it is on, not the page it was redirected from. For forwarding, it'll still think it is on the page that did the forwarding, not the end page. In other words, whatever you see in the brower's location bar should be what you'll get.

Can the parameter in the url be invisible?

hi, I want the parameters in the url to be invisible. That is if the url is http://localhost:8080/index.jsp?create=12 , so in the url bar it has to be displayed like http://localhost:8080/index.jsp. But the parameters should not be displayed. Is it p

How to get multiple values from the list

I've a list of an item which I queried it from the database. I also created a button that will takes a selected items from the list when it was clicked. I used javabean to get the data from database. <%     // clicked on Select District Button Vector

How to get a formula from the user from a text box in a webpage

Hi. I would like to know how to get the formula from the user who enters in a textbox. This formula can have any number of variables starting with a and goes on. The complexity of the formula can go upto sin, cos, ln, exp. Also user enters the minimu

Trying to download song from iTunes on my iPhone 4, it downloads 2.2mb, then restarts; does this about 3-4 times, then says unable to download... I can't get it to download the song at all. Can't even delete the song from the download queue or anything.

It's starting to **** me off, especially since there is no visible "settings" in iTunes. I've tried resuming the download, it just downloads to 2.2mb and then restarts 3-4 times again, I've tried restarting my phone, I've looked up stuff, but ca

I erased the printer from the dock, how do I get it back?

I erassed the printer from the dock,how do I get it back?Hi, open System Preferences>Print & Scan, highlight that printer, click on the Open Print Queue button, it'll show in the Dock, then Right click on that icon in the Dock, choose Optios>Kee

How do I get the Ap Store to stop showing that I have an update available? I have aready purchased the update from the company's site.

How do I get the Ap Store to stop showing that I have an update available? I have already purchased the update from the company's site.A Fix For: App Store Keeps Wanting To Update AppsRead other 3 answers

I am downloading from a Canon 650D to Photoshop CS5.1 AND Adobe Bridge CS5.1  do i need to download a  DNG convertor? if so how do i get the images from the camera to the convertor?

I am downloading from a Canon 650d  TO Photoshop CS5.1  and Adobe Bridge CS5.1  Do i need to download a DNG convertor? if so how do i get the images from the camera to the convertor?Please check the list yourself and co,mare the necessary CR version

I purchased the sticker from the application LINE and they already deducted the money from my account but I didn't get anything. Who should I contact?

I purchased the sticker from the application LINE and they already deducted the money from my appstore account but I didn't get anything. Who should I contact?All you can do is contact ... Apple - Support - iTunes Store - Contact UsRead other 4 answe

This may be a duplicate but, I have a new ipad mini that I need to activate but I need to get my data from my 1pad 1 which has never been backed up.  How do I get the data from the ipad 1 to the new mini?  I have itunes acct and also Icloud acct.  Thanks

I have a new ipad mini that I need to activate but I need to get the data from my old ipad 1 and install on the new mini.  I have a itunes acct and also icloud acct.  How do I back up the ipad 1 data and then activate the mini.  I assume I will need

HT4061 My mail is frozen. I get to it from the Mail icon, but then it will not function. Touching it will not move it at all.

My mail is frozen. I can get to it from the Mail icon, but then the touch pad feature does not function. I cannot move the mail page up or down or from side to side. No messages will open. Help!Try closing the Mail app via the taskbar and see if it w

Getting rpm values from the fans on the MSI NEO2-FIR motherboard doesn't work

I currently have 6 Noctua NF-S12-1200 120mm fans spinning in my computer but i am unable to get rpm values from them except the cpu-fan. It doesn't work to get a readout from the others with either, BIOS, Dual Core Center or Speedfan. Regarding Speed

How to I get my contacts from the iCloud  to my new phone

I am having problems with my new iphone5 the lady in the shop saved all my contacts on the iCloud and said I could get them once I have started up my new phone.does anyone know how I can get my contacts from the iCloud to new iPhone. ThanksIt depends

Is the other way to get the downloads from the support section

Is there any other way to get the downloads from the support section? Because the download speed is very slow. For example in need the new version from the Value Added Package, and its 116 MB big. A normal download time would be about 5 - 10 minutes.

Unable to get the media from the Endeca Experience manager version 11.0.0

Hi., Iam unable to get the media from the Endeca Experience Manager for my endeca app 'CRS'. I have created the endeca app named 'CRS' using the reference app discover-data-catalog-integration and successfully initialized and indexed.Iam able to see

Function module to get the dates from the year and the period

Is there a function Module to get the dates from the year and the periodCheck with : To get last day of period use . LAST_DAY_IN_PERIOD_GET. To get last of month Use : RE_LAST_DAY_OF_MONTH HRVE_LAST_DAY_OF_MONTH LAST_DAY_OF_MONTHS ISB_PREVIOUS_PERIOD

How to get specific rows from the vo or Iterator in the backing bean?

Hi, I have to get the specific number of rows from iterator in the backing bean. means i want to get the records from the VO or Iterator only from 5 th record to 10th record its like rownum in SQL. We can use rownum in VO sql query. but there would b

HT201302 I have Windows XP laptop. Can I get the photos Saved on the iPad1 iOS4.3 from emails and websites etc. Onto my laptop as backup or in case I want to delete the photos from the iPad?

I have Windows XP laptop. Can I get the photos Saved on the iPad1 iOS4.3 from emails and websites etc. Onto my laptop as backup or in case I want to delete the photos from the iPad? It never seems to synch fully with the laptop?Ivon, when you are sat

Hello . I'd like to buy an iPhone 5S Space Gray 64GB and get free shipping from the USA to Russa but the problem is I don't know about wireless service plan . What should I choose for Russian wirelesses ? Does T-Mobile work in Russia ? Please , help me

Hello . I'd like to buy an iPhone 5S Space Gray 64GB and get free shipping from the USA to Russa but the problem is I don't know about wireless service plan . What should I choose for Russian wirelesses ? Does T-Mobile work in Russia ? Please , help

How can I get all photos from the camera roll onto the photo stream so they will share between iphone and ipad?

How can I get all photos from the camera roll, and all new pictures taken, to get on the photostream so they can share between iphone and ipad?When turning PhotoStream on with photos available in the Camera Roll, only photos captured by the iPhone or