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

page directive

 
lakshmi v.samy
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi friends,

we are having some page directive attributes(language,info,import,buffer,extends...)

if we are creating any jsp page,it will be translated to servlet by jspContainer,so translated servlet will extend one class(I think JspBase,but I am not sure).If I am using page directive in my jsp page like

<%@page extends="myclass"%>

( myclass is my own class)
my doubt is
Translated servlet is already extending some class,again I am trying to extend one more "myclass",whether it will give error,otherwise we have to use another way.

please help me.
 
Kj Reddy
Ranch Hand
Posts: 1704
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Translated servlet will extend your "myclass"
 
lakshmi v.samy
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Thanks for reply.

If translated servlet is extending "myclass",whether we can use implicit objects in my jsp page.

Thanks in advance.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic