How to handle post requests?

Simon Besenbäck simon.besenbaeck at gmail.com
Thu Oct 27 11:13:15 UTC 2022


Hi!

I am using Apache Tomcat 10.0.23 and nashorn 15.4 in an eclipse ide in
order to develop JSP's.
I want to send data (user input in a form) via the POST method to another
JSP.
However I do not know how I can get the sent data. In Java I guess I would
be using request.getParameter().
Is there a similar way to get the input using Nashorn?
I tried to play around with fetch() but I didn`t came to a solution.

Best Regards
Simon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/nashorn-dev/attachments/20221027/8e646e96/attachment.htm>


More information about the nashorn-dev mailing list