java how to receive submit data.

Stimulsoft Forms.WEB discussion
Post Reply
suntianyong
Posts: 3
Joined: Sun Oct 22, 2023 3:53 am

java how to receive submit data.

Post by suntianyong »

Our backend program use java develop, how to receive forms submit data?
Vadim
Posts: 360
Joined: Tue Apr 23, 2013 11:23 am

Re: java how to receive submit data.

Post by Vadim »

Hello.

We will provide Java sample soon.
Vadim
Posts: 360
Joined: Tue Apr 23, 2013 11:23 am

Re: java how to receive submit data.

Post by Vadim »

Hello.
Here is examples of parsing form submission results using a Java server.
https://github.com/stimulsoft/Samples-F ... B-for-Java
Noramila
Posts: 6
Joined: Wed Dec 20, 2023 6:39 am
Location: India

Re: java how to receive submit data.

Post 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");
    
    
}
Max Shamanov
Posts: 723
Joined: Tue Sep 07, 2021 10:11 am

Re: java how to receive submit data.

Post by Max Shamanov »

Hello,

Thank you for provided information.
Noramila
Posts: 6
Joined: Wed Dec 20, 2023 6:39 am
Location: India

Re: java how to receive submit data.

Post by Noramila »

You're welcome.
Max Shamanov
Posts: 723
Joined: Tue Sep 07, 2021 10:11 am

Re: java how to receive submit data.

Post by Max Shamanov »

Hello,

You are welcome!
Post Reply