• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Which one is correct?

 
Thiru Thangavelu
Ranch Hand
Posts: 219
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How this should be answered in the real exam?

1. Which JSP directive declares the usage of a tag library in a JSP page?
Answer
taglib
<tablib>
<taglib />


2) Which method is used to get initialization parameters?
Answer
getInitParameter
getInitParameter(String)
getInitParameter(String);
public String getInitparameter(String);


3. I have heard many people saying that they have got many questions in design patterns which are [bold]not[/bold] in the objectives. If so, what are the other patterns can be expected in the exam other than the 4 mentioned in the objectives?
4. Is this information correct?
No of questions : 59
Pass mark : 61
Duration : 90 Mins
5) Regarding drag and drop questions, any idea how it looks like? So much confused about this.
6) Is it true that I can [bold]SAFELY[/[bold] avoid sun marketting questions? How many questions are they?
I am planning to take the exam tomorrow. So is somebody can give me the answer for this questions, I really appreciate it.
[ December 17, 2002: Message edited by: Thiru Thangavelu ]
 
Bhushan Jawle
Ranch Hand
Posts: 249
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I will try to answer those I know
1. Which JSP directive declares the usage of a tag library in a JSP page?
Answer
taglib
Actually it is <%taglib .....%> there is no equivalent xml sysntax
2) Which method is used to get initialization parameters?
Answer
getInitParameter(String); (It returns a string)

Rest I don't know as I haven't given the exam yet :-)
Bhushan
 
Thiru Thangavelu
Ranch Hand
Posts: 219
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Bhushan.
1)For the first question, I am not talking about <taglib> directive of JSP. I am talking about <taglib> which is declared in web.xml for tag library descriptors.
2)I am not sure whether your answer is also correct or not.
Anyone suggest answers for my alls/any questions?
 
Bhushan Jawle
Ranch Hand
Posts: 249
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Regarding answer 2> u can refer to http://java.sun.com/products/servlet/2.1/api/javax.servlet.ServletConfig.html, that will make u feel sure about my answer :-)
 
Thiru Thangavelu
Ranch Hand
Posts: 219
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Bhushan,
I know the API has this method. But when this question is asked fill in the blank question, how do you write it? I mean only the method or with parameters or with () or with ; ... etc.
I just want to know what exactly I need to write when i have this type of questions?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic