The error message says it all:
Input length must be multiple of 8 when decrypting with padded cipher
You are providing it with 2125 bytes, which is not a multiple of 8.
When you are ENcrypting, padding is used to make your input up to a multiple of the block size (so the last input block is full size). When you are DEcrypting, you need to decrypt full blocks, then strip off or ignore any padding in the decrypted output. There are a number of techniques for identifying what is "real" data and what is padding.
The whole point is that using DES/ECB, encrypted data comes in blocks of 8 bytes. Plain text can be any length, and any difference is made up by padding during encryption. If you encrypt something, then throw away part of the last block, you'll never recover the last block when you decrypt. So, you'll need to read a multiple of 8 bytes from your servlet.If you like the answer, vote and accept it.