Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » RedirectServlet and WAR
RedirectServlet and WAR [message #895598] Fri, 13 July 2012 17:35 Go to next message
David Casas is currently offline David CasasFriend
Messages: 58
Registered: November 2011
Location: Barcelona
Member

Hi guys,

I have made a redirect servlet in order to have control over the user requests and to link news on my app. The thing is that it is working right deploying it on eclipse but when I make a WAR product and I deploy it on my Tomcat Server, it does not work...

Do you know if I have to configure my web.xml to use that servlet?? I think it can be a problem with the equinox bridge since all the application works fine except from that.

pd: My redirect servlet is like

 <extension
      point="org.eclipse.equinox.http.registry.servlets">
   <servlet
         alias="/"
         class="xxx.net.RedirectServlet"
         load-on-startup="true">
   </servlet>
</extension>


Thanks in advance Wink
Re: RedirectServlet and WAR [message #899731 is a reply to message #895598] Thu, 02 August 2012 06:59 Go to previous message
Piotr Slonicz is currently offline Piotr SloniczFriend
Messages: 13
Registered: August 2011
Location: Munich
Junior Member
It seems, you have the same problem as I, but I haven't used plugin.xml to register it, but a new Bundle with Activator, ServidceTracker and Servlet classes. See my problem description Topic: Servlet can not be registered. What Target Platform you use?
Previous Topic:Trouble with RAP & Spring
Next Topic:RAP, Eclipse E4 and SWT Browser Edition
Goto Forum:
  


Current Time: Fri Apr 19 07:06:14 GMT 2024

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

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

Back to the top