I am developing a web application to encrypt some texts with java 6.
The encrypted that I have to do is a AES (Rijndael) in CBC mode with PKCS7 padding and a 128-bi
Java only provides PKCS#5 padding, but it is the same as PKCS#7 padding. See this question on Crypto.SE:
What is the difference between PKCS#5 padding and PKCS#7 padding
They are interchangeable for the common block ciphers like AES and DES.