在尝试从Dialog Flow生成Alexa的Json文件时,我遇到了问题。
错误如下所述。
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<%@ taglib prefix = "c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix = "sql" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
heklllooo
<sql:setDataSource var = "db" driver = "oracle.jdbc.driver.OracleDriver"
url = "jdbc:oracle:thin:@localhost:1521:XE", user ="system",password = "password"/>
<sql:query var="rs" dataSource = "${db}">select * from Persons</sql:query>
<c:forEach items = "${rs.rows}" var = "person">
<c:out value="${person.personid}"></c:out> : <c:out value="${person.FirstName}"></c:out>
</c:forEach>
</body>
</html>