The longer answer: It's best not to create your relative links this way. A better alternative is to use the request object's getContextPath method to determine the root of your application. This allows you to move your pages around as needed without having to fix all of the links on them. Example:
You can, but in a web app you shouldn't. Relative paths imply that there's a well-defined base directory somewhere, and in a web app that's just not the case.
[Thread hijack removed. Ask your own questions in new topics rather than taking over someone else's.] [ January 28, 2007: Message edited by: Bear Bibeault ]