java scrip post issue solved