Hello,
I would like to redeploy my web application as war file, but if I export
my project from Eclipse
he couldn't overwrite the old version in folder webapps. I deployed the
library for struts in my project
and he couldn't delete this while tomcat is running.
So what can I do to make a redep
> Yes, it's very bad style - don't do it. Unless you need some special
> settings for the attributes, you don't really need a
> element at all. For your case just name your .war file (or the expanded
> directory under webapps) "welcome" and you'll have what you want.
>
Hey Chuck, thanks for t
> A second launch means a second set of servlet instances, second set of
> resources, overall a higher memory footprint and they won't share data.
>
> Placing this stuff in server.xml does work, but if you want to change
> the config you are required to bounce the tomcat service for changes to
> ta
> So you want you make your webapp to also respond at
> http://[myServer:port]/welcome. You can achieve a second launch of your
> webapp just by placing welcome.xml (w/ your Context config) in
> [TomcatHome]/conf/Catalina/localhost. Just know this is a second
> launch, not an alias to the first r
na/localhost/welcome.xml. In that case your webapp will
> respond to http://[myServer:port]/welcome/
So if a xml file exist in /conf/Catalina/localhost which is suitable for
a webapps folder, he ignore a context within this file, but if the folder
doesn't exist, he will use this context?
Thank you
Hey,
I'm using Tomcat 5.5.12. If I created a context mapping in
/conf/server.xml to cnetext /welcome.
If I do it like this, it works. But I read, that you should not
insert a mapping in server.xml (bad style?) You should prefer
to insert it into
/conf/context.xml
or
\conf\Catalina\localhost\.xm