/ Published in: Java
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<html> if (userName == null) userName = "World"; %> Hello, <%= userName %> // The <%= means that you are going to output the value </html>