Did you install Glassfish separately or the one which comes with Netbeans? the default user name is : admin and default password is : adminadmin
Try to detach(remove) it and then add it again. to do this: Go to Window->Services Here you will see glassfish under servers. Right click to get relevant option. Pravin --- On Wed, 11/2/09, FARRUKH KHAN <farrukh...@hotmail.com> wrote: From: FARRUKH KHAN <farrukh...@hotmail.com> Subject: [java ee programming] Re: SERVLET and JP To: pks_chen...@yahoo.com, arbi.na...@gmail.com, artashes.hovasap...@gmail.com Cc: java-ee-j2ee-programming-with-passion@googlegroups.com Date: Wednesday, 11 February, 2009, 12:48 AM #yiv1114979791 .hmmessage P { margin:0px;padding:0px;} #yiv1114979791 { font-size:10pt;font-family:Verdana;} Hi When i tried to run myfirstwebapp, i got the following error Authentication of GlassFish V2 failed with message invalid username for password what would i do thanks Farrukh Date: Wed, 11 Feb 2009 10:31:47 +0530 From: pks_chen...@yahoo.com Subject: [java ee programming] Re: SERVLET and JP To: arbi.na...@gmail.com; artashes.hovasap...@gmail.com CC: java-ee-j2ee-programming-with-passion@googlegroups.com Adding to what Artashes already told. This translation, compilation and instantiation of the servlet is done by the container itself. -Pravin --- On Tue, 10/2/09, Artashes Hovasapyan <artashes.hovasap...@gmail.com> wrote: From: Artashes Hovasapyan <artashes.hovasap...@gmail.com> Subject: [java ee programming] Re: SERVLET and JP To: arbi.na...@gmail.com Cc: java-ee-j2ee-programming-with-passion@googlegroups.com Date: Tuesday, 10 February, 2009, 4:46 PM When your JSP page is about to serve the request it is first translated into Servlet code, then compiled and finally run. So you'll always have one Servlet per JSP page. -- Regards, Artashes Hovasapyan On Tue, Feb 10, 2009 at 8:04 PM, arbi nabil <arbi.na...@gmail.com> wrote: Hi all Hope u're doing well... I just want to know if in a J2EE application, is it necessary to create a jsp for each servlet on the web server... ? i was reading "The Java EETutorial For Sun Java System Application Server 9..1" and i found that for each servlet they created a jsp file... Thanks any way... Regards Nabil Get an email ID as yourn...@ymail.com or yourn...@rocketmail.com. Click here.</a Get rid of Add-Ons in your email ID get yourn...@ymail.com. Sign up now! http://in.promos.yahoo.com/address --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en -~----------~----~----~----~------~----~------~--~---