You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Thomas Burns <tb...@67systems.com> on 2001/11/01 20:42:16 UTC

mod_webapp: index.jsp question

http://host/myapp/index.jsp displays correctly
http://host/myapp/ displays the same index.jsp correctly
However http://host/myapp does not display index.jsp correctly. Instead I get the 404 error, page not found.

After reviewing the docs I could find, I am left wondering how do I get http://host/myapp to display index.jsp?

Thanks,
-Tom Burns
Houston, TX

BTW: I have the following:
latest mod_webapp build (10/31/01)
Tomcat 4.0.1
Apache 1.3

index.jsp is located at /jakarta-root/webapps/myapp/index.jsp
index.jsp is listed in welcome-list in /jakarta-root/webapps/myapp/WEB-INF/web.xml
The entries in httpd.conf look like the following:
#
# webapp: Connector for Jakarta Tomcat 4.0
#
<IfModule mod_webapp.c>
  WebAppConnection conn      warp localhost:8008
  WebappDeploy     examples conn /examples
  WebAppDeploy     ems  conn /ems
  WebAppInfo       /webapp-info
</IfModule>



Re: mod_webapp: index.jsp question

Posted by Pier Fumagalli <pi...@betaversion.org>.
Thomas Burns at tburns@67systems.com wrote:

> http://host/myapp/index.jsp displays correctly
> http://host/myapp/ displays the same index.jsp correctly
> However http://host/myapp does not display index.jsp correctly. Instead I get
> the 404 error, page not found.
> 
> After reviewing the docs I could find, I am left wondering how do I get
> http://host/myapp to display index.jsp?

Simply, with the current code, you can't... I might do a fix, if I get
around with it, but no guarantees it'll go in...

    Pier


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>