This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 7.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/7.0.x by this push:
new 599f294 Remove unnecessary spaces
599f294 is described below
commit 599f294503a7ff5f406c18b8a6000e989801edff
Author: Mark Thomas <[email protected]>
AuthorDate: Thu Jul 9 19:32:45 2020 +0100
Remove unnecessary spaces
---
webapps/examples/servlets/reqparams.html | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/webapps/examples/servlets/reqparams.html
b/webapps/examples/servlets/reqparams.html
index 02dbddf..4bbb6b3 100644
--- a/webapps/examples/servlets/reqparams.html
+++ b/webapps/examples/servlets/reqparams.html
@@ -44,10 +44,10 @@
out.println("<font color="#009900"><body></font>");
out.println("<font color="#009900"><h3>Request Parameters
Example</h3></font>");
out.println("<font color="#009900">Parameters in this
request:<br></font>");
-
+
String firstName = request.getParameter("firstname");
String lastName = request.getParameter("lastname");
-
+
if (firstName != null || lastName != null) {
out.println("<font color="#009900">First Name:</font>");
out.println("<font color="#009900"> = </font>" +
HTMLFilter.filter(firstName) + "<font
color="#009900"><br></font>");
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]