<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Recover parameters sent by POST in webscript java in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/recover-parameters-sent-by-post-in-webscript-java/m-p/213015#M166145</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to recover the parameters that sent by method POST in a webscript java type DeclarativeWebScript.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using the Share proxy servlet: &lt;/SPAN&gt;&lt;A href="http://localhost:8080/share/proxy/mywebscript/" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/share/proxy/mywebscript/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the file of context for the identifying one of the bean of the webscript I have put him: id=" … mywebscript.post "&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And the name of the description xml of the webscript: mywebscript.post.desc.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Inside the controller java of the webscript I am doing…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;HttpServletRequest reqHttp = ((WebScriptServletRequest)req) .getHttpServletRequest();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;reqHttp.getParameter("param1");&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But this parameter does not exist.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it possible that the webscripts java does not support the recovery of parameters for POST? There is some problem if I use the Share proxy servlet for the method POST?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Someone can help me?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Jul 2009 10:40:12 GMT</pubDate>
    <dc:creator>joseacc</dc:creator>
    <dc:date>2009-07-02T10:40:12Z</dc:date>
    <item>
      <title>Recover parameters sent by POST in webscript java</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/recover-parameters-sent-by-post-in-webscript-java/m-p/213015#M166145</link>
      <description>Hi,I am trying to recover the parameters that sent by method POST in a webscript java type DeclarativeWebScript.I am using the Share proxy servlet: http://localhost:8080/share/proxy/mywebscript/In the file of context for the identifying one of the bean of the webscript I have put him: id=" … mywebsc</description>
      <pubDate>Thu, 02 Jul 2009 10:40:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/recover-parameters-sent-by-post-in-webscript-java/m-p/213015#M166145</guid>
      <dc:creator>joseacc</dc:creator>
      <dc:date>2009-07-02T10:40:12Z</dc:date>
    </item>
    <item>
      <title>Re: Recover parameters sent by POST in webscript java</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/recover-parameters-sent-by-post-in-webscript-java/m-p/213016#M166146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; What about this? &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;public void execute(WebScriptRequest req, WebScriptResponse res)throws IOException {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; String param1 = (String) req.getParameter("param1");&lt;BR /&gt; . . .&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2009 13:55:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/recover-parameters-sent-by-post-in-webscript-java/m-p/213016#M166146</guid>
      <dc:creator>shmoula</dc:creator>
      <dc:date>2009-07-16T13:55:08Z</dc:date>
    </item>
  </channel>
</rss>

