• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Calling one page to another - login to welcome page

 
Al Kaiser
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a login application and a seperate application which has welcome page. Is there a mechanism utilizes calling one application to another so that after my login is successful, it goes to the welcome page of another application. I know pagecontext probably connects one page to another, but, is there a better option?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65126
92
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I know pagecontext probably connects one page to another

?
In any case, what you probably want to do is to perform a redirect to the appropriate URL in the other application.
 
danny liu
Ranch Hand
Posts: 185
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use response.sendRedirect(URL) is safe and simple.
If you wanna make cross-application access, it will cause a lot of
security problems.
If you wanna show the user name on the welcome page, just append that data at the URL.
Hope it helps.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic