tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Terence Kent <tk...@xetus.com>
Subject Re: servlet mapping question(I believe)
Date Mon, 04 Feb 2008 06:33:18 GMT
Mark,

Thank you very much! Your suggestion worked perfectly and has given me  
an area to focus on.

Terence.
On Feb 3, 2008, at 10:51 AM, Mark Thomas wrote:

> Terence Kent wrote:
>> Conclusion:
>> My understanding from this configuration is that all requests on  
>> port 8010, that end with the extension .ext should be forwarded to  
>> the servlet "mycompany". From what I've read, any paths created in  
>> the ${APP_BASE} directory should be irrelevant in this mapping and  
>> all logic comes from the web.xml file. My understanding appears to  
>> be wrong and I would greatly appreciate being pointed in the right  
>> direction.
>
> You can't set appBase == docBase.
>
> The following should do what you want:
> rename /opt/path/to/webapps/page to /opt/path/to/webapps/ROOT
> use appBase="/opt/path/to/webapps"
> use docBase="ROOT"
>
> Also, I wouldn't configure the context in server.xml. See http://tomcat.apache.org/tomcat-6.0-doc/config/context.html

>  for other options.
>
> HTH,
>
> Mark
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>

---
Terence Kent
Support and Training Management
Xetus Corporation




Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message