This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes JSP and the fly likes Inheritence with JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Inheritence with JSP" Watch "Inheritence with JSP" New topic
Author

Inheritence with JSP

sanjay hande
Greenhorn

Joined: Apr 05, 2005
Posts: 7
Can a JSP be extended?
Ola Daniel
Ranch Hand

Joined: Jul 27, 2005
Posts: 105
NO!!!

But yu can Include a JSP File!


SCJP 1.4, SCWCD 1.4
"Any fool can write code that a computer can understand. Good programmers write code that humans can understand."
- Martin Fowler et al, Refactoring: Improving the Design of Existing Code, 1999
ramprasad madathil
Ranch Hand

Joined: Jan 24, 2005
Posts: 489


Originally quoted by Ola Daniel.
NO!!!


Actually yes.


This is from the jsp specification - Do read the warning carefully.


The value is a fully qualified Java programming language
class name, that names the superclass of the class to which
this JSP page is transformed (see Chapter JSP.11).
[BOLD]
This attribute should not be used without careful
consideration as it restricts the ability of the JSP container to
provide specialized superclasses that may improve on the
quality of rendered service.
[/BOLD]


cheers,
ram.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Inheritence with JSP