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 13:35 Go to next message
David Casas is currently offline David Casas
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 02:59 Go to previous message
Piotr Slonicz is currently offline Piotr Slonicz
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:CSS Setting for ToolItem
Next Topic:Build of client.js for RAP 1.5
Goto Forum:
  


Current Time: Fri Aug 22 06:00:22 EDT 2014

Powered by FUDForum. Page generated in 0.01516 seconds