How to access data object in request

How to access data object in request

ManiHInManiHIn Posts: 17Questions: 4Answers: 0

Hi,
I finally managed to initialize my datatable(EDITOR). When I try to create a new entry I can also access the action, but I don't know how to access the data object that should also be sent as a request parameter just like the action???
I am writing Java Servlets and I try to access the data object like this:
request.getParameter("data"); but this returns null.
Maybe someone of you guys already had this problem i would really appreciate your response.
Stay tuned!!!

Answers

  • allanallan Posts: 63,327Questions: 1Answers: 10,436 Site admin

    You mean you are having a problem with getting the submitted data in Java? I'm afraid I can't help there, but it would be worth noting that Editor defaults to a POST. I'm guessing that request.getParameter only uses GET parameters (but I don't know Java!).

    Allan

  • ManiHInManiHIn Posts: 17Questions: 4Answers: 0

    Thx for your reply, turns out that java cant parse encoded url Parameters... You need to manually parse the body of the POST request

This discussion has been closed.