File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes External URL passing current url Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSF
Reply 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 agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: External URL passing current url
 
Similar Threads
Can we Access FacesContext outside FacesServlet
Problem in redirecting to the index screen
ActionListener
Trying to post to an external jsp (jsf) service...
[Resolved] Services as Managed Beans