Extract from Servlet 2.3 spec "...The sendRedirect method will set the appropriate headers and content body to redirect the client to a different URL.It is legal to call this method with a relative URL path, however the underlying container must translate the relative path to a fully qualified URL for transmission back to the client. If a partial URL is given and, for whatever reason, cannot be converted into a valid URL, then this method must throw an IllegalArgumentException...." see section SRV.5.3
Don't play dumb with me! But you can try this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!