發表文章

目前顯示的是 2月, 2010的文章

Spell check not working on Office 2007

This is the problem caused by MS office 2007 pointer pointed to non-existing DLL. Solution: Start Regedit and goto the following key: HKEY_CURRENT_USER\Software\Microsoft\Shared Tools\Proofing Tools\1.0\Override\en-US I had 2 entries (DLL and LEX) pointing to non-existing files. Rename these to oldDLL and oldLEX. After this change all Spell Checking worked normal again.

iText PDF Encryption

Starting from iText 2.0.0 you need the BouncyCastle.jars as soon as you use encryption. http://www.bouncycastle.org/latest_releases.html http://sourceforge.net/projects/itext/files/extrajars/

Prevent "/" in the textbox

Must use the size attribute of the input element of HTML in order to prevent "/" appear on the input box when displaying the value from jsp variable. For example, <input type="text" name="path" value=""<%=path%>" size="80">