On 12/18/06, David Delbecq delbd-at-oma.be |tomcat| <3unkjagvg90t...............> wrote:
How did you deploy your simple webapp?
I followed these instructions: http://www.coreservlets.com/Apache-Tomcat-Tutorial/ Actually I made a new directory C:\apache-tomcat-5.5.20\webapps\RMS and put a hello.jsp and a hello.html there. Then I started Tomcat and tried to access http://localhost/RMS/hello.html . Then it asked for user/passord. Did I do anything wrong? TIA.
Dani a écrit : > My out-of-the-box Tomcat is asking for user/password when I try to > connect to a hello world HTML in a new webapp. > > On 12/17/06, olivier nouguier olivier.nouguier-at-......... |tomcat| > <nazyjafop80t...............> wrote: >> http://tomcat.apache.org/tomcat-5.5-doc/realm-howto.html > > I don't have a web.xml in my project yet. And the default web.xml > doesn't have any <security-constraint> or any <login-config> tags. > >> http://java.sun.com/products/servlet/download.html > > I have JDK installed. I tried a hellow world .jsp in tomcat/ROOT/ and > it worked. Why if I try a hellow world .jsp or .html in a new webapp > directory Tomcat asks for user/password? > >> On 12/17/06, Dani <gka4cj702...............> wrote: >> > I have my webapp in c:\tomcat\webapps\rms\ and when I access >> > http://localhost/rms/ Tomcat asks me for a user and a password. Even >> > if I try a hello world HTML file. Why? >> > >> > I guess it's something I have to fix in web.xml or server.xml. What >> > should I modify? > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- ...................... Email / Google Talk (Jabber) / MSN: ................ --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]