This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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


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 ]
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: External URL passing current url
 
It's not a secret anymore!