to struts.
I prefer the first approach which is the easiest and does no harm.
- Rahul
From:
Arun Kumar Boppudi arunkumar.bopp...@gmail.com
To:
Struts Users Mailing List user@struts.apache.org
Date:
30-07-2010 09:49
Subject:
Re: Reading input stream (xml)
There is no form and I am
@struts.apache.org
Date:
30-07-2010 13:48
Subject:
Re: Reading input stream (xml)
Unfortunately, I have to use XML here. So, I cannot use the first
suggestion.
If I use request.getInputStream, subsequent request.getParameter calls
will
fail. Will it cause any problems in struts?
I would like
will take care of getting the
content, and also you don't have to worry about encoding the xml.
From:
Arun Kumar Boppudi arunkumar.bopp...@gmail.com
To:
Struts Users Mailing List user@struts.apache.org
Date:
30-07-2010 13:48
Subject:
Re: Reading input stream (xml)
Unfortunately, I
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
Request
...@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 expect multi-part.
-- AB
On Fri, Jul 30, 2010 at 2:38 PM, Rahul Mohan
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 POST request
body. In the action controller, I would like to parse the XML. How to do
it
in Struts 1.3
List user@struts.apache.org
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
getParameter
to populate data into the form beans before
Users Mailing List user@struts.apache.org
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
getParameter
to populate data
using firebug to see if it is being posted.
From:
Arun Kumar Boppudi arunkumar.bopp...@gmail.com
To:
Struts Users Mailing List user@struts.apache.org
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
arunkumar.bopp...@gmail.com
To:
Struts Users Mailing List user@struts.apache.org
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
user@struts.apache.org
Date:
30-07-2010 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
If we send XML content in the POST/PUT request to Struts action controller,
how to read this content in the Action class?
-- AB
Doesn't this link (http://struts.apache.org/2.0.14/docs/file-upload.html)
help you?
From:
Arun Kumar Boppudi arunkumar.bopp...@gmail.com
To:
Struts Users Mailing List user@struts.apache.org
Date:
28-07-2010 22:09
Subject:
Reading input stream (xml)
If we send XML content in the POST/PUT
AM, Rahul Mohan rahul.mo...@tcs.com wrote:
Doesn't this link (http://struts.apache.org/2.0.14/docs/file-upload.html)
help you?
From:
Arun Kumar Boppudi arunkumar.bopp...@gmail.com
To:
Struts Users Mailing List user@struts.apache.org
Date:
28-07-2010 22:09
Subject:
Reading input stream
for this
requirement.
- Rahul Mohan
From:
Arun Kumar Boppudi arunkumar.bopp...@gmail.com
To:
Struts Users Mailing List user@struts.apache.org
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
15 matches
Mail list logo