• 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

Is it Possible Web.xml include another xml configuration?

 
Ranch Hand
Posts: 494
Eclipse IDE Postgres Database Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Friends...

i've a question..
is it possible web.xml include another xml configuration (like servlet mapping, etc)?..
what i mean is, is it possible to 'divide' web.xml to some files?..
My purpose is for get easiness..

Thanks in advance..
 
Sheriff
Posts: 67747
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No.
 
Ranch Hand
Posts: 1374
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In vanilla flavor it's not possible as Bear mentioned but if you go at abstract level there are plenty of web application frameworks available like Spring and Struts. So if you use them then your codebase is more managed.
 
Bear Bibeault
Sheriff
Posts: 67747
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That, indeed, is a matter of opinion.
 
Leonardo Carreira
Ranch Hand
Posts: 494
Eclipse IDE Postgres Database Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for replies..

yap, i've clear now..
i've learned a bit about Struts2.. yap the Configuration could divided to a few files.. and it's really more managed..
but i think Struts2 Annotation is more interesting..

How about Servlet3?..
How to getting started about it?..
as far as i know, that Servlet3 just supported by Glassfish v3 Prelude..
is there any Servlet Container that have supported for Servlet3?..

Correct me if i'm wrong..

Thanks in advance..
 
Vikas Kapoor
Ranch Hand
Posts: 1374
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Bear Bibeault wrote:That, indeed, is a matter of opinion.


Yes, Bear I know once you said that Struts is bulky and blah blah and it complicates the work rather than making it more managed. I couldn't link that post here.

But the fact is that you have vast 30+ years of experience. You have seen the time from desktop app to web app, birth of servlets to today's latest framework. So you can see the web app structure from 30,000 feet and can find flaws in today's web app frameworks. But I don't have much experience so I simply follow trend so you can say 'A herd'.
 
reply
    Bookmark Topic Watch Topic
  • New Topic