- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 2
- Posts with Downvotes
- 2
- Downvoting Members
- 1
5 Posted Topics
The code you are trying is wrong ... Try checking [B]file exists[/B] if not ask the user to type the file name again .. it is very simple .. why you need to create an exception for this ?
First you check for the User name and password submitted from the login page , after validating the values submitted by the user , set a flag if the user is valid (successful login) [COLOR="Magenta"]Like session.setAttribute("flag","true");[/COLOR] then put a condition down to forward the page . your logout button should …
[QUOTE=iamthwee;239723]Try using the [INLINECODE]try ... catch[/INLINECODE] clause. Or write your code so that, it loops back if the users give you an input that is incorrect.[/QUOTE] is it a standalone application or a web application ? One more thing .in which manner you wanna show the error message ?
Can one give a exat answer for this question i have a java program with hundred packages imported but iam not using any one of them in program .i have only a SOP which prints [B]hello world![/B] .the qustion is will this program is thick with all the imported 100 …
The End.
skoiloth