I need a code which an check for a given userid in an array and if true, redirect the page.
string userid = “xyz”
string array = (“abc”, adb, “dgh” , “jdgh”, “kiy”)
if userid is present in array
pls help me with syntax for JSP