Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Ram Gokul
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
  • 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.
 
Flom Xanther
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
1. URI was not given out for this question ..just the directory of the file ..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic