Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [rap-dev] Multipart Servlet in RAP

Andrea,
please ask this question is RAP forum [1]. You'll get a better answer there, which will help other users, having similar problems.
Please also post the exception stack-trace.

[1] https://www.eclipse.org/forums/index.php?t=thread&frm_id=34
Best regards,
Ivan

On 6/21/2018 20:57, andrea antonello wrote:
Hi Vincenzo,
thanks a lot for the reply.

you can use the specific "org.eclipse.equinox.http.registry.servlets" Extension Point, e.g.

   <extension
         point="org.eclipse.equinox.http.registry.servlets">
      <servlet
            alias="/document"
            class="my.package.MyServlet">
      </servlet>
   </extension>

then define the servlet class as usual.

Sorry, I have not been clear in my message and mentioned it only in the subject.
My problem is that I need the servlet to be configured for multipart. The "normal" servlet works fine, but I have not been able to figure out how to configure it for multipart. When a multipart post comes in, an exception is thrown.

Thanks,
Andrea



HTH
Vincenzo


Ing. Vincenzo Caselli
Technical Director 

RCP Vision




On Thu, Jun 21, 2018 at 5:40 PM andrea antonello <andrea.antonello@xxxxxxxxx> wrote:
Hi,
I am trying to figure out how to configure a servlet in a RAP
application that runs through Jetty embedded in Equinox.

Is there a way to do that?

Thank you for any hint,
Andrea
_______________________________________________
rap-dev mailing list
rap-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/rap-dev
_______________________________________________
rap-dev mailing list
rap-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/rap-dev


_______________________________________________
rap-dev mailing list
rap-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/rap-dev


Back to the top