Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
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.
Thanks for ur response. But there is no argument for sendRedirect() or forward() to specify the target(frame name) of the page.For these methods. we will specify URL of the page which has to be sent as response.But how can the servlet can specify the target frame in those methods?