[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
Re: [Java] Common init params in app web.xml
i don't have much experience with tomcat, but from what i can gather:
1. init params shud be servlet specific!! and this is true for most other
servlet engines too!!
2. but why do u really need to change the web.xml file so often??? and
anyway it does not take long to restart tomcat!!
3.i havent tried enhydra's servlet engine, but i have use Unify e-wave
ServletExec, and i found that it is much more usable than tomcat. though
this particullar servlet engine is not freeware or open source.
now i have some questions too (for tomcat!):
1.how can i make servlets read an external file (i need to access files for
things like templates, etc)
2.how can i enable session management for my servlets using url rewriting??
and change the name of the session variable!
/\ |\/| |3 /\ r
> 1. Is it possible in some way to have common init-params in the web.xml
file in a particular web-app. I am speaking in the context of Tomcat. From
what I read in the DTD, there is no common Init-params, only servlet
> 2. Also, when a web-app is under heavy development, the web.xml file keeps
on changing.I know, one should plan in advance, but sometimes you can't help
it. In such case is it possible for getting Tomcat to reread the web-app
without being restarted?
> 3. Has anyone tried the servlet engine of Enhydra? How does it compare