Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » redirection
redirection [message #101712] Fri, 08 August 2008 11:24 Go to next message
Eclipse UserFriend
Hi,

Is it possible to redirect www.mywebsite.com to
www.mywebsite.com/rap?startup=test while using Equinox and Jetty ?

Best Regards,
Walter.
Re: redirection [message #101752 is a reply to message #101712] Sat, 09 August 2008 07:26 Go to previous messageGo to next message
Eclipse UserFriend
Walter Prabhakar schrieb:
> Is it possible to redirect www.mywebsite.com to
> www.mywebsite.com/rap?startup=test while using Equinox and Jetty ?

Yes. You should register a root servlet (alias "/"). Then in this
servlet you can do a sendRedirect. :)

-Gunnar

--
Gunnar Wagenknecht
gunnar@wagenknecht.org
http://wagenknecht.org/
Re: redirection [message #101762 is a reply to message #101752] Sat, 09 August 2008 09:17 Go to previous messageGo to next message
Eclipse UserFriend
Doesn't work. The browser keeps on redirecting multiple times and I had to
kill it.

"Gunnar Wagenknecht" <gunnar@wagenknecht.org> wrote in message
news:g7jut1$405$1@build.eclipse.org...
> Walter Prabhakar schrieb:
>> Is it possible to redirect www.mywebsite.com to
>> www.mywebsite.com/rap?startup=test while using Equinox and Jetty ?
>
> Yes. You should register a root servlet (alias "/"). Then in this servlet
> you can do a sendRedirect. :)
>
> -Gunnar
>
> --
> Gunnar Wagenknecht
> gunnar@wagenknecht.org
> http://wagenknecht.org/
Re: redirection [message #101812 is a reply to message #101762] Sun, 10 August 2008 13:58 Go to previous message
Eclipse UserFriend
Walter Prabhakar schrieb:
> Doesn't work. The browser keeps on redirecting multiple times and I had to
> kill it.

It looks like the RAP servler is not hit. Are you sure it's registered?
You can set a breakpoint to verify that the root servlet is triggered
instead of the RAP servlet.

-Gunnar

--
Gunnar Wagenknecht
gunnar@wagenknecht.org
http://wagenknecht.org/
Previous Topic:OSGi Console dont shows running bundles in Tomcat
Next Topic:Question: Customizable cursor/mouse pointer?
Goto Forum:
  


Current Time: Mon Jun 09 08:34:16 EDT 2025

Powered by FUDForum. Page generated in 0.04855 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top