Simple Example of JSP generation of 9-9 multiplication tables and jsp multiplication instances
A simple example of JSP generation of 9-9 multiplication tables
Using expressions and scripts to implement the 9-9 multiplication table
<% @ Page language = "java" import = "java. util. * "contentType =" text/html; charset = UTF-8 "%> <% String path = request. getContextPath (); String basePath = request. getScheme () + ": //" + request. getServerName () + ":" + request. getServerPort () + path + "/"; %> <! Doctype html public "-// W3C // dtd html 4.01 Transitional // EN">
2. Running Effect
Three Tips
1. pageEncoding is the code of the jsp file.
2. The charset of contentType is the content encoding sent from the server to the client.
If you have any questions, please leave a message or go to the community on this site for discussion. Thank you for reading this article. Thank you for your support!