I am writing an applicaton using servlets and HTML. the front page contains a login form which is located in one of the three frames contained in the front page. Now when the user successfully logs in. Inside a servlet I use the response.sendRedirect() method to move to the welcome page. The problem is that when the welcome page is loaded it gets loaded in that frame (of Login page) which contained the login form, and as reslult the ULR still remains the same login.html, Can someone tell me how to load the welcome page not in a frame (of the login page) but in the entire window

Can someone tell me how to load the welcome page not in a frame (of the login page) but in the entire window

Yep.

Don't use frames.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.