what language is used to write sprint in jsp
Explanations. 1  A JSP script is a regular HTML page containing Java programs. Recall that JSP is Java inside HTML (whereas servlet is HTML inside Java). 2  JSP Scriptlet <% ... %> is used to include Java statements. 3  JSP Expression <%= ... %> is used to evaluate a single Java expression and display its result. The method request.getRequestURI() is used to retrieve the URL of the current page. This is used in the anchor tag <a> for refreshing the page to obtain another random number.