Post Reply 
 
Thread Rating:
  • 1 Votes - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Define a method in a JSP page
12-15-2010, 01:32 AM
Post: #1
Define a method in a JSP page
<%!
public String sayHello(){
return "Hello";
}
%>


<%= sayHello() %>
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:



Send your comments, Suggestions or Queries regarding this site at info@tutorials4u.net

Copyright © 2010 Tutorials4u.net All Rights Reserved