jackdprince
Jul 13, 2015, 10:28 PM
I am a beginner to servlet , trying to learn about request dispatcher . There is a login html form example, when submit button is pressed validate servlet is called and there this name and password is checked If correct then user is forwarded to welcome servlet otherwise error information is displayed using request dispatcher object. But here problem is that instead of redirecting/forwarding to welcome servlet browser downloads that file.. what's wrong with my code? I have attached a zip file