• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error in Oracle REST guide - Packaging the RESTful Web Service Application Using web.xml

abraham arellano tavara
Posts: 9
Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I think there are a couple of problems with one example in the Oracle guide for REST services:

The guide is here:
-> http://docs.oracle.com/cd/E24329_01/web.1211/e24983/configure.htm

1.- Error:

If you access to the link above in the example: "Example 3-2 Updating web.xml for Servlet 3.0 If Application Subclass is in Package" there is an error with the "servlet-name" from the "servlet" and "servlet-mapping" definition. As I understand they must be the same.

2.- Error:

In the same example I also don´t understand what means the "param-value" in the "init-param" section. I was expecting the subclass of javax.ws.rs.core.Application which is "MyApplication" ... not a "package name".

Maybe I´m missing something.

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic