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
Tim Cooke
paul wheaton
Jeanne Boyarsky
Ron McLeod
Sheriffs:
Paul Clapham
Liutauras Vilda
Devaka Cooray
Saloon Keepers:
Tim Holloway
Roland Mueller
Bartenders:
Forum:
JSP
Inhertance in jsp
lrk naidu
Greenhorn
Posts: 6
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
hi all,
How can i get the properties from one
jsp
file to another Jsp.
The ex:like Class A
{
public void display()
}
class B extends A
{
//we get the properties from A
}
what is the similar type in jsp?
anupa oru
Ranch Hand
Posts: 118
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi,
you can use something like
<%@ page extends="parentclassname"%>
Thanks
Jeroen Wenting
Ranch Hand
Posts: 5093
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
But you shouldn't.
How often does it need to be repeated: do NOT use scriptlets in JSP.
For display code it's best to use some well designed dynamic includes.
42
There is no greater crime than stealing somebody's best friend. I miss you tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
reading properties to get connection
Servelet Context
Trying to reach an object inside other
implicit objects from page context
session.getAttribute give null when retreiving session Data in jsps
More...