agarlita,dan wrote:

hi,
the http://server.domain.com/root/xam/nettools/index.html is
complied/interpreted by the root application,
but in this folder is another web-app with full "web.xml" and WEB-INF
folders.
I think it will be somethig like "Context" in "Context"
I try all I know on tomcat, all configuration... all

Nothing:) I will be gratefull for any ideea
DAG


OK, first of all, there is no such concept in Java Servlet specification as "web-app in web-app", nested web apps, if you like. If you have two (distinct) web applications, the should be placed in SEPARATE directory hierarchies, each one deployed as if they had no dependance at all. Then you can try to play with deployment, so that corresponding URIs that are attached to these applications *overlap*.


Doing what you did will not do what you want - IOW, there will be only one web application and the "other" will be treated as a set of files. Granted, JSPs will execute, but servlets and all classes within the second (deeper) WEB-INF will not be deployed or treated as a part of a second WEB-INF. They will be accessable as just plain files.

If you do it "my way" you might get what you wanted, but I cannot guarantee it works on other JSP/Servlet containers. I'm not sure what the spec says (if anything) on the subject of overlapping deployment URI.

Guys, anyone?

Nix.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to