Emit flexible URLs

The URLs emitted by a web application should respond flexibly to changes in deployment details, and to the possible use of session IDs by the container: Other items to note :

See Also :
Always maintain HttpSessions
Prefer JSTL tags
Manage sessions closely
Beware of URL rewriting