I still get an HTTP error 404 with your suggestion.
diff --git a/src/main/java/fr/gouesse/julien/jaxrs/CorsProxyResource.java
b/src/main/java/fr/gouesse/julien/jaxrs/CorsProxyResource.java
index 1e0c09c..ee0f4f0 100644
--- a/src/main/java/fr/gouesse/julien/jaxrs/CorsProxyResource.java
+++ b/src/main/java/fr/gouesse/julien/jaxrs/CorsProxyResource.java
@@ -20,7 +20,7 @@ import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
import javax.ws.rs.core.Response.Status;
-@Path("corsproxy")
+@Path("webresources/corsproxy")
public class CorsProxyResource {
private String getStackTrace(final Throwable throwable) {
diff --git
a/src/main/java/fr/gouesse/julien/jaxrs/RedFeedAggregatorApplication.java
b/src/main/java/fr/gouesse/julien/jaxrs/RedFeedAggregatorApplication.java
index 0af216b..2ead13e 100644
--- a/src/main/java/fr/gouesse/julien/jaxrs/RedFeedAggregatorApplication.java
+++ b/src/main/java/fr/gouesse/julien/jaxrs/RedFeedAggregatorApplication.java
@@ -5,7 +5,7 @@ import java.util.Set;
import javax.ws.rs.ApplicationPath;
import javax.ws.rs.core.Application;
-@ApplicationPath("webresources")
+@ApplicationPath("feed")
public class RedFeedAggregatorApplication extends Application {
@Override
> Message du 07/08/20 00:15
> De : "Simone Bordet"
> A : [email protected]
> Copie à : "Simone Bordet" , "JETTY user mailing list"
> Objet : Re: [jetty-users] My CORS proxy using Jersey (for JAX-RS) with Jetty
> 9.4.31 doesn't respond
>
> Hi,
>
> On Thu, Aug 6, 2020 at 11:19 PM wrote:
> >
> > The context path "feed" is set here:
> >
> > https://sourceforge.net/p/red-feed-aggregator/code/ci/master/tree/red-feed-aggregator.xml#l4
> >
> >
> >
> > The application path "webresources" is set here:
> >
> > https://sourceforge.net/p/red-feed-aggregator/code/ci/master/tree/src/main/java/fr/gouesse/julien/jaxrs/RedFeedAggregatorApplication.java#l8
> >
> >
> >
> > The path of the resource "corsproxy" is set here:
> >
> > https://sourceforge.net/p/red-feed-aggregator/code/ci/master/tree/src/main/java/fr/gouesse/julien/jaxrs/CorsProxyResource.java#l23
> >
> >
> >
> > The path of the web service "raw?url={url}" is set here:
> >
> > https://sourceforge.net/p/red-feed-aggregator/code/ci/master/tree/src/main/java/fr/gouesse/julien/jaxrs/CorsProxyResource.java#l38
> >
> >
> >
> > That's why I use this path to test this web service:
> >
> > http://80.13.94.99/feed/webresources/corsproxy/raw?url=https%3A%2F%2Fwww.lemonde.fr
> >
> >
> >
> > I still get an HTTP error 404 :(
>
> As I said, try @WebApplication("feed") and not "webresources";
> and @Path("/webresources/corsproxy"), not "corsproxy".
>
> --
> Simone Bordet
> ----
> http://cometd.org
> http://webtide.com
> Developer advice, training, services and support
> from the Jetty & CometD experts.
>_______________________________________________
jetty-users mailing list
[email protected]
To unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/jetty-users