LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 05-29-2001, 10:36 AM   #1
bfloeagle
Member
 
Registered: Jun 2000
Location: Upstate New York
Distribution: Ubuntu
Posts: 158

Rep: Reputation: 30
Question


I need a java program that can be loaded via an Internet browser, that in turn calls up about 10 other webpages in sequential order at set times. Basically, I want it to load a webpage and about a minute later, load another one from a list, then do it again for an indefinite amount of time. Does anyone know where I can find one or some basic info on how to write one? (I have a little experience with java but not enough to know how to even start a program like this....unfortunately...)

Andy
 
Old 05-30-2001, 09:48 AM   #2
rch-tech
LQ Newbie
 
Registered: May 2001
Posts: 2

Rep: Reputation: 0
hmmmm

Sounds like someone wants to buck the system with those All Advantage, get paid while your surf type things....

Heh, I want 90% of profits for writing that for you...=)
 
Old 06-01-2001, 06:45 AM   #3
bfloeagle
Member
 
Registered: Jun 2000
Location: Upstate New York
Distribution: Ubuntu
Posts: 158

Original Poster
Rep: Reputation: 30
Talking Actually, I figured it out for myself...

I need it for a kiosk system I am setting up. I needed a set up number of webpages that displayed the status of a bunch of things to be rotated at a workstation running an Internet browser. In addition I needed it to display a certain page on Sunday mornings...... I ended up using Java Script and Java, which were embedded into each of the rotating webpages.

If I do make a profit (which I won't), I keeping it. Sorry........ ;P

Andy
 
Old 06-01-2001, 08:12 AM   #4
rch-tech
LQ Newbie
 
Registered: May 2001
Posts: 2

Rep: Reputation: 0
heh

can't blame a guy for tryin' =)
 
Old 06-01-2001, 08:58 AM   #5
bfloeagle
Member
 
Registered: Jun 2000
Location: Upstate New York
Distribution: Ubuntu
Posts: 158

Original Poster
Rep: Reputation: 30
Talking lol

 
Old 08-02-2002, 05:42 PM   #6
mrdensity
Member
 
Registered: Apr 2002
Location: Central US
Distribution: Libranet 1.9.1 & 2.0, tinyX (2dskxwin) & WinLinux 2001
Posts: 83

Rep: Reputation: 15
Sunday has past , but you could have the screensaver start a script that initiated a browser. Then loaded the pages locally from hard disk. You will need a text file listing all the pages to display and use a wait statement for the time to wait between changes. a "while true do" statement to run the wait command and n=n+1 to grep the next line in the text file beginning with the integer "n". Dont forget a sanity check to be certain that "n" is never > "the value for the last file to load. Or less than the first file. If n=x then n=1 (or 0 if it wont load the first page in the list.)
set cron daily to copy a certain text file into place for grep to read and cron weekly to copy the sunday file after cron daily has run so the sunday file replaces the weekday file.

It might be easier to write a simple script than learn a new language. Dont forget to make the script executable.

There is a "kiosk howto" in the Linux Documents Project. It uses redhat 6.2 . I found it to be slow on an older machine and opted for a base install of Libranet instead. I am working out the screensaver also and will report progress as it happens .
 
Old 08-02-2002, 06:00 PM   #7
Bert
Senior Member
 
Registered: Jul 2001
Location: 406292E 290755N
Distribution: GNU/Linux Slackware 8.1, Redhat 8.0, LFS 4.0
Posts: 1,004

Rep: Reputation: 46
Sorry, I've always wanted to do this ...

I need this Java Applet which for a school project which serves as a peer to peer filesharing app using a google-engine search function so that users can download stuff like with KaZaA. In fact I'd really like a Java applet that does just what KaZaA does. Can anyone help me?
Any Java whizzes with loads of free time who work for absolutely nothing?

You can email it directly to:

iamajavaexpert@hotmail.com

Thanks

ps. Sorry bfloeagle. I hope you can see the funny side. I'm glad you got somehting working.
 
Old 08-19-2002, 08:28 AM   #8
MeLassen
Member
 
Registered: Sep 2001
Location: The Netherlands
Distribution: Ubuntu 4.10
Posts: 45

Rep: Reputation: 15
Re: Actually, I figured it out for myself...

Quote:
Originally posted by bfloeagle
I need it for a kiosk system I am setting up. I needed a set up number of webpages that displayed the status of a bunch of things to be rotated at a workstation running an Internet browser. In addition I needed it to display a certain page on Sunday mornings...... I ended up using Java Script and Java, which were embedded into each of the rotating webpages.

If I do make a profit (which I won't), I keeping it. Sorry........ ;P

Andy
I wrote something for this in javascript a few years back. I'll have to see if I can find the file. Send me a pm if it takes too long.

ciao
MeLassen
 
Old 08-19-2002, 09:23 AM   #9
bfloeagle
Member
 
Registered: Jun 2000
Location: Upstate New York
Distribution: Ubuntu
Posts: 158

Original Poster
Rep: Reputation: 30
Thanks for the offer, but I found something that worked a couple of weeks after I posted this last year...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
JAVA how to trigger a servlet without a link or a browser request? Runnerdave Programming 5 11-17-2005 02:26 AM
install Java (Servlet), Tomcat on Fedora need help. learn Fedora 2 02-24-2004 11:28 PM
installing java servlet develpment kit senthilasks Linux - Software 1 08-27-2003 01:15 AM
Do I need a servlet to run applet from Apache? je_fro Linux - Networking 2 04-19-2003 07:40 PM
compiling a java program on server using servlet? raghutv Programming 1 03-15-2003 06:17 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration