It's not a secret anymore!
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Mock Exam Question - what is the correct answer ? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Reply Bookmark "Mock Exam Question - what is the correct answer ?" Watch "Mock Exam Question - what is the correct answer ?" New topic
Author

Mock Exam Question - what is the correct answer ?

Mana Lesar
Greenhorn

Joined: Apr 12, 2010
Posts: 25
Here is the question:


And the Answer says: "Foo".

As for me the code will not compile due to error in line:

String name = pageContext.findAttribute("name");

because attribute needs to be casted to String here... But i have found this question in other source and it also said that answer is "Foo".
What you think ranchers ?
Frits Walraven
Rancher

Joined: Apr 07, 2010
Posts: 1066

Hi,

In order to get an answer: please QuoteYourSources

Regards,
Frits
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Mock Exam Question - what is the correct answer ?
 
Similar Threads
How can a parent tag access its child tag's attribute in Simple Tag
Which one to select between Classic custom tag and Simple custom tag
Is returning invalid integer from doStartTag() is equivalent to returning EVAL_BODY_INCLUDE ?
Custom Tag Handler problem
Doubt in TagSupport (Classic Tag)