javaeetutorial
  1. javaeetutorial
  2. JAVAEETUTORIAL-8

Need to add web.xml before you can add a context parameter

    Details

    • Issuezilla Id:
      8

      Description

      The instructions for adding a context parameter need an additional step to
      create a web.xml file, as there isn't one by default now in Java EE 6.

      These steps should come after step 1 above:
      2. Highlight the project in the Project Pane and select File -> New File.
      3. Select the Web category, then Standard Deployment Descriptor under File
      Types, click Next, then Finish.

      This will create an empty web.xml file in web/WEB-INF/.

        Activity

        Hide
        Kim Haase added a comment -

        I was inclined just to put in a statement that the steps apply generically and
        not specifically, but maybe we also need a separate task on creating a web.xml
        file to which the following tasks would point:

        To Add a Context Parameter Using NetBeans IDE
        To Add an Initialization Parameter Using NetBeans IDE
        To Set Up Error Mapping Using NetBeans IDE

        I'll check something in to the tutorial workspace and you can see what you think.

        Show
        Kim Haase added a comment - I was inclined just to put in a statement that the steps apply generically and not specifically, but maybe we also need a separate task on creating a web.xml file to which the following tasks would point: To Add a Context Parameter Using NetBeans IDE To Add an Initialization Parameter Using NetBeans IDE To Set Up Error Mapping Using NetBeans IDE I'll check something in to the tutorial workspace and you can see what you think.
        Hide
        Kim Haase added a comment -

        We will fix this in the next docarch update.

        Show
        Kim Haase added a comment - We will fix this in the next docarch update.
        Hide
        Ian Evans added a comment -
        Show
        Ian Evans added a comment - Fixed in current update: http://download.oracle.com/javaee/6/tutorial/doc/bnaeo.html#gjsfj

          People

          • Assignee:
            jendrock
            Reporter:
            Ian Evans
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: