Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within JSP
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
JSP
How to write method in jsp
Neha Dhaka
Greenhorn
Posts: 29
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I want to write a method in
jsp
,where should I write ,should I write as a part of declration .
Or should I write it in the scriptlet ,but when it is compiled where the method body would go when I write it in the scriptlet.
Please clarify
Raja
David Ulicny
Ranch Hand
Posts: 724
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Only place is declaration
<%! public void myMethod(){ } %>
SCJP<br />SCWCD <br />ICSD(286)<br />MCP 70-216
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
calling a scriptlet on submit
tag body-content JSP
code written in scriptlet of JSP
URGENT..Puhuleese help
how to get attribute from servlet
More...