Thanks, but this is the simplest thing that worked for me (thanks to Thiago):

Test page for submitting XML contains only form with textarea (with no Java
code on the back):

<form  id="xmlForm" method="post" action="http://mypath/testXml";>
        <textarea name="xmlarea" />
        <input type="submit" value="submit" />
</form>

Then on other page I have this (in the Java code of the page, the tml is
empty HTML page):

        @Inject
        private Request request;

        @Property
        private String xmlarea;

        public TextStreamResponse onActivate() {

                xmlarea = (String) request.getParameter("xmlarea");

                 //Just returns the same XML
                return new TextStreamResponse("text/xml", xmlarea);

                }

        }
-- 
View this message in context: 
http://tapestry.1045711.n5.nabble.com/XML-requests-tp3265672p3268862.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to