Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

function in JSP

 
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: 642
  • 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