Re: [S1] json and Action execute()

2008-01-23 Thread nuwan chandrasoma
in context: http://www.nabble.com/-S1--json-and-Action-execute%28%29-tp15028395p15028395.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[S1] json and Action execute()

2008-01-22 Thread auz
); request.setAttribute(, rslt.toString()); //this name is unknown, i dont know what to put here return null; what did i do wrong/ didnt do? tnx a lot -- View this message in context: http://www.nabble.com/-S1--json-and-Action-execute%28%29-tp15028395p15028395.html Sent from the Struts - User

Re: [S1] json and Action execute()

2008-01-22 Thread James Mitchell
, i dont know what to put here return null; what did i do wrong/ didnt do? tnx a lot -- View this message in context: http://www.nabble.com/-S1--json-and-Action-execute%28%29-tp15028395p15028395.html Sent from the Struts - User mailing list archive at Nabble.com

Re: [S1] json and Action execute()

2008-01-22 Thread Frank W. Zammetti
rslt = new JSONObject(); rslt.put (total, list.length()); rslt.put(list, list); request.setAttribute(, rslt.toString()); //this name is unknown, i dont know what to put here return null; what did i do wrong/ didnt do? tnx a lot -- View this message in context: http://www.nabble.com/-S1--json

Re: [struts] [S1] json and Action execute()

2008-01-22 Thread Dale Newfield
James Mitchell wrote: Take a look at this page: http://cwiki.apache.org/S2PLUGINS/json-plugin.html The OP specified struts1 in the subject. -Dale - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: [struts] [S1] json and Action execute()

2008-01-22 Thread James Mitchell
Doh! Sorry. On Jan 22, 2008 4:21 PM, Dale Newfield [EMAIL PROTECTED] wrote: James Mitchell wrote: Take a look at this page: http://cwiki.apache.org/S2PLUGINS/json-plugin.html The OP specified struts1 in the subject. -Dale