wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets 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: 8903

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: http://aspose.com/file-tools
subject: extends attribute in JSP
Similar Threads
extends attribute in page directive
JSP extending Servlet
Can extends JSP from certain basic class ?
HFS question 15 page # 423