• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Enthuware (SCWCD) - issues

 
Kelahcim Kela
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I think there is an issues within Enthuware SCWCD simulator:

question: com.enthuware.ets.scwcd.v5.2.311

Which of the following method cannot be overridden in a JSP page?

1. jspInit()
2. _jspService(...)
3. jspDestroy()
4. All of the these can be overridden.

The answer is (1), but Enthuware suggests option (2) as correct one - even thou it clearly states that: "This method is generated by the jsp engine. You cannot define this method in your jsp page."
 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by kelahcim kela:

The answer is (1), but Enthuware suggests option (2) as correct one


option (2) is correct one

you can override jspInit and jspDestroy

but can not override _jspService()//thats the reason they prefix "_" for memorize purpose
 
Kelahcim Kela
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
my fault!

I have read the question few times, I have written it into the post and I haven't noticed that there is "can not". My fault!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic