Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

This is the entire assignment. It is to be made into a .java code. And the progr

ID: 3824668 • Letter: T

Question

This is the entire assignment. It is to be made into a .java code. And the program needs to be an executable .jar file.

ARRignment 10 doo-Word File Home Insert vesign Layout Reterences Mailing Review View Tell me what you want to do Assignment 10 Write a Program that: Search for an inputted song, and find it in an access database Once a song is scarchcd in the GUI interface, another GUI will open displaying the song information from the access tile Have a clear button to clear search to search for another song A shuffle button to pick a random song fron the acce file and display the songs information Send application in an executable file First GUI s reen O Type here to search Squigg 7 Share 836 PM

Explanation / Answer

// PostFilter.java
package com.nareshit.filters;

import javax.servlet.*;
import java.io.*;

public class PostFilter implements Filter
{
   public void init(FilterConfig fc) throws ServletException{}

   public void doFilter(ServletRequest request, ServletResponse response, FilterChain fc)
throws ServletException, IOException
   {
       fc.doFilter(request,response);
       response.getWriter().println("Response from PostFilter");
   }

   public void destroy(){}
}

// PreFilter.java
package com.nareshit.filters;

import javax.servlet.*;
import java.io.*;

public class PreFilter implements Filter
{
   public void init(FilterConfig fc) throws ServletException{}
   public void doFilter(ServletRequest request, ServletResponse response, FilterChain fc)
throws ServletException, IOException
   {
       response.getWriter().println("Response from PreFilter");
       fc.doFilter(request,response);
   }
   public void destroy(){}
}

// Servlet1.java
package com.nareshit.servlets;

import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*;

public class Servlet1 extends HttpServlet
{
   public void doGet(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException
   {
       response.getWriter().println("Response from Servlet1");
   }
}

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote