[nbusers] Add Content-Length Headers to RESTful Service

  • From: "robstokes" < >
  • To:
  • Subject: [nbusers] Add Content-Length Headers to RESTful Service
  • Date: Fri, 02 Nov 2012 12:04:57 -0400

I've created a simple RESTful webservice by following the tutorials.
It connects to a MySQL database and all works well.

However, I've been trying to find a way of adding a Content-Length header to 
the file output, but haven't been able to find any help at all.

The biggest problem is that i'm completely new to Java and Netbeans, and am 
simply using it to provide a REST service to an iOS app i'm developing. So 
I'm really hoping for a simple solution to modify the files that are 
generated by netbeans when you add a new 'RESTful Web Service from Database'.

Has anyone got any ideas or could point me in the right direction?


[nbusers] Add Content-Length Headers to RESTful Service

robstokes 11/02/2012

Project Features

About this Project

www was started in November 2009, is owned by jpirek, and has 25 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20150226.965aeb8). © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
Please Confirm