gt; > From: arunkumar.bopp...@gmail.com
> > Date: Fri, 30 Jul 2010 15:31:15 +0530
> > Subject: Re: Reading input stream (xml)
> > To: user@struts.apache.org
> >
> > Request to this controller comes from other applications, only in XML
> > format. So, I cannot e
your action could implement ServletRequestAware then it has access to the full
request including posted content.
adam
> From: arunkumar.bopp...@gmail.com
> Date: Fri, 30 Jul 2010 15:31:15 +0530
> Subject: Re: Reading input stream (xml)
> To: user@struts.apache.org
>
&g
ill take care of getting the
> content, and also you don't have to worry about encoding the xml.
>
>
>
> From:
> Arun Kumar Boppudi
> To:
> Struts Users Mailing List
> Date:
> 30-07-2010 13:48
> Subject:
> Re: Reading input stream (xml)
>
>
>
&
ront of the struts controller to get
> the request data and re-pass it as a request parameter to struts.
>
> I prefer the first approach which is the easiest and does no harm.
>
> - Rahul
>
>
>
> From:
> Arun Kumar Boppudi
> To:
> Struts Users Mailing List
> D
uest data and re-pass it as a request parameter to struts.
>
> I prefer the first approach which is the easiest and does no harm.
>
> - Rahul
>
>
>
> From:
> Arun Kumar Boppudi
> To:
> Struts Users Mailing List
> Date:
> 30-07-2010 09:49
> Subject:
> Re:
09:49
Subject:
Re: Reading input stream (xml)
There is no form and I am sending XML content to the action controller
using
Fiddler.
And data sent is not in the format of query string. (not in the format:
paramname=*xml_content*). So, struts may not be mapping it to a property
in
the form bean. In
g for any
> exceptions in setting the action form. Also try inspecting your request
> using firebug to see if it is being posted.
>
>
>
> From:
> Arun Kumar Boppudi
> To:
> Struts Users Mailing List
> Date:
> 29-07-2010 14:58
> Subject:
> Re: Reading input stre
using firebug to see if it is being posted.
From:
Arun Kumar Boppudi
To:
Struts Users Mailing List
Date:
29-07-2010 14:58
Subject:
Re: Reading input stream (xml)
I think we should use the query string format to use the string in action
form class format. But I am not sending it in the query
To:
> Struts Users Mailing List
> Date:
> 29-07-2010 13:34
> Subject:
> Re: Reading input stream (xml)
>
>
>
> Rahul,
>
> I am not sending XML content as part of the query string, only XML content
> will be sent in the request body. As struts framework uses the
>
:34
Subject:
Re: Reading input stream (xml)
Rahul,
I am not sending XML content as part of the query string, only XML content
will be sent in the request body. As struts framework uses the
getParameter
to populate data into the form beans before calling the execute method, we
cannot use the
the action
> class, then you will be able to get the string and parse it using any
> available xml parser. I don't think Struts provides any shortcut for this
> requirement.
>
> - Rahul Mohan
>
>
>
> From:
> Arun Kumar Boppudi
> To:
> Struts Users Mailing L
t for this
requirement.
- Rahul Mohan
From:
Arun Kumar Boppudi
To:
Struts Users Mailing List
Date:
29-07-2010 10:32
Subject:
Re: Reading input stream (xml)
Actually, I am not uploading a file. I am creating XML from the data
entered
into the form and sending it to the action controller in the
Actually, I am not uploading a file. I am creating XML from the data entered
into the form and sending it to the action controller in the POST request
body. In the action controller, I would like to parse the XML. How to do it
in Struts 1.3?
-- Arun Kumar Boppudi
On Thu, Jul 29, 2010 at 10:24 AM
Doesn't this link (http://struts.apache.org/2.0.14/docs/file-upload.html)
help you?
From:
Arun Kumar Boppudi
To:
Struts Users Mailing List
Date:
28-07-2010 22:09
Subject:
Reading input stream (xml)
If we send XML content in the POST/PUT request to Struts action
controller,
how to read th
14 matches
Mail list logo