Hi,
I have addPerson() function.
I create url but I get error:
com.sun.jersey.api.client.UniformInterfaceException: POST http://localhost:9090/uia/useradmin/users/ returned a response status of 404
function addPerson() {
var personjson = '{\"personRef\":\"0000\", \"user\":\"'+e_user_field.getValue()+
'\", \"firstName\":\"'+e_firstName_field.getValue()+'\", \"lastName\":\"'+e_lastName_field.getValue()+
'\", \"email\":\"'+e_email_field.getValue()+'\", \"phone\":\"'+e_phone_field.getValue()+'\"}';
Ext.Ajax.defaultHeaders = { 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8' };
Ext.Ajax.request({
url: myuserAdd+'&jsond='+personjson,
method: 'GET',
.........
Can sombody advise what is wrong.
Thank you
Regards,
Rafal
--
You received this message because you are subscribed to the Google Groups "JPassion.com: Web Programming Basics" group.
To unsubscribe from this group, send email to [email protected].
Visit this group at http://groups.google.com/group/jpassion_web?hl=en-US.
