This week's book giveaway is in the Agile forum.
We're giving away four copies of The Software Craftsman and have Sandro Mancuso on-line!
See this thread for details.
The moose likes JSP and the fly likes extends attribute in JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "extends attribute in JSP" Watch "extends attribute in JSP" New topic

extends attribute in JSP

Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8920

Can someone explain me more abt extends attribute in page attribute. How to use it and why it should not be used

Bosun Bello
Ranch Hand

Joined: Nov 06, 2000
Posts: 1510
It denotes the parent class of the resulting servlet. Most of the time it's not needed. The generated servlet will extend HttpServlet. If you have a class that extends httpservlet you can just extend that class then.

So much trouble in the world -- Bob Marley
I agree. Here's the link:
subject: extends attribute in JSP