Tried with below scenarious,
1. I tried sending pdf as Base64 from js & decode the same in servlet using java.util.Base64. getDecoder.decode(String) - getting Illegal exception.
2. attaching pdf object to formData() object (as key- value) sending to servlet through ajax, still getting data as empty.