File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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!