teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

4

誤字

2015/11/05 06:24

投稿

edoooooo
edoooooo

スコア478

title CHANGED
@@ -1,1 +1,1 @@
1
- out.println("<a href=¥"/i/CounterServlet¥">更新</a>);で、エラーが出ます。よろしくお願いします。
1
+ out.println("<a href=¥"/i/CounterServlet¥">更新</a>");で、エラーが出ます。よろしくお願いします。
body CHANGED
File without changes

3

言い回しを修正

2015/11/05 06:24

投稿

edoooooo
edoooooo

スコア478

title CHANGED
File without changes
body CHANGED
@@ -1,4 +1,5 @@
1
1
  out.println("<a href=¥"/i/CounterServlet¥">更新</a>”);
2
+ のコードで
2
3
 
3
4
  Multiple markers at this line
4
5
  - i cannot be resolved to a variable

2

質問文の修正

2015/11/05 06:22

投稿

edoooooo
edoooooo

スコア478

title CHANGED
File without changes
body CHANGED
@@ -1,1 +1,7 @@
1
- out.println("<a href=¥"/i/CounterServlet¥">更新</a>”);
1
+ out.println("<a href=¥"/i/CounterServlet¥">更新</a>”);
2
+
3
+ Multiple markers at this line
4
+ - i cannot be resolved to a variable
5
+ - Syntax error on token "">更新</a>"", delete this
6
+ token
7
+ というエラーが出てしまいます。原因がわかりましたらどうぞ、よろしくお願いします。

1

回答に対しての新しい質問のため、

2015/11/05 06:08

投稿

edoooooo
edoooooo

スコア478

title CHANGED
@@ -1,1 +1,1 @@
1
- out.println("<a href=¥"/i/CounterServlet¥">更新</a>)";で、エラーが出ます。よろしくお願いします。
1
+ out.println("<a href=¥"/i/CounterServlet¥">更新</a>);で、エラーが出ます。よろしくお願いします。
body CHANGED
@@ -1,5 +1,1 @@
1
- out.println("<a href=¥"/i/CounterServlet¥">更新</a>)";
1
+ out.println("<a href=¥"/i/CounterServlet¥">更新</a>);
2
-
3
- >更新</a>)"; の部分に赤い波線がつき、Syntax error on token "">更新</a>"",)expected隣ってしまいます。
4
-
5
- それに i の部分にも赤線がつき、i cannot be resolvet to a variable 隣ってしまいます。 申し訳ありませんがどうぞよろしくお願いします。