• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HF Mock: Qu 63 (page 832)

 
Steve Lyne
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Given:


Assuming this is a complete JSP file, which line(s) will definitely generate an error?

The answer states that only line 5 will definitely generate an error. But I think it should be lines 4 and 5.

Please can someone enlighten me?

Thanks,

Steve

[ July 08, 2005: Message edited by: Steve Lyne ]
[ July 08, 2005: Message edited by: Steve Lyne ]
 
Narendra Dhande
Ranch Hand
Posts: 951
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Assuming that the JSP is complete line 4 should give error, because there is no correcponding useBean entry.

Thanks
 
Steve Lyne
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My thoughts exactly. I tried it out and got the error I was expecting.

I was surprised not to find this in the errata or discussed previously, so it's nice to have a second opinion.

Thanks Narendra!

Steve
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic