导入com.sun.tools.jdi.JDWP $ VirtualMachine $ DisposeObjects无法解析

时间:2020-08-02 10:53:18

标签: jsp

我在Eclipse中遇到此错误: 导入com.sun.tools.jdi.JDWP $ VirtualMachine $ DisposeObjects无法解析

我简单地将数据从一页提取到另一页。 另外,我使用的是jdk-14.0.2,因此lib文件夹中没有tools.jar

这是我想做的示例代码。

**<%@page import="com.sun.tools.jdi.JDWP$VirtualMachine$DisposeObjects.Request"%>**
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<%--Here we are fetching the parameters --%>
<%String val= request.getParameter("Name"); %><%=val %>
<%= request.getParameter("Name")%>
</body>
</html>

0 个答案:

没有答案
相关问题