Re: Struts2 with AJAX

2007-09-08 Thread Nuwan Chandrasoma
Hi, In your action class you have to return null after you write the response for eg:- public String ajax() throws Exception { respone.getWriter().println("hello"); respone.getWriter().close(); return null; } and also i dont think you need to specify the full URL

Re: Struts2 with AJAX file upload??

2006-12-16 Thread Don Brown
well i had this tag in my struts-config.xml after all the acion mappings Do i need to override the fileupload interceptor in this case?? - Original Message - From: "Don Brown" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Saturday, December 16, 20

Re: Struts2 with AJAX file upload??

2006-12-15 Thread Nagraj Rao
L PROTECTED]> To: "Struts Users Mailing List" Sent: Saturday, December 16, 2006 12:22 AM Subject: Re: Struts2 with AJAX file upload?? What do you mean by trying to find controller tags in struts.xml? How do you have it implemented in Struts 1? Don On 12/15/06, Nagraj Rao <[EM

Re: Struts2 with AJAX file upload??

2006-12-15 Thread Don Brown
What do you mean by trying to find controller tags in struts.xml? How do you have it implemented in Struts 1? Don On 12/15/06, Nagraj Rao <[EMAIL PROTECTED]> wrote: Hi guys I want to implement AJAX file upload in Struts2. tried searching over on the net, but couldn't find much. I have an AJA