my dog learned polymorphism*
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 Murach's Java Servlets and JSP this week in the Servlets 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 ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: External URL passing current url
 
Similar Threads
Problem in redirecting to the index screen
[Resolved] Services as Managed Beans
Can we Access FacesContext outside FacesServlet
Trying to post to an external jsp (jsf) service...
ActionListener