add jsp logic for unicode and forms