| Author |
Is it Possible Web.xml include another xml configuration?
|
Leonardo Carreira
Ranch Hand
Joined: Apr 07, 2009
Posts: 482
|
|
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..
|
Sorry, perhaps my english language isn't too good.. Prepare for SCJP 6, Please God help me.. ☼
References : [Java.Boot] [JavaChamp] [JavaPrepare]
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56229
|
|
|
No.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Vikas Kapoor
Ranch Hand
Joined: Aug 16, 2007
Posts: 1374
|
|
|
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
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56229
|
|
|
That, indeed, is a matter of opinion.
|
 |
Leonardo Carreira
Ranch Hand
Joined: Apr 07, 2009
Posts: 482
|
|
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
Joined: Aug 16, 2007
Posts: 1374
|
|
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'.
|
 |
 |
|
|
subject: Is it Possible Web.xml include another xml configuration?
|
|
|