• 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

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 ..
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic