↧
Answer by Mingle Li for Add JSP Java code to placeholder attribute in HTML
Thanks @BoDidely for answering my question!Answer: Use <%= instead of <% and don't exit the String quotes!Correct code:<input value="" name="text-name" type="text" class="input-2"...
View ArticleAdd JSP Java code to placeholder attribute in HTML
I'm trying to make a basic CAPTCHA in JSP by generating two random numbers between 1 and 10 (inclusive) and saying, "What's _ + _?" I started off with this:<%@ page import="java.util.Random"...
View Article