Hi.
First of all, my native language is not English, so please understand even if the grammar is weird.
In short, I want to add a function using jsoup in jsp file to html file. However, jsoup.jar exists not in the project folder but in the lib folder, which is the internal folder of the folder named WEB-INF.
So, I would like to know how to apply the jsoup library together when building a project.
The link below is my webpage trying to apply jsoup(It doesn’t work)
https://clever-mcclintock-699965.netlify.app/
And below is the code of the jsp file with jsoup and project image
<%@page import="java.io.IOException"%>
<%@page import="org.jsoup.Jsoup"%>
<%@page import="org.jsoup.nodes.Document"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%
try {
String connUrl = "https://www.indeed.com/worldwide";
Document doc = Jsoup.connect(connUrl).get();
out.println(doc.toString());
} catch (IOException e) {
e.printStackTrace();
}
%>