|
1 | 1 | /* |
2 | | - * Copyright (C) 2013 Dominik Schadow, dominikschadow@gmail.com This file is part of JavaWebAppSecurity. Licensed under |
3 | | - * the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You |
4 | | - * may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or |
5 | | - * agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES |
6 | | - * OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions |
7 | | - * and limitations under the License. |
| 2 | + * Copyright (C) 2013 Dominik Schadow, dominikschadow@gmail.com |
| 3 | + * |
| 4 | + * This file is part of JavaWebAppSecurity. |
| 5 | + * |
| 6 | + * Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 | + * you may not use this file except in compliance with the License. |
| 8 | + * You may obtain a copy of the License at |
| 9 | + * |
| 10 | + * http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | + * |
| 12 | + * Unless required by applicable law or agreed to in writing, software |
| 13 | + * distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | + * See the License for the specific language governing permissions and |
| 16 | + * limitations under the License. |
8 | 17 | */ |
9 | 18 | package de.dominikschadow.webappsecurity; |
10 | 19 |
|
@@ -61,7 +70,7 @@ protected void doPost(HttpServletRequest request, HttpServletResponse response) |
61 | 70 | response.setContentType("text/html"); |
62 | 71 |
|
63 | 72 | try (PrintWriter out = response.getWriter()) { |
64 | | - out.println("Received " + name + " as GET parameter"); |
| 73 | + out.println("Received " + name + " as POST parameter"); |
65 | 74 | } catch (IOException ex) { |
66 | 75 | ex.printStackTrace(); |
67 | 76 | } |
|
0 commit comments