Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within OCPJWCD
Search Coderanch
Advance search
Google search
Register / Login
Win a copy of
Microservices Testing (Live Project)
this week in the
Spring
forum!
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
Tim Cooke
Ron McLeod
Jeanne Boyarsky
Paul Clapham
Sheriffs:
Liutauras Vilda
Henry Wong
Devaka Cooray
Saloon Keepers:
Tim Moores
Stephan van Hulst
Tim Holloway
Al Hobbs
Carey Brown
Bartenders:
Piet Souris
Mikalai Zaikin
Himai Minh
Forum:
Web Component Certification (OCEJWCD)
jspInit()
yogen joshi
Greenhorn
Posts: 21
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Can anybody tells which portion of the
jsp
page gets included in the jspInit() after translation.
yogen
Panagiotis Varlagas
Ranch Hand
Posts: 233
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
yogen,
If you want jspInit() to do anything meaningful, you have to override it in a JSP declaration in your JSP.
Hope this helps,
Panagiotis.
Mike J. Beaty
Greenhorn
Posts: 9
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
The jspInit() method initializes the instance variables that have been declared in the JSP page using the declaration <%! ... %> tags.
Arvindu Dhanaraj
Greenhorn
Posts: 2
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
jspInit()<%! ... %>
In this
if we have any constant values in our pages
we can use it
for eg:
<%!
static final double PI =3.14;
%>
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
about jspInit
jsp init() method
jspInit() and jspDestroy()
jspInit()
JSP translate into servlet
More...