Well actually tobiu gave you the answer to look at this
You see that the default action for reading is the GET method. Your servlet wants a post.
ohhh!!! Anyways,thank you very much to both for the help.
I need to go through the documentation more thoroughly it seems.
Keep up the good work.
Wish you good luck
Thanks and Regards
you are welcome. take a look at my last reply, it already pointed to the right location inside the docs.
In need of help again.
Well I wanted to write a authentication mechanism using ext-js and xml schema.
That is I will have a few users in an xml schema,with username and password
What I want to implement is:Code:<?xml version="1.0" encoding="UTF-8"?> <message success="true"> <contact> <username>Admin</username> <password>Some encrypted password</password> . .(other fields) </contact> </message>
1) Have a form to add a user,which on adding saves the username and password(encrypted) to the xml files.
Encryption can be using standard base64 encoding using java.
2) use the same username password to authenticate the user.i.e if the username password matches he is allowed to enter the application else not.How to check if the username posted from form matches the one in the xml file.
Problem I am facing:
I am able to read from xml files(referred to sample examples) but how to save them to the xml? Is it possible
Can you point to some examples??
Any help would be appreciated.
Open a new thread plz for a new question. Else it would be difficult to find answers for people who are looking for it on the forum.