wood burning stoves 2.0*
The moose likes JSF and the fly likes Trying to post to an external jsp (jsf) service... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Trying to post to an external jsp (jsf) service..." Watch "Trying to post to an external jsp (jsf) service..." New topic
Author

Trying to post to an external jsp (jsf) service...

Karl Krasnowsky
Ranch Hand

Joined: Jan 16, 2009
Posts: 97
Probably a basic question but here's my need.
From my JSF code I have a h:commandButton. When selected I would like to perform an action that redirects to a fully qualified external URL, with post data.
I can, easily perform the redirect from my bean code statically as such:


but I want to pass in parameter information to the target service, so essentially I'd like to do this in a h:form element, but I need the action within the submit button of the form reference this external service and I can' get it to do this.

I've also attempted to pass the parameter information through the URL itself, e.g., :


but the target jsp doesn't recognize the "get" parameter.

I've tried hunting through archives and each plausible solution has come up empty, or worse.
Any help on this would be appreciated.

thanks,
BTW, I am using RichFaces for my development if this in any way helps.



[SCJP 6]
[SCBCD in process]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Trying to post to an external jsp (jsf) service...
 
Similar Threads
Authorization in JSF
Logout in JSF with Security managed by Glassfish v3.1
Changing Views with navigation handler in java and sending params to the changed view
Redirecting to an external payment website
URL same