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

SCWCD - need answers to these questions.

 
Baiju Mehta
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need some help solving these questions? I don't have the answers so was wondering If someone knows the answer.

1) Which of the following directives are applicable only to tag files?
(choose 3 correct answers)

a) attribute
b) variable
c) page
d) include
e) import

I know attribute and variable directives are for tag files, which is the third one and why?


2) Select the correct sequence of actions that a servlet container performs before servicing any request.

a) Instantiate listeners defined in the deployment descriptor.
b) Initialize filters defined in the deployment descriptor.
c) Initialize servlets that are set to load on startup.
d) Call the contextInitialized method on the listeners implementing ServletContextListener interface.

Thanks.
 
arnel nicolas
Ranch Hand
Posts: 149
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by brmehta:
I need some help solving these questions? I don't have the answers so was wondering If someone knows the answer.



2) Select the correct sequence of actions that a servlet container performs before servicing any request.

a) Instantiate listeners defined in the deployment descriptor.
b) Initialize filters defined in the deployment descriptor.
c) Initialize servlets that are set to load on startup.
d) Call the contextInitialized method on the listeners implementing ServletContextListener interface.

Thanks.


i would say it's a,d,b,c.
 
Nitish Bahadur
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you can also use an <include> in a tag file. this is no different from a JSP include. invalid includes result in translation errors.
 
sundar katluri
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i guess first question ,they asked wrong
Which of the following directives are applicable only to tag files?
but it should be
[B]Which of the following directives are applicable to tag files?

I mean they need to remove word 'Only' in the question
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic