<commit_before>package com.careerServices.MainApp;

import java.io.IOException;
import javax.servlet.ServletException;

import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;


public class ServletAdminHome extends HttpServlet 
{
	private static final long serialVersionUID = 1L;

    public ServletAdminHome() 
    {
        super();
    }
	protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException 
	{
		doPost(request, response);
	}
	protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException 
	{
		request.getRequestDispatcher("/View/adminHome.jsp").forward(request, response);
	}

}
<commit_msg>Update ServletAdminHome.java<commit_after>import java.io.PrintWriter;

import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;

import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;


public class ServletAdminHome extends HttpServlet 
{
	private static final long serialVersionUID = 1L;

    public ServletAdminHome() 
    {
        super();
    }
	protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException 
	{
		doPost(request, response);
	}
	protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException 
	{
		 response.setContentType("text/html");  
		    PrintWriter out = response.getWriter();  
		          
		    String n=request.getParameter("username");  
		    String p=request.getParameter("psw");  
		          
		    if(ServletLogin.validate(n, p)){  
		        RequestDispatcher rd=request.getRequestDispatcher("/View/adminHome.jsp");  
		        rd.forward(request,response);  
		    }  
		    else{  
		        out.println("USERNAME or PASSWORD error!!\n");  
		        out.println("Try Again!");
		        RequestDispatcher rd=request.getRequestDispatcher("/View/login.jsp");  
		        rd.include(request,response);  
		    }  
		           
	}

}

{'fraction_non_alphanumeric': 0.0881567230632235, 'fraction_numerical': 0.0008904719501335708, 'mean_word_length': 3.3378378378378377, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3430079', 'n_tokens_mistral': 653, 'n_tokens_neox': 587, 'n_words': 118}