• 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
  • Liutauras Vilda
  • Bear Bibeault
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • Devaka Cooray
Saloon Keepers:
  • Ganesh Patekar
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • salvin francis
Bartenders:
  • Ron McLeod
  • Frits Walraven
  • Pete Letkeman

SCWCD - need answers to these questions.  RSS feed

 
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.
 
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.
 
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.
 
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
Boost this thread!