Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

online list editing

Status
Not open for further replies.

winston6071

Programmer
Nov 22, 2000
52
AT
hello

i want to create an online list, where i can put in my dvds and cds or pc games aso. we are 3 people who has the same interests, and we dont want to buy one thing twice, so therefore it would be great to have a list online with a password protection that everyone from us can get in when he buy something new and could edit the list or database online via internet, and the page should be by a providers server it should just be a small solution, maybe with a textfile ? actually i have no idea, i just try to start internet programming, and this should be my first project.

so has anyone an idea what the best way would be to create that solution.

you would help me alot thanks in forehand for your tips
ciao joe
 
This is what you can do. Have a text file on the server (this file should contain the list of items). Create a servlet which when access will prompt user for id and pwd. If match, it will open the text file, read in data, and display it back to the user's browser.

The response html from the servlet will definately contain a form which will allow you to update the text file again. If you want, you can use back the same servlet or create another servlet for it.

If you just want to use 1 servlet, you can use 'flags' as parameters to check if the user is trying to login or trying to submit a new item to the list. I would suggest borrowing some books on Servlets and Html to read so that it would be easy. You can also test out your servlet in your pc by downloading Tomcat and SDK from
After that, you just need to find a free web server which supports servlet and everything would be done :)

Leon
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top