File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Inhertance in jsp
Joined: Feb 04, 2005
Mar 10, 2005 22:22:00
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?
Joined: Jan 15, 2005
Mar 10, 2005 22:46:00
you can use something like
<%@ page extends="parentclassname"%>
Joined: Oct 12, 2000
Mar 11, 2005 01:24:00
But you shouldn't.
How often does it need to be repeated: do NOT use scriptlets in
For display code it's best to use some well designed dynamic includes.
I agree. Here's the link:
subject: Inhertance in jsp
reading properties to get connection
Trying to reach an object inside other
implicit objects from page context
session.getAttribute give null when retreiving session Data in jsps
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014