Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

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:

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 which is "MyApplication" ... not a "package name".

Maybe I´m missing something.

Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!