Re: URL Redirect Question

2007-02-18 Thread Hassan Schroeder

On 2/17/07, Stanczak Group [EMAIL PROTECTED] wrote:

So create a filter or is there one already to use?


If you don't want to roll your own:  http://tuckey.org/urlrewrite/

HTH,
--
Hassan Schroeder  [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]



Re: URL Redirect Question

2007-02-18 Thread Stanczak Group

That's it. thanks.

Hassan Schroeder wrote:

On 2/17/07, Stanczak Group [EMAIL PROTECTED] wrote:

So create a filter or is there one already to use?


If you don't want to roll your own:  http://tuckey.org/urlrewrite/

HTH,


--
Justin Stanczak
Stanczak Group
812-735-3600

All that is necessary for the triumph of evil is that good men do nothing.
Edmund Burke


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



Re: URL Redirect Question

2007-02-17 Thread Stanczak Group

Ya the filter option sounds good. Where/what is this project?

Nikola Milutinovic wrote:

Actually, there is already a project URL Filter for Java Web applications, 
basically does what mod_rewrite and mod_proxy give you. Maybe not in so many 
details, but it is going to save our hide on our next project. :-)

Nix.

- Original Message 
From: Caldarale, Charles R [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Thursday, February 8, 2007 4:45:39 PM
Subject: RE: URL Redirect Question

  
From: Propes, Barry L [GCG-NAOT] 
[mailto:[EMAIL PROTECTED] 
Subject: RE: URL Redirect Question


set that one URL in your welcome page as the default -- say 
index or default.jsp, or index.html, or whatever.

That way, people can just click that simple link below.



You can also use a filter or valve within Tomcat to forward the request
to the desired context, and avoid any client interaction.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

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






 

Sucker-punch spam with award-winning protection. 
Try the free Yahoo! Mail Beta.

http://advision.webevents.yahoo.com/mailbeta/features_spam.html

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



  


--
Justin Stanczak
Stanczak Group
812-735-3600

All that is necessary for the triumph of evil is that good men do nothing.
Edmund Burke


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



Re: URL Redirect Question

2007-02-17 Thread Martin Gainty
If apache is front ending I would use mod_rewrite
else use Tomcat filter and valves as earlier suggested

M-
--- 
This e-mail message (including attachments, if any) is intended for the use of 
the individual or entity to which it is addressed and may contain information 
that is privileged, proprietary , confidential and exempt from disclosure. If 
you are not the intended recipient, you are notified that any dissemination, 
distribution or copying of this communication is strictly prohibited.
--- 
Le présent message électronique (y compris les pièces qui y sont annexées, le 
cas échéant) s'adresse au destinataire indiqué et peut contenir des 
renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le 
destinataire de ce document, nous vous signalons qu'il est strictement interdit 
de le diffuser, de le distribuer ou de le reproduire.
- Original Message - 
From: Stanczak Group [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Saturday, February 17, 2007 3:23 PM
Subject: Re: URL Redirect Question


 Ya the filter option sounds good. Where/what is this project?
 
 Nikola Milutinovic wrote:
 Actually, there is already a project URL Filter for Java Web applications, 
 basically does what mod_rewrite and mod_proxy give you. Maybe not in so many 
 details, but it is going to save our hide on our next project. :-)

 Nix.

 - Original Message 
 From: Caldarale, Charles R [EMAIL PROTECTED]
 To: Tomcat Users List users@tomcat.apache.org
 Sent: Thursday, February 8, 2007 4:45:39 PM
 Subject: RE: URL Redirect Question

   
 From: Propes, Barry L [GCG-NAOT] 
 [mailto:[EMAIL PROTECTED] 
 Subject: RE: URL Redirect Question

 set that one URL in your welcome page as the default -- say 
 index or default.jsp, or index.html, or whatever.
 That way, people can just click that simple link below.
 

 You can also use a filter or valve within Tomcat to forward the request
 to the desired context, and avoid any client interaction.

  - Chuck


 THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
 MATERIAL and is thus for use only by the intended recipient. If you
 received this in error, please contact the sender and delete the e-mail
 and its attachments from all computers.

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






  
 
 Sucker-punch spam with award-winning protection. 
 Try the free Yahoo! Mail Beta.
 http://advision.webevents.yahoo.com/mailbeta/features_spam.html

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



   
 
 -- 
 Justin Stanczak
 Stanczak Group
 812-735-3600
 
 All that is necessary for the triumph of evil is that good men do nothing.
 Edmund Burke
 
 
 -
 To start a new topic, e-mail: users@tomcat.apache.org
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


Re: URL Redirect Question

2007-02-17 Thread Stanczak Group

So create a filter or is there one already to use?

Martin Gainty wrote:

If apache is front ending I would use mod_rewrite
else use Tomcat filter and valves as earlier suggested

M-
--- 
This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, proprietary , confidential and exempt from disclosure. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this communication is strictly prohibited.
--- 
Le présent message électronique (y compris les pièces qui y sont annexées, le cas échéant) s'adresse au destinataire indiqué et peut contenir des renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le destinataire de ce document, nous vous signalons qu'il est strictement interdit de le diffuser, de le distribuer ou de le reproduire.
- Original Message - 
From: Stanczak Group [EMAIL PROTECTED]

To: Tomcat Users List users@tomcat.apache.org
Sent: Saturday, February 17, 2007 3:23 PM
Subject: Re: URL Redirect Question


  

Ya the filter option sounds good. Where/what is this project?

Nikola Milutinovic wrote:


Actually, there is already a project URL Filter for Java Web applications, 
basically does what mod_rewrite and mod_proxy give you. Maybe not in so many 
details, but it is going to save our hide on our next project. :-)

Nix.

- Original Message 
From: Caldarale, Charles R [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Thursday, February 8, 2007 4:45:39 PM
Subject: RE: URL Redirect Question

  
  
From: Propes, Barry L [GCG-NAOT] 
[mailto:[EMAIL PROTECTED] 
Subject: RE: URL Redirect Question


set that one URL in your welcome page as the default -- say 
index or default.jsp, or index.html, or whatever.

That way, people can just click that simple link below.



You can also use a filter or valve within Tomcat to forward the request
to the desired context, and avoid any client interaction.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

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






 

Sucker-punch spam with award-winning protection. 
Try the free Yahoo! Mail Beta.

http://advision.webevents.yahoo.com/mailbeta/features_spam.html

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



  
  

--
Justin Stanczak
Stanczak Group
812-735-3600

All that is necessary for the triumph of evil is that good men do nothing.
Edmund Burke


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






  


--
Justin Stanczak
Stanczak Group
812-735-3600

All that is necessary for the triumph of evil is that good men do nothing.
Edmund Burke


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



RE: URL Redirect Question

2007-02-08 Thread Propes, Barry L [GCG-NAOT]
you could do this...

set that one URL in your welcome page as the default -- say index or 
default.jsp, or index.html, or whatever.
That way, people can just click that simple link below.

Within one of those pages, you could add a small little javascript function 
that does the redirect.

If you need an example, I can send you one.

-Original Message-
From: Stanczak Group [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 08, 2007 8:33 AM
To: Tomcat Users List
Subject: URL Redirect Question


I think this is a simple question, but I can't seem to find the answer. 
I want to setup redirects in Tomcat, so basically I want something like 
http://www.mysite.com/short would redirect to 
http://www.mysite.com/some/longer/url/site.html. I'm still using the 
default Tomcat setup, so I want to use whatever works best with it. I've 
used JSP to redirect before, but was wanting something easier to manage. 
Any suggestions?

-- 
Justin Stanczak
Stanczak Group
812-735-3600

All that is necessary for the triumph of evil is that good men do nothing.
Edmund Burke


-
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]



RE: URL Redirect Question

2007-02-08 Thread Caldarale, Charles R
 From: Propes, Barry L [GCG-NAOT] 
 [mailto:[EMAIL PROTECTED] 
 Subject: RE: URL Redirect Question
 
 set that one URL in your welcome page as the default -- say 
 index or default.jsp, or index.html, or whatever.
 That way, people can just click that simple link below.

You can also use a filter or valve within Tomcat to forward the request
to the desired context, and avoid any client interaction.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

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



Re: URL Redirect Question

2007-02-08 Thread Nikola Milutinovic
Actually, there is already a project URL Filter for Java Web applications, 
basically does what mod_rewrite and mod_proxy give you. Maybe not in so many 
details, but it is going to save our hide on our next project. :-)

Nix.

- Original Message 
From: Caldarale, Charles R [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Thursday, February 8, 2007 4:45:39 PM
Subject: RE: URL Redirect Question

 From: Propes, Barry L [GCG-NAOT] 
 [mailto:[EMAIL PROTECTED] 
 Subject: RE: URL Redirect Question
 
 set that one URL in your welcome page as the default -- say 
 index or default.jsp, or index.html, or whatever.
 That way, people can just click that simple link below.

You can also use a filter or valve within Tomcat to forward the request
to the desired context, and avoid any client interaction.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

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






 

Sucker-punch spam with award-winning protection. 
Try the free Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/features_spam.html

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