Hi,

dont know for apache but for context:

You can place the context as "context.xml" inside the META-INF directory.

The application path will be /<your warfile name> the information from the 
context path attribute is ignored.

Mit freundlichen Grüßen 
 
Thomas Strauß

-----Ursprüngliche Nachricht-----
Von: Robert Einsle [mailto:[EMAIL PROTECTED] 
Gesendet: Donnerstag, 8. Dezember 2005 13:18
An: Tomcat Users List
Betreff: Username from basic Auth and Contextinformation Question

Hy List,

i have two questions koncerning Tomcat.

I will do the Authentifikation for my Webbapp on the Apache (2.0) with 
Basic Auth. Is it possible in my Tomcat Application to access the 
Username (out of the Session?) where the User logged on?

The second is, can i deliver the context-information for my webbapp 
inside my war-package? Normaly i configure Contextinformation 
(Datasources, Logger...) inside the Context-Tag in server.xml. Is it 
possible to pack this Information inside the war?

Thanks for Help.



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



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

Reply via email to