Page 1 of 1

java how to receive submit data.

Posted: Sun Oct 22, 2023 3:57 am
by suntianyong
Our backend program use java develop, how to receive forms submit data?

Re: java how to receive submit data.

Posted: Mon Oct 23, 2023 9:45 am
by Vadim
Hello.

We will provide Java sample soon.

Re: java how to receive submit data.

Posted: Fri Nov 03, 2023 7:55 am
by Vadim
Hello.
Here is examples of parsing form submission results using a Java server.
https://github.com/stimulsoft/Samples-F ... B-for-Java

Re: java how to receive submit data.

Posted: Tue Jan 02, 2024 6:41 am
by Noramila
suntianyong wrote: Sun Oct 22, 2023 3:57 am Our backend program use java develop, how to receive forms submit data?
Use the HttpServletRequest object's getParameter method to retrieve form data sent via POST requests.

Ex.

Code: Select all

protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
    String formData = request.getParameter("formField");
    
    
}

Re: java how to receive submit data.

Posted: Wed Jan 03, 2024 5:54 am
by Max Shamanov
Hello,

Thank you for provided information.

Re: java how to receive submit data.

Posted: Fri Jan 12, 2024 6:37 am
by Noramila
You're welcome.

Re: java how to receive submit data.

Posted: Fri Jan 12, 2024 6:42 am
by Max Shamanov
Hello,

You are welcome!