Can you give an example or a link where I can see something like this being implemented ?
I am new at this
I will try and explain a little more what i want to do:
I will have a text file(let's call it rules.txt) having data like "page1 -> page2".
I will have multiple pages(simple .html pages) that contain buttons(we can call them back/next or anything else) that go from the current page to some other page.
Now my servlet will identify the page that it is displayed and when the button will be pressed it will go to the page indicated in the rules.txt file ...
I don't know how else I can explain this ...
If you have any ideas or any examples to work on it will be great