seetharaman venkatasamy wrote:
Coming to your question give a jsp url and onload you submit the form which will call the servlet's doPost
the point is i cannot use a jsp url & then submit the form to servlet , because the servlet is already sent from another servlet by request dispatcher, by no means i can access it with a form , i can only retrieve value from that servlet & the value is a cookie value .
now you must be thinking why iam using refresh because unless i refresh i am not getting the values in servlet page.