sriram kalakoti

Greenhorn
+ Follow
since Jan 07, 2006
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by sriram kalakoti

Thank you
i prepared for 20 days... used only HFSJ got 66% in the final mock..

Thank you all once again

Sriram
Hi All

in HFSJ final mock qno 12 in line no 2 uses a scripting expression

<%=Boolean.TRUE.toString()%> as we all know Boolean is a Wrapper class in java.lang.Boolean .isnt this JSp page supposed to use the fully qualified name of the class ( There is no import also) ??

Thanks in advace
Sriram
sorry guys i was talking about option D not option C

Thanks
Sriram
hello friends
in HFSJ final mock exam for 11th qs the answer says Option C is invalid which is given as ${map[map-index]}

i think it should be a valid EL expresion . Can anyobdy please help me with this i'll be tested tomarrow by the way will keep you guys posted.

Thanks
Sriram
Thanks for the replies guys

so if foo is an attribute but foo doesnot have a property 'name'
then ${foo.name} or ${foo[name]} will throw an exception right???

but in HFSJ pg 395 it says it will NOT throw an exception but just prints nothing.

need u people help again
Thanks
Sriram
hi
i have my exam, next monday and iam still confused with how the EL handles the null values

can anybody please clarify abt how El handles unknown values my confusion is when exception is thrown and when nothing is printed???


Thanks in advance
Sriram
wow i knew there was something going on.. now can anybody plz help us with this problem???
Thanks a lot friend that was very useful..

Regards,
Sriram
page 548 for the question " fill in what would you must put into a tag file to declare that the tag must NOT have a body."

<%@ tag body-content="tagdependent" %>

isnt it supposed to be "empty" ??

may be this is a old one.. but i just wanted to make sure thay iam not missing anything.
in hfsj pg550 3rd mock question the solution says C is correct which means " getParent() method can be called by a classic tag to get its parent which is a simpletag "

if the above statement is true then we can summarize the use getParent() method as follows "By using getParent() a Classic tag can access either Classic tag Parents , or Simple tag Parents and a Simple tag can access either a Classic or Simple parent.

but on page 540 it says " a classic tag can access Classic tag parents , and a simpke tag can access either a classic or simple parent.

now what i want to clarify is " can we call the getParent method in a classic tag to get the SimpleTag parent???
NO i dont think its a typo we are missing something.

can anybody plz help???
Thnaks for your reply But on page 395 it says if there is an attribute bar and it does NOT have an attribute foo then ${bar.foo} will not throw an exception.
how could it be???
In HFSJ book at page 424 it says

" If the .(dot ) operator is used to access a bean property but the property does not exists, then a runtime exception is thrown."

but on page 395 it says "EL is null friendley and it handles the unknown and null values so that the page still displays, even if it can't find an attribute /property/key with the name in the expression "

iam confused ( iam sure i would have missed something)

if Person is a Bean with just one property "name" then if i say

${Person.age}
will it throw an exception ??? or just doesnt print anything???

thanks
thanx for the reply i ordered the book at amazon on friday and i called them today they said they dont have the book in their warehouse and its expected to b there at the end of this month n they are sorry for the mistake on the website which says its available. i was dissapointed and cancelled the order. And when i read ur reply that u got it at local Barnes & Noble store. i called up our local store(Bowling green ) but they said they dont have it. I was losing hope but i wanted to give a last try at our nearest city Nashviile book store n iam lucky this time as they said they got the book n they wil hold it for me for 3 days.. 3 days??? iam gonna wake up tomarrow n rush to the store to get it ... so that was my quest for the book. i hav my exam scheduled on 26th .

anyway zilloins of thanx for all of u who cared to reply and sharing their own knowledge