Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

extends attribute in JSP

 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Can someone explain me more abt extends attribute in page attribute. How to use it and why it should not be used
Thanks
 
Bosun Bello
Ranch Hand
Posts: 1511
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic