Re: [rap-dev] Multipart Servlet in RAP

2018-06-22 Thread andrea antonello
Thank you Ivan,
moved discussion there.

Andrea


On Fri, Jun 22, 2018 at 12:20 PM Ivan Furnadjiev  wrote:
>
> 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_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.
>>
>>>  point="org.eclipse.equinox.http.registry.servlets">
>>   > alias="/document"
>> class="my.package.MyServlet">
>>   
>>
>>
>> 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
>>
>>
>> Mobile   +39 347 1267872
>> Fax.
>>   +39 055 3992770
>> E-mail  vincenzo.case...@rcp-vision.com
>>
>>
>>
>> On Thu, Jun 21, 2018 at 5:40 PM andrea antonello 
>>  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@eclipse.org
>>> 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@eclipse.org
>> 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@eclipse.org
> 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@eclipse.org
> 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@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/rap-dev


Re: [rap-dev] Multipart Servlet in RAP

2018-06-22 Thread Ivan Furnadjiev

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_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.

   
  
  
   

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

Mobile  +39 347 1267872
Fax.
+39 055 3992770
E-mail  vincenzo.case...@rcp-vision.com





On Thu, Jun 21, 2018 at 5:40 PM andrea antonello
mailto:andrea.antone...@gmail.com>>
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@eclipse.org 
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@eclipse.org 
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@eclipse.org
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@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/rap-dev

Re: [rap-dev] Multipart Servlet in RAP

2018-06-21 Thread andrea antonello
>
> Hi Vincenzo,
thanks a lot for the reply.

you can use the specific "org.eclipse.equinox.http.registry.servlets"
> Extension Point, e.g.
>
>  point="org.eclipse.equinox.http.registry.servlets">
>alias="/document"
> class="my.package.MyServlet">
>   
>
>
> 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*
>
> [image: RCP Vision]
> Mobile   +39 347 1267872
> Fax.
>   +39 055 3992770
> E-mail  vincenzo.case...@rcp-vision.com
>
>
>
> On Thu, Jun 21, 2018 at 5:40 PM andrea antonello <
> andrea.antone...@gmail.com> 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@eclipse.org
>> 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@eclipse.org
> 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@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/rap-dev

Re: [rap-dev] Multipart Servlet in RAP

2018-06-21 Thread Vincenzo Caselli
Hi Andrea,
you can use the specific "org.eclipse.equinox.http.registry.servlets"
Extension Point, e.g.

   
  
  
   

then define the servlet class as usual.

HTH
Vincenzo


*Ing. **Vincenzo Caselli*
*Technical Director*

[image: RCP Vision]
Mobile   +39 347 1267872
Fax.
  +39 055 3992770
E-mail  vincenzo.case...@rcp-vision.com



On Thu, Jun 21, 2018 at 5:40 PM andrea antonello 
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@eclipse.org
> 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@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/rap-dev