Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

RE: My webapp is oddly asking for user and password

Caldarale, Charles R

2006-12-18

Replies:

> From: Dani [mailto:gka4cj702@(protected)]
> Subject: Re: My webapp is oddly asking for user and password
>
> Can I deploy hello.html without a .war file?

Yes, I just verified (again) that 5.5.20 with the default config will
deploy a webapp that has only a single .html file in its directory. To
be explicit:

1) create webapps/dummy

2) put your hello.html file into webapps/dummy
<html>
<head>
  <title>Testing</title>
</head>
<body>
This is a dummy application.
</body>
</html>

3) start Tomcat, if not already running

4) access the page with http://localhost:8080/dummy/hello.html

If you've changed the port number in server.xml, use that one instead,
of course.

- Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.