Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Bryant Smith   on Aug 25 In Java Category.

  
Question Answered By: Julian Long   on Aug 25

u can use any thing u have declared or defined
(variables or method) in <%! %> by calling the name
in <%= %>

e.g:
<%! public String getName() { return name; } %>
<html>
<body>
<%= getName(); %>
</body>
</html>

Share: