File Upload to image for java controller

File Upload to image for java controller

simonsshsimonssh Posts: 1Questions: 0Answers: 0

Hi,
If I want use java controller, what can I do?

public IHttpActionResult Staff()
{
var request = HttpContext.Current.Request;
var settings = Properties.Settings.Default;

using (var db = new Database(settings.DbType, settings.DbConnection))
{
    var response = new Editor(db, "staff")
        .Model<StaffModel>()
        .Process(request)
        .Data();

    return Json(response);
}

}

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin

    The code you posted is C#. I'm afraid we don't currently provide or support libraries for Java on the server-side with Editor.

    Allan

This discussion has been closed.