This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes JSP and the fly likes function in JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "function in JSP" Watch "function in JSP" New topic

function in JSP

Ranch Hand

Joined: Feb 21, 2001
Posts: 63
how do i write a function in jsp.
if i write a function with scriptlet it is giving error.


Think Big . So shall you become big.
Praful Thakare
Ranch Hand

Joined: Feb 10, 2001
Posts: 613
This is the way i know,to write function in jsp.
public void myFunction(....)

All desirable things in life are either illegal, banned, expensive or married to someone else !!!
I agree. Here's the link:
subject: function in JSP
Similar Threads
How do I include a java method in a section of jsp code
Calling functions in JSp
Calling functions in JSp
pageContext forwarding var into function