• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

SCWCD - need answers to these questions.

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 149
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic