This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths 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 Head First Android this week in the Android 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: 8927

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
It's not a secret anymore!