Win a copy of Node.js Design Patterns: Design and implement production-grade Node.js applications using proven patterns and techniques this week in the Server-Side JavaScript and NodeJS forum!
  • 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
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

HFSJ Mock exam Question ( WARNING :Answer's dicussed.)

 
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Question 54 :

The <%@ taglib uri=".....tld" prefix="my" %>

How can this be the correct answer ?
I thought URI must point to the URI element in the TLD file.Can it point to the entire filename ?

For tagfiles..atleast we point it to the tagdir="directory of the tag" ..but not the file...Can someone explain me this ?



=================================


Question 63)

why line 4 is not an error ( that is declaring <jsp:setProperty name='x' ....> does not give error when there is no <jsp:useBean std action in the jsp file).


Thanks in Advance.
 
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well if the uri element in the TLD equals to the uri attribute in the taglib directive, it is ok. Whatever it may be (the filename a uri, whatever).

second, don't know..haven't got the book with me now.

But the bean could come from somewhere else, like session o.sth.
Or from a Controller.


Greetings,
Flom
[ August 02, 2006: Message edited by: Flom Xanther ]
 
Ram Gokul
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
1. URI was not given out for this question ..just the directory of the file ..
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic