It's not a secret anymore!*
The moose likes JSP and the fly likes jsp parent class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "jsp parent class" Watch "jsp parent class" New topic
Author

jsp parent class

shruti patel
Ranch Hand

Joined: Mar 10, 2008
Posts: 52
which is a Parent class of JSP?

[edited subject to use a meaningful subject - was "interview question"]
[ May 18, 2008: Message edited by: Jeanne Boyarsky ]
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30752
    
156

Shruti,
Welcome to JavaRanch! Please try to use a meaningful subject line. I see at least three threads by you with identical subject lines. This makes it hard to remember which is which. I've edited the subjects for you this time to avoid confusion.
[ May 18, 2008: Message edited by: Jeanne Boyarsky ]

[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30752
    
156

Now on to your question. At some point up the hierarchy, the parent class of a JSP is a servlet. It's extremely poor practice to put code in a JSP, so in a real application, I would be hard pressed to find a reason to know the name of the parent class. I would explain this to an interviewer and offer to look it up.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jsp parent class