This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes JSF and the fly likes External URL passing current url Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "External URL passing current url" Watch "External URL passing current url" New topic
Author

External URL passing current url

Ernie Salmon
Greenhorn

Joined: Nov 03, 2008
Posts: 1
Hi,
I require the following. I need to call an external URL from my application and pass a parameter of my current url location. I have achieved part this by using the following.



Now I need to add a parameter to the above external url which will pass my current url, so that I can then return to my current application.
So for example say the above url = "www.javaranch.com", i need
to pass a parameter returnurl "http://www.javaranch.com?returnurl=http://java.com" where the returnurl will my current url.

I am trying to construct my current url, but having problems.
I have used


Any ideas??
[ November 03, 2008: Message edited by: Ernie Salmon ]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: External URL passing current url