File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Calling one page to another - login to welcome page

 
Al Kaiser
Ranch Hand
Posts: 35
  • 0
  • 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: 64171
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • 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
  • 0
  • 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.
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic