RE: How to read an XML request from struts

2009-09-20 Thread Indika Maligaspe
I would also like to know what Martin has queried, if there is a way, then it will be great. indi -Original Message- From: user-return-202448-indika=rezgateway@struts.apache.org [mailto:user-return-202448-indika=rezgateway@struts.apache.org] On Behalf Of Martin Gainty Sent: Sunda

Re: Hello Help please with Struts2

2009-09-20 Thread Dave Newton
O_o Martin Gainty wrote: the struts-tags URL <%@ taglib uri="/struts-tags" prefix="s" %> lookups the uri in *.tld (in this case /WEB-INF/classes/META-INF/struts-tags.tld) http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd";> 2.2.3 1.2 s /struts-tags head or

ActionSupport vs ValidationAwareSupport

2009-09-20 Thread Frans Thamura
hi all can u share when will we use ActionSupport vs ValidateionAwareSupport F - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Maven Repo for Struts2 2.1.x

2009-09-20 Thread Frans Thamura
hi all just a small stupid question can i know what is maven repo for testing struts2.1 i got that the struts2 plugin (maven) is not in the default maven repo i want to test the rest demo thx -- Frans Thamura Meruvian. Experiential Tempation of Java and Enterprise OpenSource Meruvian bukan

RE: How to read an XML request from struts

2009-09-20 Thread Martin Gainty
Tommy/Wes is there any way to autodetect which converter to use for jibx? public static final String contentTypeXML = "text/xml; charset=UTF-8; type=jibx";thanks, Martin Gainty __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialit

Re: How to read an XML request from struts

2009-09-20 Thread Wes Wannemacher
A good struts-y way to do it would be to create a converter that can convert the xml to an instance of your business object, maybe using xstream or jixb. Then set a field on your action of the said business type an configure the converter for that action. -Wes On 9/20/09, Tommy Pham wrote: > --

Re: How to read an XML request from struts

2009-09-20 Thread Tommy Pham
- Original Message > From: indikamaligaspe > To: user@struts.apache.org > Sent: Friday, September 18, 2009 10:53:48 AM > Subject: How to read an XML request from struts > > > Hi, > > I have situation where some users will be posting an XML message (using a > java client) and some HTML

Re: Iterator cannot populate param tag inside URL

2009-09-20 Thread Paweł Wielgus
Hi David, You are nesting tags, which is not possible/permitted. Try to do something like < s:param name="name" value="value"/> inside an iterator. Should work. Best greetings, Pawel Wielgus. 2009/9/20, David Rocks : > > Here is an interesting one, I have a collection of params I wish to inject

Iterator cannot populate param tag inside URL

2009-09-20 Thread David Rocks
Here is an interesting one, I have a collection of params I wish to inject into a URL dynamically. I have a simple name value pair class that are stored in the extraArgs list I can print out the extra tags on the page quite happily... , But when I go to try and slot them