Hi..
I have 2 frames in my page. The first frame is Login frame. Second frame is Error frame.
Login frame having login form with 2 textboxes.. username and password & a submit button. I m submitting form information to a
servlet. In the servlet i have to decision of where(to which frame) to send response.If username and password are matches to some particular values,then a response as "Login Success" has to be send to login frame(first frame itself).
If the username or password are not matched to the specific values, then a response with error message "Login failure.. User name u entered is Incorrect" has to be send to Error frame(second frame).
I m giviing a target for the form tag.Its a static target. But here my problem is.. server program has to take decision in which frame response has to be sent.
So pls help me regarding this.