Win a copy of Spring in Action (5th edition) this week in the Spring forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

Which one is correct?  RSS feed

 
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 ]
 
Ranch Hand
Posts: 252
  • 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: 252
  • 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?
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!