Commit 831166cd authored by adeshmukh's avatar adeshmukh

Issue raised by Nikita as per Niley sir instruction.


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@93652 ce508802-f39f-4f6c-b175-0d175dae99d5
parent eb01636b
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>webitm-sys</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
</buildSpec>
<natures>
</natures>
</projectDescription>
......@@ -229,9 +229,20 @@ public class SysGenPassword extends ValidatorEJB implements SysGenPasswordLocal
xmlStringComp = xmlStringComp + valueXmlString.toString() + xmlString1.substring(xmlString1.indexOf("</Detail1>"));
}
else
{
// Added by AMit D on 21 Sept.
if(xmlString1.indexOf("<pass_wd/>") != -1)
{
xmlStringComp =xmlString1.substring(0,xmlString1.indexOf("<pass_wd/>"));
xmlStringComp =xmlStringComp + xmlString1.substring(xmlString1.indexOf("<pass_wd/>")+10,xmlString1.indexOf("</Detail1>"));
}
else
{
xmlStringComp =xmlString1.substring(0,xmlString1.indexOf("<pass_wd>"));
xmlStringComp =xmlStringComp + xmlString1.substring(xmlString1.indexOf("</pass_wd>")+10,xmlString1.indexOf("</Detail1>"));
}
//xmlStringComp =xmlString1.substring(0,xmlString1.indexOf("<pass_wd/>"));
//xmlStringComp =xmlStringComp + xmlString1.substring(xmlString1.indexOf("<pass_wd/>")+10,xmlString1.indexOf("</Detail1>")); // Commented by AMit D on 21 Sept 13
xmlStringComp = xmlStringComp + valueXmlString.toString() + xmlString1.substring(xmlString1.indexOf("</Detail1>"));
}
//System.out.println("[SysGenPasswordEJB] xmlStringComp..................."+xmlStringComp);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment