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

mock test question

 
bernard savary
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
source: enthuware
The welcome-file tag can mark a servlet as the default item that is returned from a url .

Is this true or false ?

Can someone give me an example of it can be done if true ?
 
swapna rao
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
given statement is true.You can verify servlet specification for more info.
 
bernard savary
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can you show me how to put a servlet in a welcome-file-list tag ?
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From the Servlet spec:
The Web server must append each welcome file in the order specified in the deployment descriptor to the partial request and check whether a static resource or servlet in theWAR is mapped to that request URI.

Back in the days of J2EE 1.3 and before we could only mark physical files (aka static resources) like JSPs or HTMLs as welcome pages. Be aware of this if you are using older 1.3 mock exams.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic