Skip to Content
avatar image
Former Member

I created a WebModule project in NWDS but am unable to create a servlet

Hi all!

I am a newbie to NWDS. I created a webmodule project, I created a package "Mypack" in Navigator. I am trying to create a servlet by right clicking on packaga name->other->web->servlet->

here i have given Webproject name Myproject

Servlet name ReceiverServlet

but when i gave Mypack in package name am getting error like "No valid package"

Please correct me if am doing wrong!

Give me step by step procedure please

Thanks

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    May 17, 2006 at 10:07 AM

    1. Create a Web Module Project

    2. Right click on it. Select New --> Other > J2EE>Web --> Servlet

    3. On the next screen, select the project name as Web Project. Specify the servlet name and package name and both should get created.

    Do reward points for helpful answers.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Amol!

      Here when I right click on project am not getting other option....am getting File, Filter,HTML,JSP,Servlet,Java class and Package. I am not getting other option?

      Please help