Jsp Tutorial Home

Jsp Home

JSP Resources

Community

Site


Scriptlet tag ( <% ... %> )

 Between <% and %> tags,any valid Java code is called a Scriptlet. This code can access any variable or bean declared.


  For example,to print a variable.   



<% 

        String username = "visualbuilder" ;

        out.println ( username ) ;

  %>



                    

Copyright © 2014 VisualBuilder. All rights reserved