facebook

creating servlet and deploying it as a war

  1. MyEclipse Archived
  2.  > 
  3. Web Development (HTML, CSS, etc.)
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #286945 Reply

    ntupuri
    Member

    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 6.5.0 GA
    Build id: 6.5.0-GA-20080609

    I am pretty new user to eclispe.

    I am trying to create a webproject which includes a servlet and plan to enclose it as a war.
    So,I clicked on File and created a new webproject.After that I tried to create a servlet and it asked me to enter “enclosing type”.I put war there and it showed me an error saying that “Enclosing type does not exist”.also I do not see anything in the browse section of that Type.Because of this error not able to finish creating the servelt.
    I could not find a related documentation to do this.
    There is one document to show using xdoclet….but didn’t help much.
    Appreciate the response.

    #286967 Reply

    Loyal Water
    Member

    Leave the Enclosing type unchecked and don’t enter any values in that test box. After you have added you servlet to the web project, the web project would be deployed as a war along with the servlet.

    Please refer to the web project documentation on how to deploy a web project.
    http://www.myeclipseide.com/documentation/quickstarts/webprojects/

    Let me know if you are still unclear with this bit.

    #286971 Reply

    ntupuri
    Member

    If I don’t enter anything it is not showing me the next/finish.I cannot move forward.

    #286978 Reply

    Loyal Water
    Member

    When you use the servlet wizard, you have to enter the source folder and the Name of the servlet and that should enable the Next Button.

    Can you take a screnshot of the Servlet Wizard with the values keyed in and post it here for me.

    p.s. You can hit the post reply button at the bottom of the page to upload the screenshot.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: creating servlet and deploying it as a war

You must be logged in to post in the forum log in