uploaded attachments

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

uploaded attachments

godiyals
How to get uploaded attachments into server side(in action method).
I have developed mu action method.
@PutMapping(path="/saveLoginForm", params = {"app", "form", "document",
"valid", "request"})
           public String saveLoginForm(
                            @RequestParam final String app,
                                    @RequestParam final String form,
                                    @RequestParam final String document,
                                    @RequestParam final String valid,
                                    @RequestParam final String request,
                                    final HttpServletResponse response,@RequestBody final String
xmlBody) throws IOException {
       
System.out.println("#########################saveLoginForm##############################################################################3");
       
System.out.println("============================app================================================="+app);
       
System.out.println("============================form================================================="+form);
       
System.out.println("============================document================================================="+document);
       
System.out.println("============================valid================================================="+valid);
       
       
System.out.println("============================xmlBody================================================="+xmlBody);
               
                //response.sendRedirect("google.com");
                return "Test_Sucess";


               
               
        }

--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/1588188469562-0.post%40n4.nabble.com.
Reply | Threaded
Open this post in threaded view
|

Re: uploaded attachments

Alessandro  Vernet
Administrator
I imagine that this message is is superseded by the one linked below, which
you posted just a few minutes later, so I will answer on that thread.

http://discuss.orbeon.com/uploaded-attachments-td4665172.html

‑Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/1588293995053-0.post%40n4.nabble.com.
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet