i am running jsp page in netbeans 6.0 it says that access not authorised set username and password in servce manager in netbeans 6.0 plz tell me how to set password and username from netbeans 6.0

On the top left corer of your IDE, just below the toolbar icons, there would be a 'Services' tab. Focus on that tab, go to 'Servers' and expand that category. If you see Tomcat listed there, just right click on it and you will get an option to set the username and password.

A probably better way would be add a new server (if there isn't one) and follow the instructions given.