This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 8.5.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/8.5.x by this push:
new 3603069 Remove unnecessary spaces
3603069 is described below
commit 36030697036e6df0a6073d57a385673332b04cfb
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]