Posted On: Mar 22, 2020
JSP uses the Java programming language. So, most of the statements in JSP follows the Java code. To print a variable in JSP,
<% String name=request.getParameter("Pname"); //initializing the variable name with Pname value. out.print("welcome "+name); //statement to print the variable in JSP %>
Never Miss an Articles from us.