Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Calling another web application

 
sruthi reddy
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I have a situation where i need to call another web application from my application.When user clicks a registration link in my current application, then its should go the registration page of another application which has further registration code and as soon as user done with registration, user should return to current application. Can you please suggest me how to do this , if possible please provide me with all possible solutions.
Thanks
Sruthi
 
Pat Farrell
Rancher
Posts: 4678
7
Linux Mac OS X VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One usually does this using the redirection output of the JSP that your servlet uses. And you need either a flag or a "come from" attribute in the other login so it can know to dispatch back
 
Santhosh Kumar
Ranch Hand
Posts: 242
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Assuming the registration processing application is very generic entity, which other applications can invoke too.

You can do send-redirect to the registration application url with one extra parameter 'target' as your application url.

Once the registration is over, the registration application can sendredirect to the 'target' url so user would be presented with your application again.
 
sruthi reddy
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks pat and santhosh.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic