A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Murach's Java Servlets and JSP
this week in the
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
Trying to reach an object inside other
reading properties to get connection
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