No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Re:
is it possible to use try catch exception inside while loop? [code=java]while(username_ctr <= 5){ try{ user1 = str_div[username_ctr].indexOf("open_pm_tab",username_start); user2 = str_div[username_ctr].indexOf("')", user1); user3 = str_div[username_ctr].lastIndexOf(',', user2) + 3; str_username[username_ctr] = str_div[username_ctr].substring(user3, user2); //System.out.println(str_div[username_ctr].substring(user3, user2)); username_ctr++; }catch(Exception e){ slash1 = str_div[username_ctr].indexOf("</font", 0); slash2 = str_div[username_ctr].lastIndexOf('*', slash1); //System.out.println(slash1); //System.out.println(slash2); //System.out.println(str_div[username_ctr].substring(slash1, slash2)); //System.out.println(str_div[1].substring(slash2,slash1)); … |
|
Re:
Hi,Im makin a web based application.For users to access it they need to login. I m using java,jsp,html for this.I wish to know how can i prevent access to the pages of application without logging in i.e. if user types in URL of some page of application in the address … |