質問編集履歴
1
コードをマークダウンのcode機能を利用した。初心者アイコンを付けた。
title
CHANGED
File without changes
|
body
CHANGED
@@ -16,15 +16,16 @@
|
|
16
16
|
例外
|
17
17
|
org.apache.jasper.JasperException: An exception occurred processing [/calculation.jsp] at line [80]
|
18
18
|
|
19
|
-
|
19
|
+
```java
|
20
|
-
|
20
|
+
<%float[]X=(float[])request.getAttribute("X"); %>
|
21
|
-
|
21
|
+
<%float[]Y=(float[])request.getAttribute("Y"); %>
|
22
|
-
|
22
|
+
<%int num = (Integer)request.getAttribute("num"); %>
|
23
|
-
|
23
|
+
|
24
|
-
|
24
|
+
<SCRIPT>
|
25
|
-
|
25
|
+
var x = [<% for (int i=0; i<num;i++){
|
26
26
|
|
27
27
|
|
28
|
+
```
|
28
29
|
Stacktrace:
|
29
30
|
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:593)
|
30
31
|
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:482)
|
@@ -49,11 +50,7 @@
|
|
49
50
|
|
50
51
|
|
51
52
|
### 該当のソースコード
|
52
|
-
|
53
53
|
```java
|
54
|
-
|
55
|
-
```
|
56
|
-
|
57
54
|
<%float[]X=(float[])request.getAttribute("X"); %>
|
58
55
|
<%float[]Y=(float[])request.getAttribute("Y"); %>
|
59
56
|
<%int num = (Integer)request.getAttribute("num"); %>
|
@@ -82,8 +79,12 @@
|
|
82
79
|
document.close();
|
83
80
|
</SCRIPT>
|
84
81
|
|
82
|
+
```
|
85
83
|
|
86
84
|
|
85
|
+
|
86
|
+
|
87
|
+
|
87
88
|
### 試したこと
|
88
89
|
tomcat7からTomcat9に変更した。
|
89
90
|
|