Re: Reading input stream (xml)

2010-07-30 Thread Arun Kumar Boppudi
xpect multi-part. > > -- AB > > > > > > On Fri, Jul 30, 2010 at 2:38 PM, Rahul Mohan > wrote: > > > > > A variant of the first: change your encoding to multi-part and send > > > 'data=your_xml_content'. Then struts will take care of

Re: Reading input stream (xml)

2010-07-30 Thread Arun Kumar Boppudi
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) > > > &

Re: Reading input stream (xml)

2010-07-30 Thread Arun Kumar Boppudi
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:

Re: Reading input stream (xml)

2010-07-29 Thread Arun Kumar Boppudi
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

Re: Reading input stream (xml)

2010-07-29 Thread Arun Kumar Boppudi
run, > > Are you doing a POST with multi-part encoding? If so, a solution similar > to file upload would work for you. If not, then the String in action-form > approach that I posted earlier should work. > > - Rahul Mohan > > > > From: > Arun Kumar Boppudi >

Re: Reading input stream (xml)

2010-07-29 Thread Arun Kumar Boppudi
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

Re: Reading input stream (xml)

2010-07-28 Thread Arun Kumar Boppudi
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

Reading input stream (xml)

2010-07-28 Thread Arun Kumar Boppudi
If we send XML content in the POST/PUT request to Struts action controller, how to read this content in the Action class? -- AB

Re: REST URLs

2010-07-26 Thread Arun Kumar Boppudi
example and it all seems to work. > > Ping me if you can't get the code and I can send it to you (it's > licensed under the Apache license so it's OK to share), > > Kevin Jones > > On 26 July 2010 09:00, Arun Kumar Boppudi > wrote: > > Is there anyway we

REST URLs

2010-07-26 Thread Arun Kumar Boppudi
Is there anyway we can use /client/{clientId}/business/{businessId} kind of URLs in Struts 2.0? -- AB

select tag giving problem in jetty

2007-04-02 Thread arun kumar
Hi , I'm getting error in the select tag of Struts2, while running application in jetty server... At first time its giving the error and if I restart the server then at time its working fine(Its work fine in Tomcat at first instance itself) Error Stack trace for your reference: list size f

Branching inside validator framework? [Needs Help........!]

2006-07-13 Thread arun kumar
Hi all, I am using struts1.1 and i am using validator framework.I have a problem regarding branching of validation and optional validation of some fields. The situation is like... I have a search form which contains two tabs search by number and search by name .I am using a single action form