Image base 64, post, and Apache Tom Cat server

Hello everyone, I’ve searched and tested everything I’ve seen in 2 week but It’seem that nothing works. So I really need an example. My issue is capture the picture from camera ( type of base64 img) and then auto post it to server (e.x: then server ( using Java servlet) responses the width and height of img to the phone. Sorry for my poor English :slight_smile: