You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2026/06/04 15:03:26 UTC

(tomcat) branch 10.1.x updated: Minor optimisation. Only need to set 1 property so don't use wild card.

This is an automated email from the ASF dual-hosted git repository.

markt-asf pushed a commit to branch 10.1.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/10.1.x by this push:
     new 0d5bdd5b0d Minor optimisation. Only need to set 1 property so don't use wild card.
0d5bdd5b0d is described below

commit 0d5bdd5b0dd964e9f73e530b7d753462b9bfd1d0
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Thu Jun 4 16:01:05 2026 +0100

    Minor optimisation. Only need to set 1 property so don't use wild card.
---
 webapps/examples/jsp/num/numguess.jsp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/webapps/examples/jsp/num/numguess.jsp b/webapps/examples/jsp/num/numguess.jsp
index 7c120cd765..edb5d5a186 100644
--- a/webapps/examples/jsp/num/numguess.jsp
+++ b/webapps/examples/jsp/num/numguess.jsp
@@ -20,7 +20,7 @@
 <%@ page import = "num.NumberGuessBean" %>
 
 <jsp:useBean id="numguess" class="num.NumberGuessBean" scope="session"/>
-<jsp:setProperty name="numguess" property="*"/>
+<jsp:setProperty name="numguess" property="guess"/>
 
 <html>
 <head><title>Number Guess</title></head>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org