Prathibha,

 

I think I had a similar problems at one point. Not sure if it was the exact 
same thing. But I removed the <welcome-file-list> elements from the web.xml. 
Also check the web.xml and make sure your servlets are defined only once and 
that only valid servlets are defined. Netbeans can automatically add tags to 
the web.xml.

 

Also check the configuration files against your original working hello2 project 
to see if you can spot an error.

Make sure you do a clean before you try to run.  (I don't build separately I 
just choose clean and then run.)

 

There is also info in various support forums on this. Some contain the same 
info as above; others recommend you clean, build and manually deploy. Actually 
someone stated they had to log into the admin console undeploy the module and 
then redeploy it from netbeans.

 

 

Hope this helps,

 

diane 


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

Reply via email to