• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Redirecting to the user's home page

 
Pranay Narotam
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all

I have an applet, and it consist of an EXIT button which closes the applet.
Once the user clicks on the EXIT button, I would like to redirect to the user's
homepage or to a blank screen. I do not want to create this blank screen using HTML.

Thanks for your help

Pranay
 
Maneesh Godbole
Saloon Keeper
Posts: 11312
16
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why are you calling exit in an applet? That is contrary to the user web experience. A more appropriate thing to do would be to "logout" the user.
Check out AppletContext#showDocument() method(s) on how to display a particular page from an applet.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic