• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

HF Mock: Qu 63 (page 832)

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Ranch Hand
Posts: 951
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
reply
    Bookmark Topic Watch Topic
  • New Topic