See end section of demo.html for basic methods of web page redirection. There is a wikiP page on these methods. ======================== For designing PHP etc.: An urge is to want a triangular way of calling server-php -> remote server -> browser. But this apparently isn't possible. However sending a HEAD redir to browser is probably very cheap (desktop machine and browser probably idling-waiting) extra step in practice. Within PhP: header("Location: http://www.psy.gla.ac.uk/~steve/resources/pal.html"); exit; Slightly cheaper is to get browser's java to do the calc then exec the redirection: saves call(back) to php server, and sending of (short) HEAD back to browser. But perhaps less reliable /robust given that java can't be relied on for all users. But perhaps for more or less private facilities, why not. So a common pattern I have is (java method skips middle 2 steps): A PHP page to gather my user input Call back to server, reusing same page but now with args Send out redirection to browser as final action (Browser sends out the redir. call) BUT ALSO: Some PHP scripts fetch remote page (e.g. teaching timetable) and extract info from that for further calculation (or editing, or ...) They may then display it directly to browser i.e. a kind of triangle: Browser -> PHP -> fetch other page [-> php -> browser] ======================== JAVA indirect POST: needn't actually have a FORM (dy. create on page): see docfile "postmethod"