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 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 -~----------~----~----~----~------~----~------~--~---