I think I have to add an alias to context file orgewi.xml. I will try this 
afternoon and give you feedbacks.


-----Message d'origine-----
De : Johnny Kewl [mailto:[EMAIL PROTECTED] 
Envoyé : jeudi 19 avril 2007 10:23
À : Tomcat Users List
Objet : Re: How to create a kind of alias in tomcat

Yes... I imagined thats what you had... but you said you also wanted users the 
get through
with  http://10.124.40.29:9090/organigramme   to the same page...
How did you do that??


----- Original Message ----- 
From: "BENTOUHAMI MB Malek (DCL)" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Thursday, April 19, 2007 9:29 AM
Subject: RE: How to create a kind of alias in tomcat


Thank you Johnny, I found a solution that consists to add
<welcome-file-list>
<welcome-file>/PLATFORM/FRENCH/EWICHART/JAVA/L1.html</welcome-file>
</welcome-file-list>
In the web.xml file

I have to find a solution to point the name of the application to an alias.

Rgds,
Malek


-----Message d'origine-----
De : Johnny Kewl [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 18 avril 2007 17:17
À : Tomcat Users List
Objet : Re: How to create a kind of alias in tomcat


Thing about these questions is always depends on what you really after...
One way would be browser redirection.... ie stick this in the header of the 
index file under organigramme <meta http-equiv="refresh" content="N; 
URL=other-web-address">

and the way I like but I always get.... too much hassel moans and groans...

Is create a servlet and just map the urls that u want to recieve to it...
then with a little code... dispatch the call to the required page... or just 
use the a tomcat redirect.... like this

Check incoming URL.... and....
response.sendRedirect(newUrl);

Or stick apache in front .... and use its Aliases or Virtual Hosting....



----- Original Message -----
From: "BENTOUHAMI MB Malek (DCL)" <[EMAIL PROTECTED]>
To: <users@tomcat.apache.org>
Sent: Wednesday, April 18, 2007 1:57 PM
Subject: How to create a kind of alias in tomcat


Hello,

I'd like to connect to my application at
http://10.124.40.29:9090/ORGEWI/PLATFORM/FRENCH/EWICHART/JAVA/L1.html
but users need to connect via http://10.124.40.29:9090/organigramme
how to proceed ?

fyi : Calendra / tomcat v4
many applications with context file ORGEWI.xml

Tks,
Malek


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to