wood burning stoves 2.0*
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
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
internet detective
Marshal

Joined: May 26, 2003
Posts: 30116
    
150

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
internet detective
Marshal

Joined: May 26, 2003
Posts: 30116
    
150

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
 
Similar Threads
JAAS & JSF
Question Regarding Instance Member Hiding
InnerClasses
protected
differce between jsp and servlet