i had develeped XML file using DOM..i need to do DML operations for that i used jsp page....that means i had taken modify.jsp..in it if i enter 'packName' in textfield...if it is present means it should go to other page otherwise it should throw an alert 'Pack Name doesn't exist'....can anyone help me out...waiting for the reply..here is my code...
the problem with the code is if 'Pack Name exists' it is showing 'Unable to retireve'...even if i enter the wrong 'PackName' it is not showing error....im getting where the code is wrong...
Have you verified that (a) the values you think are being sent to the server are being sent, (b) you're getting back the message you expect, and (c) you're always treating packName the same (i.e. trimming etc.)?
Joined: Mar 30, 2010
hi good morning,
i checked the 'var url = "/proj/gprs/login.xml"; ' is not taking....and i am getting error as
if you are seaching for paricularly for the data in XML. its better to go for SAX parser.
why because its event based searching would be faster and it searches for the particular element is present or not in the XML.
mahammad gouse shaik
subject: how to check the entered value present in XML file or not