Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Java (http://www.velocityreviews.com/forums/f30-java.html)
-   -   can't deploy HTML pages on TOMCAT (http://www.velocityreviews.com/forums/t151337-cant-deploy-html-pages-on-tomcat.html)

Ranjeeva 03-20-2006 02:42 PM

can't deploy HTML pages on TOMCAT
 
Hi All,

I'm trying to deploy a set of html pages on TOMCAT. These pages can be
correctly displayed under /webapps/jsp-examples/jsp2/el/ (which is a
default directory that comes with the installation). However when I try
to deploy them under a new directory (say) /webapps/foobar/
I get a "HTTP 404 The Page cannot be found" error. JSPs from this
location can be deployed successfully. This appear to be a
configuration issue. I would really appreciate it if someone could
point me in the right direction.

Many Thanks,

Ranjeeva


SigmaCrisis@gmail.com 03-20-2006 03:32 PM

Re: can't deploy HTML pages on TOMCAT
 
Wouldn't you access them through:
localhost/foobar/

The above refers to the index.html, if you have one, in foobar.

hth.


jagonzal@gmail.com 03-20-2006 07:42 PM

Re: can't deploy HTML pages on TOMCAT
 
Ranjeeva wrote:
> I'm trying to deploy a set of html pages on TOMCAT. These pages can be
> correctly displayed under /webapps/jsp-examples/jsp2/el/ (which is a
> default directory that comes with the installation). However when I try
> to deploy them under a new directory (say) /webapps/foobar/
> I get a "HTTP 404 The Page cannot be found" error. JSPs from this
> location can be deployed successfully. This appear to be a
> configuration issue. I would really appreciate it if someone could
> point me in the right direction.


You have to properly deploy them in their own web application context,
or, failing that, deploy them in tomcat's default webapp.

(i.e. copy them to /webapps/ROOT/mydir/ to access them as
http://somehost/mydir/somehtmlpage.html)


Ranjeeva 03-21-2006 11:10 AM

Re: can't deploy HTML pages on TOMCAT
 
Thanks all for your help. I managed to work it out. All I needed to do
was to add the 8080 port to the uri e.g.
http://www.mydomain.com:8080/foobar/index.html and it worked.

Ranjeeva



All times are GMT. The time now is 02:00 AM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57