Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #5842

Deploy on tomcat with a name that differs from the warfile name

Date 2011-07-04 11:18 +0200
From jaap <niemand@meel.homelinux.net>
Newsgroups comp.lang.java.programmer
Subject Deploy on tomcat with a name that differs from the warfile name
Message-ID <4e11855f$0$10742$e4fe514c@dreader20.news.xs4all.nl> (permalink)

Show all headers | View raw


Hi,

I want te deploy an application on Tomcat with a name that differs from 
the warfile name. According to the documentation I expected to get 
http://localhost:8080/campingserver/ to react to campingserver-1.0.2.war 
in the webapp folder when I have the following context.xml file in META-INF:

<?xml version="1.0" encoding="UTF-8"?>
<Context path="/campingserver/">
</Context>

But this does not work, the URL is still
http://localhost:8080/campingserver-1.0.2/
Any idea how to acomplish it?

Back to comp.lang.java.programmer | Previous | Next | Find similar


Thread

Deploy on tomcat with a name that differs from the warfile name jaap <niemand@meel.homelinux.net> - 2011-07-04 11:18 +0200

csiph-web