Well it depends on if your using php.

Lets say that you were using php for your main (index.php) page with the form, you would have your code on the same page and do it like this:

<form name="myform" method="POST" action="index.php">
<input type="text" name="yourtext" size="50" maxlength="255">
<input type="submit" name="Submit" value="Submit">
</form>

So when the user submits the form, it will come back here automataclly with a reloaded page.

Check out my example: http://epicmen.com/ttt.php