The Problem Is That When i Don't Put an Action like :
  <form name="contact"  action ="" > , the form doesn't want to add
the data

But Whene i Put something like :
 <html:form name="contact"  action ="/NewLocation" > It Works , But
The Field That use struts r not those that i recuperate from
var loginClient = $("input#loginClient").val();
var passwordClientError = $("input#passwordClient").val();

struts uses the input field directly from the jspFile .

--------------------------------------------------------------
And When i don't put anything in action of the form :: like this <form
name="contact"  action ="" >
and execute the  :
 $.ajax({
    type: "POST",
    url: "/AddNewClient",
    data: dataString,
    success: function() {
       $('#Great').html('Great It\'s Done');
    }
  });

gives me an error which is :: the action u r trying to perform is not
defined , (something like that)
thx Steven , which this will make u understand a bit more =)


On Apr 27, 1:26 am, Steven Yang <kenshin...@gmail.com> wrote:
> are you getting any error?or what are u getting at the server side?
> can you explain a bit more?

Reply via email to