tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bart van Leeuwen <>
Subject JAX-RS Arraylist RequestDispatcherProvider
Date Thu, 02 Feb 2017 04:34:53 GMT

I've played around with using RequestDispatcherProvider through 
resources.xml to map @GET to a JSP
all works fine for single object, but when returing a 
java.util.ArrayList<MyClass> I can only map the java.utilArrayList which 
means I can only use one arraylist

I now have the following snippet in my resources.xml
<Service id="classResources" 

I resulted in extending java.util.ArrayList to have a unique classname, is 
that the way to solve this ?

Met Vriendelijke Groet / With Kind Regards
Bart van Leeuwen

twitter: @semanticfire
tel. +31(0)6-53182997
Netage B.V.
Esdoornstraat 3
3461ER Linschoten
The Netherlands

  • Unnamed multipart/related (inline, None, 0 bytes)
View raw message