From: Paul Wolneykien <manowar@altlinux.org>
To: sisyphus@lists.altlinux.org
Subject: Re: [sisyphus] Tomcat5 + *.war
Date: Sun, 10 Jan 2010 20:52:40 +0300
Message-ID: <4B4A13E8.1030307@altlinux.org> (raw)
In-Reply-To: <f725ea641001090233h69e0300tee8174a90a3f7cb3@mail.gmail.com>
09.01.2010 13:33, Rinat Bikov пишет:
> 12 сентября 2008 г. 17:42 пользователь Andrey Shilnikov написал:
>> Всем доброго дня.
>> Пытался связать war-аплет и Tomcat5, но ничего не вышло. Распаковал с помощью
>> jar, но там не оказалось index.html или index.jsp
>> Подскажите как их связать? Гугл ничего внятного не д
> Ммм... Вообще-то war-аплет распаковывать не нужно.
Да, Tomcat его сам "разворачивает" (deploy). Причём в качестве
"архива WEB-приложения" (WAR) может выступать как файл, так и
директория. Пример последнего можно наблюдать в виде директории ROOT.war
-- приложения Tomcat по умолчанию, управление которому передаётся при
обращении к http://<узел>:<порт>/ . Слово ROOT здесь зарезервированное и
соответствует пустому относительному пути. А для передачи управления
вашему приложению, нужно указать путь, совпадающий с именем архива, без
суффикса .war. Подробнее смотрите apache.org/tomcat раздел о
развёртывании приложений (deploying).
Паша.
next prev parent reply other threads:[~2010-01-10 17:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-12 13:42 Andrey Shilnikov
2010-01-09 10:33 ` Rinat Bikov
2010-01-10 17:52 ` Paul Wolneykien [this message]
2010-01-13 10:52 ` Rinat Bikov
2010-01-13 11:19 ` Rinat Bikov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4B4A13E8.1030307@altlinux.org \
--to=manowar@altlinux.org \
--cc=sisyphus@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git