Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

function in JSP  RSS feed

 
MONZY THARIAN
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
how do i write a function in jsp.
if i write a function with scriptlet it is giving error.

thanks
monzy
 
Praful Thakare
Ranch Hand
Posts: 643
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
This is the way i know,to write function in jsp.
<%!
public void myFunction(....)
{
}
%>
cheers
Praful
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!