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.
You can't use out.println() to display the value in the input text. It's a bit different from a language like php where you can just embed the PHP script inside HTML. You need to use <%= someObject.getCurrentDateTime() %>. Remember, there's an equal sign after the percentage sign and there's no semicolon. Scriptlet is rarely used nowadays and it's considered a bad practice to use it.
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