• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

can applet redirect to some webpage

 
amit taneja
Ranch Hand
Posts: 813
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
can any body tell me is that applet can redirect to some page at particular time ?

how to make sheduler using applet ?
and that sheduler can redirect to particular page at specified time ?

Please openly give ideas ??

Thanx and Regards,
amit
 
Joe Ess
Bartender
Posts: 9340
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you haven't written many applets, you should start with the Java Tutorial chapter on Writing Applets.
You can load a URL using the showDocument() method of java.applet.AppletContext. As for writing a scheduler, you'll probably have to use a thread. Take a look at the Java Tutorial chapter on Threads for a start. There's also information in the tutorial on applets above concerning working with threads in applets.
Good luck!
 
amit taneja
Ranch Hand
Posts: 813
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanx v.much...
one last thing..
can i include the applet in servlet ?

i think yes ?
what do u say ?
 
Gauri Deshmukh
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI,


I dont think you can put an applet in a servlet, simply because a servlet runs on the server side where as an applet runs in a client's browser.

Please feel free to correct me if I am wrong.
-G.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic