This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Hands On Software Engineering with Python and have Brian Allbey on-line!
See this thread for details.
Win a copy of Hands On Software Engineering with Python this week in the Jython/Python 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
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Liutauras Vilda
Sheriffs:
  • Tim Cooke
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Ron McLeod
  • Ganesh Patekar
  • salvin francis
Bartenders:
  • Tim Holloway
  • Carey Brown
  • Stephan van Hulst

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
 
This is my favorite tiny ad:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database
https://coderanch.com/t/704633/RavenDB-Open-Source-NoSQL-Database
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!