• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Web.Xml Lifecycle

 
Muneeswaran Balasubramanian
Ranch Hand
Posts: 138
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi to all,
I am so confuse about the life cycle(execution order) of web.xml.Please guide me how can i find the life cycle of web.xml?
Cheers Munees
 
Devaka Cooray
ExamLab Creator
Marshal
Pie
Posts: 4330
238
Chrome Eclipse IDE Google App Engine IntelliJ IDE jQuery Postgres Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No, there is no life-cycle of web.xml. It is just an XML document which lists the configurations of your web application.
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maybe the term you're looking for is "servlet lifecycle"?
 
Muneeswaran Balasubramanian
Ranch Hand
Posts: 138
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi devaka,
Thanks for your reply.Once i have working on the session handling in servlet i need a filter and listener,I have the confusion of placement of listener and filter,I crawled thru net,
I have find one site which refers me, must place the listener before the filter
.So only i post this question here.Please guide me for achieve this.
Cheers Munees
 
Muneeswaran Balasubramanian
Ranch Hand
Posts: 138
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ulf,
Thanks for your reply.I need the execution order of web.xml.Please help me for clarify this.
Cheers Munees
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Again: there is no "execution order" of web.xml; it's a configuration file.

If you're using a newer schema-based version I don't think there is a required order. If you're using an older DTD-based web.xml then you need to follow the order in the DTD.

Are you having a specific problem?
 
Muneeswaran Balasubramanian
Ranch Hand
Posts: 138
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks to all for your guidance.
Cheers Munees
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic