Programming Tutorials

Comment on Tutorial - The Advantages of JSP By aathishankaran



Comment Added by : gendull

Comment Added at : 2007-02-25 21:03:20

Comment on Tutorial : The Advantages of JSP By aathishankaran
help, i want to migrate my system (asp to jsp)
i have source code encrypt.asp ; how i write in jsp code ???
thanks

my encrypt.asp
--------------------------------------
function Encrypt(Plain)
retVal=""
for i=1 to len(Plain)
retVal=retVal+chr(asc(mid(Plain,i,1))+99)
next
encrypt=retVal
end function

function Decrypt(Encrypted)
retVal=""
for i=1 to len(Encrypted)
retVal=retVal+chr(asc(mid(Encrypted,i,1))-99)
next
Decrypt=retVal
end function


View Tutorial