Retrieving the whole URL of the caller page in a frameset.
I have a frameset where each frame contains a JSP page. Let's say that in one of the frames i have page1.jsp, whose URL is http://www.site.com/page1.jsp?a=1&b=2 . This JSP contains a link to page2.jsp . I click the link so now in frame A there is page2.jsp .
From page2.jsp, can i retrieve the URL of the page that called page2.jsp (that is, can i retrieve http://www.site.com/page1.jsp?a=1&b=2) ?
I know that page1.jsp could simply pass its own URL to page2.jsp as a parameter, but it would be very better if i could retrieve that URL without explicitly passing it.
I tried to read the request header "referer", which would be just what i need, but it always returns the URL of the page that created the frameset, which is useless to me.
1) You can check for referrer, but the browser doesn't have to give it.
2) You can encode the referrer URL directly into your links...
href="page2.jsp?referrer=<%= URLEncoder.encode("http://www.site.com/page1.jsp?a=1&b=2") %>"
Similar Messages
-
How can I get the whole URL to my BSP Controller
Hi,
I need to build up a html-link with my bsp-url. How can I get the whole url to a specific controller, but without the session-id (sap(id))?
I need something like the following:
http://server:port/sap/bc/bsp/sap/<application>/<controller>.do
Thank You!Hi Arne,
you can create the URL with the method:
CALL METHOD cl_bsp_runtime=>if_bsp_runtime~construct_bsp_url
EXPORTING
in_application_ns = ...
in_application = ...
in_page = ...
in_parameters = ...
IMPORTING
out_abs_url = ....
Regards,
Rainer -
How to make the new tabs to open the same URL as the startup page?
Hello!
I was wondering if it's possible to configure the Firefox in such a way that the new tabs open exactly the same URL that is typed in the Options. I tried to set browser.newtab.url to about:home but it gives me Firefox Google custom page instead of the startup page that I've set in the Options. Another way I tried is to set the browser.newtab.url value in about:config to the same URL as the startup page URL, but then if I change the URL in the options the new tab URL is not changed. So the question is whether it's possible to make the Firefox read the URL that is used for the startup page and go there when opening a new tab.You can use a addon or about:config
<h2>Addon</h2>
* https://addons.mozilla.org/en-us/firefox/addon/new-tab-homepage/
<h2>About:config</h2>
# In the [[Location bar autocomplete|Location bar]], type '''about:config''' and press '''Enter'''. The about:config "''This might void your warranty!''" warning page may appear.
# Click '''I'll be careful, I promise!''', to continue to the about:config page.
# Enter '''browser.newtab.url''', double click the result.
# A new window should now show, enter your homepage url in the box, then hit ok.
# Open a new tab, does it work.
If prefs arent saved you need to read the [[How to fix preferences that won't save]] article. -
How do I change font in the whole document at the same time?
How do I change font in the whole document at the same time?
Menu > View > Show Styles Drawer
Menu > Help > Pages User Guide
Download and read page 27 on creating and using Styles, which is done largely by example ie you make the text what you want then save it as a Style to be applied wherever you want in the document from the Styles Drawer.
http://www.freeforum101.com/iworktipsntrick/viewtopic.php?t=180&mforum=iworktips ntrick
Peter -
How to populate the whole path of the button in a field when the button is clicked.
Hi,
I have around 5 uploads in my file. I kept a hidden field on the header of the form. When ever i click on the upload button, the path of it needs to be populated in the hidden text field.
by using this.parent we can get the parent name of the element.
is there any method similar to the above one to get the whole path of the button????????Try putting this script in the click event of the button
Hidden_Text_Field_Path.rawValue=this.somExpression;
This ought to work using either FormCalc or JavaScript. I'm not sure from your description whether you will need to use the full path name for the hidden text field or use a relative one, but that's not too hard to deal with. -
How do I get the phone version of my site to use the same url as the desktop version -- without the "phone" extension. when someone posted a link to my site, they posted it from their phone and it included /phone. Now when people click on it - - it goes straight to the phone version of the site.
Please refer to similar post here :
https://forums.adobe.com/thread/1577934?sr=inbox
Thanks,
Sanjit -
I'm editing a wedding that I shot for a family member, But when I play it the top of the image is cropped off in the veiwing window but it shows the whole image in the project strip. When I make a DVD with it transfer the whole image or will it be the chopped off image and how do I make sure it is the whole image ?
What version of iMovie are you using?
For 9.09..
If the image is not 720p, you might have to crop it to have freehand control over which bit gets cut off.
How to crop it...
In the project window hover your cursor over a section of the clip in the bottom right corner as seen below:
Click on the cog and open up Cropping,Ken Burns and Rotation.
Click on Crop and drag and set to where you want it to be cropped, then click Done. (Because mine isn't 720p, iMovie automatically makes it so I cannot include the black border. If you do not mind this click Allow Black.)
Glad if this helped! Please rate up. -
In safari browser cookies is working fine. But when I add the browser url to the screen then the cookies concept is not working. In safari setting cookies is always open only. Can you please provide any information regarding to this?
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 and disables most add-ons (extensions and themes).
''(If you're using an added theme, switch to the Default theme.)''
If Firefox is open, you can restart in Firefox Safe Mode from the Help menu by clicking on the '''Restart with Add-ons Disabled...''' menu item:<br>
[[Image:FirefoxSafeMode|width=520]]<br><br>
If Firefox is not running, you can start Firefox in Safe Mode as follows:
* On Windows: Hold the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
* On Mac: Hold the '''option''' key while starting Firefox.
* On Linux: Quit Firefox, go to your Terminal and run ''firefox -safe-mode'' <br>(you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
''Once you get the pop-up, just select "'Start in Safe Mode"''
[[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.
Thank you. -
Configuring the Destination URL for the Adobe Document Services
hi all,
I am going through the documentation for "Configuring the Destination URL for the Adobe Document Services " at :
http://help.sap.com/saphelp_nw2004s/helpdata/en/02/560f41ca73d349e10000000a1550b0/frameset.htm
I am not able to understand 7th step
<b>7. Define the user name and password. To find out how to create the user name and password for the Adobe document services, see Creating a User for Basic Authentication in the document Adobe Document Services Configuration Guide. You can find this guide in the SAP Service Marketplace under Quick Link /InstguidesNW04.</b>
In our scenario
<i>We are running NW04s SP11 on 2 machines
1) <u>32-bit machine with ADS and credentials properly configured on Web AS for Java installation</u>
<b>com.adobe AdobeDocumentServices null (710.20061024154505.342190)
com.adobe AdobeDocumentServicesEjbClientLibrary null (705.20060407121920.289077)
sap.com SAP-JEE 7.00 SP11 (1000.7.00.11.0.20070201154700)
sap.com SAP-JEECOR 7.00 SP11 (1000.7.00.11.0.20070201154700)
com.adobe DocumentServicesBinaries2 null (710.20060629085312.115621)
com.adobe DocumentServicesConfiguration null (710.20061024154505.342190)
com.adobe DocumentServicesDestProtoService null (710.20060821084105.325745)
com.adobe DocumentServicesLibrary null (710.20060629090137.115621)
com.adobe DocumentServicesLicenseDatabase null (705.20051005114147.242570)
com.adobe DocumentServicesLicenseManager null (710.20060929113452.336248)
com.adobe DocumentServicesLicenseService null (710.20060929113452.336248)
com.adobe DocumentServicesLicenseSupportService null (710.20060929113641.336248)
</b>
2) <u>64-bit machine with portal installation on Web AS for Java, with ESS and MSS</u>
<b>sap.com/SAP-JEECOR 7.00 SP11 (1000.7.00.11.0.20070201154700) 20070308153304
sap.com/SAP-JEE 7.00 SP11 (1000.7.00.11.0.20070201154700) 20070308153213
sap.com SAP_ESS 600 SP7 (1000.600.0.7.12.20070314050106)
sap.com SAP_MSS 600 SP7 (1000.600.0.7.4.20070321052655)
sap.com tc/wd/webdynpro null (7.0009.20060804145649.0000) </b>
</i>
Why do we have to create a new user for the server which is consuming the web service? We already have an user "ADSUser" defined for the Web AS server which has ADS services deployed.
I have opened this thread to solve the previous unanswered question I posted on SDN Empty area in place of Interactive form. .
One more thing the adobe print forms of ESS [Total Compensation Statement and Salary Statement] are rendering properly, only the ones with Interactive ability or not.
thanks,
SankethHello Sanketh,
1. To access the NW04s configuration guide,
- Go to https://service.sap.com/adobe
- On the left frame (tree), under Adobe > Media Library > Documentation
- On the right had pane you will find the link to the NW04s Configuration guide
2. The link that you have mentioned below details the steps required to be carried out on the client machine that consumes the Adobe Document Services. In our case that is the j2ee engine on which your Web Dynpro application is running. It could be the same physical machine with two different j2ee instances hosting Web Dynpro and ADS or it could be two different physical machine or a single machine having a single instance of j2ee engine hosting both the Web Dynpro and the ADS.
You do not have to create a separate username and a password on the consuming machine but you need to configure the Web Service client proxy to point to the ADS (maybe hosted on a different machine) with the username and the password created on the ADS server. As you have mentioned, you have already created such an user on the ADS (ADSUser). This user authentication on the client machine (consuming server - Web Dynpro) would be required at the runtime by the j2ee engine to authenticate itself with the ADS.
Best Regards,
Krish -
How do I open a duplicate tab or window that points to the same URL as the current tab?
In earlier versions of browsers, not necessarily Firefox, it used to be possible to launch a new tab or window with the same URL as the current window. I can't find a way to do this in Firefox. It always opens new windows with no URL specified.
Hold down the control key, then drag the tab that you want to duplicate onto the tab bar.
-
How do i make the whole veiw of the computer smaller? it seems bigger than the whole screen
how do i make the whole veiw of the computer smaller? it seems bigger than the whole screen
often, this happens when you blunder into Accessibility/ Universal Access features, such as screen Zooming.
System Preferences > Accessibility/ Universal Access > Seeing -
I purchased a song a few days ago and downloaded the whole song and the song will not play all the way through it only plays 23 seconds. How do I fix this problem?
Thanks for this post. It corrected my similar issue. Note that you need to exit from/re-enter iTunes after deleting the song from your Purchased list.
-
Messages Log Window - occupy the whole width of the screen
I accidentally "unpinned" my Messages Log Window and although I have managed to redock it, how do I get my Messages Log Window to now re-occupy the whole width of the screen and leave the System and Structure Windows only as Windows that do not occupy the whole width of the screen.
Steven,
It sounds like you have docked the Log Window on the left-hand side rather than the bottom.
If you click and drag on the Log Window caption bar so that you are over the background area and then move your mouse towards the very top of the Status Bar you should see the Log Window expand to the full screen width that you want.
Hope that helps,
Lisa Sherriff
JDev QA -
If I have my iphone 6 on oovoo or any other app on the whole night while the charger is plug in, will that ruin the battery?
No. The phones are smart enough to stop charging once they are full. Most people plug in their phones overnight, and just unplug it in the morning and you are good to go. I hope this helps!
-
I've just bought an iPad and there's a line that runs the whole length of the screen about an inch from the outside edge of the screen. Have I bought a faulty product?
Try reset iPad
Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears
Note: Data will not be affected.
Maybe you are looking for
-
Help required- error while installing HANA Live for ERP deployment
Hello Mentors, While installing HANA Live I am stuck with the below attached error. Also attached are the relevant logs. I could see that many people faced the similar issue, but unfortunately none has posted the final solution. I have tried to imple
-
Mirroring from TV to MacBook Pro: a reverse process.
With AirPlay Mirroring, I can mirror what is on my computer - through Apple TV - onto my TV, but can I do the reverse? Can I mirror what is on the TV to my MacBook Pro?
-
Cannot load new itunes because of absence of msi file; what can I do to resolve.
My iTunes on my Dell Laptop became corrupted; I have tried to uninstall and reinstall nd keep getting message that I need a msi file. How can I resolve? Thanks.
-
Quick way to recover purchased apps?
I just did an iPad sync that I very much regret having done. (https://discussions.apple.com/message/17804531#17804531) In order to get one lousy PDF from my computer to my iPad, I both burned 45 minutes and lost about 15 apps. Half the apps were fr
-
WRT160Nv2 questions - no firmware upgrades?
I just bought a WRT160Nv2 today, and although setting it up was very easy and quick..there's a couple of things I'm curious about... a) When I look for firmware upgrades, it only shows Version 1 and 3...not 2..why is that?? (I have version 2.0.02 bui