質問編集履歴

4

jsp追記

2022/09/03 04:32

投稿

tanisi6
tanisi6

スコア3

test CHANGED
File without changes
test CHANGED
@@ -53,3 +53,19 @@
53
53
 
54
54
  ```
55
55
 
56
+ ```NewFile.jsp
57
+ >>>
58
+ <%@ page language="java" contentType="text/html; charset=UTF-8"
59
+ pageEncoding="UTF-8"%>
60
+ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
61
+ <html>
62
+ <head>
63
+ <meta http-equiv="Content-Type"content="text/html;charset"=UTF-8">
64
+ <title>Insert title here</title>
65
+ </head>
66
+ <body>
67
+
68
+ </body>
69
+ </html>
70
+ ```
71
+

3

サーブレット追記

2022/09/03 04:31

投稿

tanisi6
tanisi6

スコア3

test CHANGED
File without changes
test CHANGED
@@ -9,7 +9,6 @@
9
9
  ### 発生している問題・エラーメッセージ
10
10
  ![イメージ説明](https://ddjkaamml8q8x.cloudfront.net/questions/2022-09-01/0694c438-e32b-46d8-9ab9-5a2ca17375a6.png)
11
11
 
12
- ```
13
12
  2022-09-01T07:19:05.360811+00:00 app[web.1]: Sep 01, 2022 7:19:05 AM org.apache.catalina.core.StandardEngine startInternal
14
13
  2022-09-01T07:19:05.360813+00:00 app[web.1]: INFO: Starting Servlet engine: [Apache Tomcat/9.0.30]
15
14
  2022-09-01T07:19:05.476612+00:00 app[web.1]: Sep 01, 2022 7:19:05 AM org.apache.catalina.startup.ContextConfig getDefaultWebXmlFragment
@@ -25,10 +24,8 @@
25
24
  ### 補足情報(FW/ツールのバージョンなど)
26
25
  java17 tomcat9
27
26
 
28
-
29
27
  サーブレット
30
- >>>
31
- package sss;
28
+ ```package sss;
32
29
 
33
30
  import java.io.IOException;
34
31
 
@@ -53,8 +50,6 @@
53
50
  super();
54
51
  // TODO Auto-generated constructor stub
55
52
  }
56
- >>>
57
53
 
58
- jsp
54
+ ```
59
55
 
60
-

2

サーブレットとjspを追記しました

2022/09/03 04:26

投稿

tanisi6
tanisi6

スコア3

test CHANGED
File without changes
test CHANGED
@@ -25,5 +25,36 @@
25
25
  ### 補足情報(FW/ツールのバージョンなど)
26
26
  java17 tomcat9
27
27
 
28
- ここにより詳細な情報を記載してください。
29
28
 
29
+ サーブレット
30
+ >>>
31
+ package sss;
32
+
33
+ import java.io.IOException;
34
+
35
+ import javax.servlet.RequestDispatcher;
36
+ import javax.servlet.ServletException;
37
+ import javax.servlet.annotation.WebServlet;
38
+ import javax.servlet.http.HttpServlet;
39
+ import javax.servlet.http.HttpServletRequest;
40
+ import javax.servlet.http.HttpServletResponse;
41
+
42
+ /**
43
+ * Servlet implementation class See
44
+ */
45
+ @WebServlet("/See")
46
+ public class See extends HttpServlet {
47
+ private static final long serialVersionUID = 1L;
48
+
49
+ /**
50
+ * @see HttpServlet#HttpServlet()
51
+ */
52
+ public See() {
53
+ super();
54
+ // TODO Auto-generated constructor stub
55
+ }
56
+ >>>
57
+
58
+ jsp
59
+
60
+

1

ログを追記しました。

2022/09/01 07:29

投稿

tanisi6
tanisi6

スコア3

test CHANGED
File without changes
test CHANGED
@@ -8,7 +8,18 @@
8
8
 
9
9
  ### 発生している問題・エラーメッセージ
10
10
  ![イメージ説明](https://ddjkaamml8q8x.cloudfront.net/questions/2022-09-01/0694c438-e32b-46d8-9ab9-5a2ca17375a6.png)
11
+
11
12
  ```
13
+ 2022-09-01T07:19:05.360811+00:00 app[web.1]: Sep 01, 2022 7:19:05 AM org.apache.catalina.core.StandardEngine startInternal
14
+ 2022-09-01T07:19:05.360813+00:00 app[web.1]: INFO: Starting Servlet engine: [Apache Tomcat/9.0.30]
15
+ 2022-09-01T07:19:05.476612+00:00 app[web.1]: Sep 01, 2022 7:19:05 AM org.apache.catalina.startup.ContextConfig getDefaultWebXmlFragment
16
+ 2022-09-01T07:19:05.476616+00:00 app[web.1]: INFO: No global web.xml found
17
+ 2022-09-01T07:19:05.727074+00:00 heroku[web.1]: State changed from starting to up
18
+ 2022-09-01T07:19:10.339661+00:00 app[web.1]: Sep 01, 2022 7:19:10 AM org.apache.jasper.servlet.TldScanner scanJars
19
+ 2022-09-01T07:19:10.339668+00:00 app[web.1]: INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
20
+ 2022-09-01T07:19:10.391325+00:00 app[web.1]: Sep 01, 2022 7:19:10 AM org.apache.coyote.AbstractProtocol start
21
+ 2022-09-01T07:19:10.391327+00:00 app[web.1]: INFO: Starting ProtocolHandler ["http-nio-49898"]
22
+ 2022-09-01T07:19:10.463204+00:00 heroku[router]: at=info method=GET path="/" host=java-hite.herokuapp.com request_id=793a04de-5f29-4512-8616-8d89fd87496b fwd="153.246.140.214" dyno=web.1 connect=0ms service=3023ms status=404 bytes=864 protocol=https
12
23
 
13
24
 
14
25
  ### 補足情報(FW/ツールのバージョンなど)