Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / First Aid / January 2005

Tip: Looking for answers? Try searching our database.

include another xml in web.xml

Thread view: 
quickcur@yahoo.com - 30 Jan 2005 17:08 GMT
Hi, I am writing a servlet using the MVC mode. I have a lot
configuration parameters for the servlet. I am thinking about put them
as "ininParamater" in "web.xml". I am wondering if I can put all my
parameters in a seperate xml and include it in my web.xml.

Also, what is the best approach to provide a lot of initial parameters
to the servlet? Is web.xml a good place?

Thanks,

qq
William Brogden - 31 Jan 2005 01:37 GMT
> Hi, I am writing a servlet using the MVC mode. I have a lot
> configuration parameters for the servlet. I am thinking about put them
> as "ininParamater" in "web.xml". I am wondering if I can put all my
> parameters in a seperate xml and include it in my web.xml.

No, of course not. It would then violate the DTD.
Instead have an init parameter point to a configuration file.

> Also, what is the best approach to provide a lot of initial parameters
> to the servlet? Is web.xml a good place?
>
> Thanks,
>
> qq

Signature

Using Opera's revolutionary e-mail client: http://www.opera.com/m2/



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.