Re: XML data in request parameter gotchas?

2009-07-18 Thread Musachy Barroso
> > If a client is sending us XML via HTTP POST, are there any gotcha's with > struts2? > I cant think of anything. > Also, what is a great way to send test XML data using an HTTP POST; just > populate a form field and submit it? > If you are submitting from a web browser, yes. musachy -- "He

RE: Struts w/Ajax with Struts again

2009-07-18 Thread Martin Gainty
better off setting it in the action then access it thru ognl e.g. #session.setSeeMe http://struts.apache.org/2.0.14/docs/ognl-basics.html if you want to see a bean described as package package; public class bean { private String BeanParamName; public void setBeanParamName(String Bea

RE: Struts w/Ajax with Struts again

2009-07-18 Thread cpanon
Hi Martin Thank you.  So I may be misunderstanding something.  If I return to the Ajax call with mapping.getInputForward() for the defined input attribute of that action processing the Ajax call, should I see changes in the session objects displayed?  Because before I return I set an element in

RE: Struts w/Ajax with Struts again

2009-07-18 Thread Martin Gainty
ajax's responsibility is to return either json or html formatted text to innerHtml attribute of div tag identified in ajax call other activity such as refreshing session attributes would need to take place in the action class..upon return from action all tags of the jsp would re-display the

Exception though the result looks as expected

2009-07-18 Thread mathias-ewald
Hi, this is the JSP script that causes the Exception: - <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> http://www.w3.org/TR/html4/loose.dtd";> <%@ taglib prefix="s" uri="/struts-tags" %> <%@ page import="com.opensymphony.xwo

XML data in request parameter gotchas?

2009-07-18 Thread Michael Finney
Hi, If a client is sending us XML via HTTP POST, are there any gotcha's with struts2? Also, what is a great way to send test XML data using an HTTP POST; just populate a form field and submit it? Thanks. - To unsubscribe, e-m