JSP Scriptlets begins with <% and ends %> .We can embed any amount of java code in the JSP Scriptlets. JSP Engine places these code in the _jspService() method. Variables available to the JSP Scriptlets are:
INTRODUCTION TO JSP EXPRESSIONS
Syntax of JSP Expressions are:
<%="Any thing" %>
JSP Expressions start with
Syntax of JSP Scriptles are with <%= and ends with %>. Between these this you can put anything and that will converted to the String and that will be displayed.
<%="Hello World!" %>
Above code will display 'Hello World!'.
We have 1000s of tutorials on our website. Search Tutorials tutorials on our website.
Posted on: February 13, 2008 If you enjoyed this post then why not add us on Google+? Add us to your Circles