• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Regarding Nine Implicit objects in all Jsp?

 
Rd Dari
Ranch Hand
Posts: 212
Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all Ranchers,

I face a question in an interview .
How many implicit objects in a jsp?
reply ; 9 and told their names .
and he asked me that Is all the
Jsp have nine implicit objects;
reply: yes
then he said no......
I asked to him regarding this but he said its your homework

so I want to know in which case a JSP may not have 9 implicit objects if its then tell me good answer. if no then no issue.

Thanks
 
Kishore Tulsiani
Greenhorn
Posts: 21
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
objects like exception is not available on all the jsp's. it is only available when you make the jsp attribute error page = true
 
Sumit Patil
Ranch Hand
Posts: 296
Eclipse IDE Firefox Browser Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Most probably he was talking about the "exception" object, which is available only to those jsp which is a error page i.e isErrorPage is set to true.
 
Rd Dari
Ranch Hand
Posts: 212
Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank you all of you for giving me a good answer and for reply very soon

That is the reason people appriciate this site
Thanks once again
 
Rd Dari
Ranch Hand
Posts: 212
Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

In our JSP Page when we press ctrl,space then there is show a list of implicit objects with the same icon but those are 10(jspContext is additional)
but as we all know that 9 objects.

clear this those are nine or ten

Thanks in advanced!!
 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
there are nine. jspContext is not implicit. i dont get it when i press ctrl space...
 
Rd Dari
Ranch Hand
Posts: 212
Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank you to clear my all doubt
 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rd Dari wrote:thank you

You are welcome :)
 
kalai sundar
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Refer http://jsp.ourownjava.com/java-server-page/implicit-objects/ for more on JSP implicit objects.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic