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
> 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/