This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JSP and the fly likes about extend 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 "about extend attribute in jsp" Watch "about extend attribute in jsp" New topic
Author

about extend attribute in jsp

Nitya Sundar
Greenhorn

Joined: Nov 13, 2012
Posts: 15
please some body guide me how to use an extend attribute in page directive?if possible then kindly give an example.
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

most of the servlet container use it's own JSP Super class for its convenient. if you explicitly use any other class then you may get into trouble to run or compile that.
i think most cases you really not required extends attribute.
Nitya Sundar
Greenhorn

Joined: Nov 13, 2012
Posts: 15
Thanks Seetharaman.
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

Nitya Sundar wrote:Thanks Seetharaman.

you are welcome :)
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: about extend attribute in jsp
 
Similar Threads
Adding an attribute to an ANT task
JSP extending Servlet
jsp
add a new user attribute into user ?
Question about Extension