Hi All, Thanks for the responses.I was able to run the project successfully.
So Lessons learnt in this exercise : *Web.xml* <servlet-mapping> <servlet-name>Greeting Servlet</servlet-name> <url-pattern>/greetings2</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>Response Servlet</servlet-name> <url-pattern>/response2</url-pattern> </servlet-mapping> *Request dispatcher URL *in the response servlet java file RequestDispatcher dispatcher = getServletContext() .getRequestDispatcher("/response2"); *Project->Properties -> Run* *Context Path*: /MyHello2 *Relative URL* : /greetings2 If there are any discrepencies in any of the above, the project cannot be deployed. I checked all these, enter the correct values. Finally clean and build, Run, it was successful. Thanks, Prathibha > > ------------------------------ > Date: Fri, 21 Aug 2009 03:28:39 +0800 > Subject: [java ee programming] Servlet Basics Lab Exercise > From: prathibha...@gmail.com > To: java-ee-j2ee-programming-with-passion@googlegroups.com > > > Hi All, > > In Servlet_Basics homework, I modified the existing code of Hello2 project > and it was successful. > > I tried to create a new project MyHello2 and copied the 2 servlet > files(GreetingServlet and ResponseServlet) and modified the new web.xml. > > Build is successful. But When I run the project I get the following error : > > *D:\netbeans_projects\J2EE\MyHello2\nbproject\build-impl.xml:545: The > module has not been deployed.* > > I have set the context path as /MyHello2 and URL as /greetings2 . Is there > any other change to be done? > > Please can anybody help me on this. > > Thank you > > Regards, > Prathibha H.M. > > > > > > ------------------------------ > With Windows Live, you can organize, edit, and share your photos. Click > here. <http://www.windowslive.com/Desktop/PhotoGallery> > --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---