This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
When forwarding to an HTML page containing relative URLs included, RequestDispatcher's forward() does not notify the client about the directory from which the page is served, hence the links may be broken. Instead, use HttpServletResponse's sendRedirect() as the servlet container must convert the relative URL to an absolute URL before sending the response to the client.
SCJP 1.4, SCWCD 1.3, SCBCD 1.3
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com