How do i rectify it ?

server console is spitting this error message....
info: CORE3282: stdout: org.xml.sax.SAXParseException: Element type "taglib" is
not declared.
i have this web.xml in my web application.
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
  PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
  "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
<web-app>
<taglib>
    <taglib-uri>http://ajaxtags.org/tags/ajax</taglib-uri>
    <taglib-location>/WEB-INF/ajaxtags.tld</taglib-location>
  </taglib>
</web-app>whats wrong! why Sun One server spitting this error message ? how do i rectify it ?
thanks

Reverse the order of the<welcome-file-list> tag and
the <taglib> tag.
OK...here is the modified web.xml.
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
  PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
  "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
<web-app>
  <servlet>
    <servlet-name>formupdate</servlet-name>
    <servlet-class>
       org.ajaxtags.demo.servlet.FormUpdateServlet
     </servlet-class>
  </servlet>
  <servlet-mapping>
    <servlet-name>formupdate</servlet-name>
    <url-pattern>/formupdate.view</url-pattern>
  </servlet-mapping>
<taglib>
    <taglib-uri>http://ajaxtags.org/tags/ajax</taglib-uri>
    <taglib-location>/WEB-INF/ajaxtags.tld</taglib-location>
  </taglib>
<welcome-file-list>
       <welcome-file>index.jsp</welcome-file>
</welcome-file-list>
</web-app>RESTART SERVER
server console is spitting these messages.....
info: WEB0100: Loading web module in virtual server [https-ajaxserver] at [/]
info: CORE3282: stdout: PARSE error at line 31 column -1
failure: ContextConfig[] WEB3524: Parse error in application web.xml
org.xml.sax.SAXParseException: Element "web-app" does not allow "welcome-file-list" here.
        at org.apache.crimson.parser.Parser2.error(Parser2.java:3210)
        at org.apache.crimson.parser.ValidatingParser$ChildrenValidator.consume
ValidatingParser.java:349)
        at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1362)
        at org.apache.crimson.parser.Parser2.content(Parser2.java:1824)
        at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1552)
        at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:534)
        at org.apache.crimson.parser.Parser2.parse(Parser2.java:318)
        at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442
        at org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:223
        at javax.xml.parsers.SAXParser.parse(SAXParser.java:314)
        at javax.xml.parsers.SAXParser.parse(SAXParser.java:89)
        at org.apache.catalina.util.xml.XmlMapper.readXml(XmlMapper.java:275)
        at org.apache.catalina.startup.ContextConfig.applicationConfig(ContextC
nfig.java:311)
By the way unless you have a specific requirement,
you should consider migrating your web application to
servlet 2.4 standards (j2ee 1.4). The one you are
using is servlet 2.2 (j2ee 1.2).
For this your container should support the servlet
2.4 specs. Tomcat 5 and above does.
do you want me to change the DOCTYPE in the web.xml like below....
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
"http://java.sun.com/j2ee/dtds/web-app_2_4.dtd">
i guess, my Sun One Web Server 6.1 is J2EE 1.4 i.e Servlet 2.4 compliant...right ?
well, however, i shall think about that later on.
But at least i want to remove this error first.
This should not be a problem because backward compatibility always works.
thanks for the concern and advice and your time.
Regards

Similar Messages

  • HT4623 Please  help!  i have just update my iphone 4s with 7.4 update and my phone is now asking for a password which i dont have.  I have tried my keypad lock i used before the update and also my itunes password and neither work, how do i rectify this ??

    Please  help!  i have just update my iphone 4s with 7.4 update and my phone is now asking for a password which i dont have.  I have tried my keypad lock i used before the update and also my itunes password and neither work, how do i rectify this ???

    Did you buy this iPhone new from an authorized seller?

  • When uploading my formatted resume to my Apple Jobs profile, I am always presented with a c:\fakepath message and the resume does not upload. How can I rectify this?

    When uploading my formatted resume to my Apple Jobs profile, I am always presented with a c:\fakepath message and the resume does not upload. How can I rectify this?

    Add this one to the list of thinks that don't work on the Apple Job Board. It looks like Apple is using ADP's VE (Virtual Edge) technology to run this system, and I've been stupified by the number of features that are just broken, or so poorly thought out by ADP as to be unusable, (certainly for webkit and mozilla browsers at least: I didn't bother checking IE.)
    Here are a few highlights:
    "My Job List", list of jobs applied for, seems to max out at three. You can apply for more than that, but you can only see the first three.
    "Search Using Your Resume" feature yields few or no results, even when the pasted text contains only common, exactly matched words like 'Design' or 'Engineer'.
    The missing resume upload, described in this thread.
    "My Job Agent" seems to never flag anything, at least it hasn't ever for me despite pretty loose criteria.
    Agent's created using "My Job Agent" eventually just disappear, which is fine because they don't seem to work.
    When updating a profile, acknowledging the 'Terms' happens twice in a row. 
    Job seekers can only supply one cover letter despite being able apply for several jobs.
    Pagination for search results only appears at the top of the page, so it's necessary to scroll down through each page, then up to the top again to proceed to the next page.
    Well, I'm sure there are others, but you get the idea. I hope the Apple folks can fix this, (or twist ADP's arm to fix it,) so it better represents the quality of experience that Apple is so respected for consistently delivering.

  • Hi. My husband and I have always shared the same iTunes account.  Since installing iCloud, all our contacts and calenders have merged on our iPhone 4, which we do not want.  How do I rectify this? Does my husband need to set up his own apple ID?

    Hi. My husband and I have always shared the same iTunes account.  Since installing iCloud, all our contacts and calenders have merged on our iPhone 4, which we do not want.  How do I rectify this? Does my husband need to set up his own apple ID?  If so, where do I need to change his email address info, so that his calender and contacts remain his?  Thank you

    You can continue to use the current AppleID for iTunes, but your husband can create a new AppleID to use to create a new iCloud account that will be his own and not overlap with yours.  If you do not have another email address to use for an AppleID, just get a free Gmail account and use that.
    You can have as many AppleIDs as you want (or at least, as many as you have email addresses for).  You can use a separate AppleID for the store, another for iCloud, and even another for iMessage if you wish.
    You will want to keep the current one as the shared one for the store as all your previous purchases are permanently tied to it, and thus you need that AppleID to update or redownload your current purchased content.

  • I get the -1 error message when i have tried to restore my iphone, the phone will no longer work how can i rectify this?

    I have tried to restore my iPhone but when it has gone through all the restore I get the -1 error message and now my phone will not work at all, how do I rectify this please.

    Error 1 or -1
    This may indicate a hardware issue with your device. Follow Troubleshooting security software issues, and restore your device on a different known-good computer. If the errors persist on another computer, the device may need service.

  • HT1420 When I try and authorise I get this message.The required directory was not found or has a permissions error. Correct this permissions problem and try again, or deauthorize this computer if the permissions cannot be changed. How do I rectify?

    When I try and authorise I get this message.The required directory was not found or has a permissions error. Correct this permissions problem and try again, or deauthorize this computer if the permissions cannot be changed. How do I rectify?

    iTunes: Missing folder or incorrect permissions may prevent authorization
    Mac OS X
    Log in to your computer using an administrator account.
    In the Finder, choose Go to Folder from the Go menu.
    Type: "/Users" (without quotes) and click Go.
    If the Shared folder exists
    Open Terminal (found in /Applications/Utilities).Warning: This step involves modifying permission settings by entering commands in the Terminal application. Users unfamiliar with Terminal and UNIX-like environments should proceed with caution. The entry of incorrect commands may result in data loss or unusable system software. Improper alteration of permissions can result in reduced system security or exposure of private data. This option requires a non-blank admin password.
    Depending on which version of Mac OS X you have, this step will vary:
    On Mac OS X v10.5.8 and earlier, type:sudo chmod -R 777 /Users/Shared
    On Mac OS X v10.6 or later, type:sudo chmod -R 1777 /Users/Shared
    Press Return.
    Quit Terminal.
    If the Shared folder does not exist
    The following steps will recreate the Shared folder if it is missing and ensure that it has been assigned using the correct permissions.
    Open Terminal (found in /Applications/Utilities).Warning: This step involves modifying permission settings by entering commands in the Terminal application. Users unfamiliar with Terminal and UNIX-like environments should proceed with caution. The entry of incorrect commands may result in data loss or unusable system software. Improper alteration of permissions can result in reduced system security or exposure of private data. This option requires a non-blank admin password.
    Type or copy and paste the following command into the Terminal window:sudo mkdir -p /Users/Shared/
    Press Return.
    Enter your administrator account password when prompted, then press Return.
    Depending on which version of Mac OS X you have, this step will vary:
    On Mac OS X v10.5.8 and earlier, type:sudo chmod 777 /Users/Shared
    On Mac OS X v10.6 or later, type:sudo chmod 1777 /Users/Shared
    Press Return.
    Quit Terminal.

  • I have previewed my book but after cliking BUY BOOK it compiles it OK but then it always states an error after of during uploading it to the store.  How can I rectify this?

    I have previewed my book but after cliking BUY BOOK it compiles it OK but then it always states an error after of during uploading it to the store.
    How can I rectify this?

    I have previewed my book but after cliking BUY BOOK it compiles it OK but then it always states an error after of during uploading it to the store.
    How can I rectify this?

  • When I send a message using hotmail.co.uk, it does not appear in my Mac Mail sent box. How do I rectify this?

    I am using Mountain Lion (OS X 10.8.2) on my MacBook (mid-2009); Mail version 6.1 (1498).
    My incoming mail server is pop3.live.com (Hotmail).
    When I send an email on the Hotmail website, it does not register in my Mac Mail sent box.
    How do I rectify this?
    Many thanks for your help in advance.

    You have to send it from the Mail program on the Mac not the website. When you send it from the website it is in the sent folder on the website.
    I handle all my mail in the Mac Mail program never the website.

  • HT1725 I've purchased an entire album but some of the songs stop playing midway through. How can I rectify this?

    I've purchased an entire album but some of the songs stop playing midway through. How can I rectify this?

    Welcome to the Apple Community.
    Try deleting the problematic file (electing to remove original file if/when prompted) and then re-downloading the file from the iTunes store.
    You can re-download content purchased from the iTunes store (availability varies depending on location) using the purchased option from the Quick Links section in the top right corner of the iTunes homepage in your iTunes application on your computer.
    You can re-download content purchased from the iTunes store (availability varies depending on location) using the purchased option at the bottom of the screen of the iTunes app (or video app) on your iOS device.
    If the problem re-occurs, select the content which is causing a problem and use the 'Report a problem' button in Your Purchase History using your computer.

  • TS3899 My emails are showing as 'read' but they are not read!  How can I rectify this problem?

    My emails suddenly keep showing as 'read' but they are unread.  How can I rectify this problem?

    Is the folder pane collapsed? View(or AppMenu/Options)/Layout/Folder Pane. Otherwise, deleting foldertree.json might fix it:
    http://kb.mozillazine.org/Toolbar_or_windows_layout_not_working

  • HT3702 My credit card is declined without apparent reason. How can I rectify this?

    My credit card is declined without apparent reason. How can I rectify this? I do not want to use another card because of children securiity reasons.

    If it's a credit card (I don't think that debit cards are still accepted) then is it registered to exactly the same name and address (including format and spacing etc) that you have on your iTunes account, it was issued by a bank in your country and you are currently in that country ? If it is then you could check with the card issuer to see if it's them that are declining it, and if not then try contacting iTunes support and see if they know why it's being declined : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page

  • The theme I chose for my browser inexplicably vanished, and when I try to reinstate it nothing happens - how can I rectify this?

    I can't seem to put the theme back on my browser after it inexplicably vanished..
    I've tried adding a different theme but the browser is unresponsive to it and doesn't accept the changes.
    Please can I have some advice on how I can rectify it?
    Many thanks.

    Make sure that you do not run Firefox in (permanent) Private Browsing mode.
    *https://support.mozilla.org/kb/Private+Browsing
    *Tools > Options > Privacy > Firefox will: "Use custom settings for history"
    *Deselect: [ ] "Always use private browsing mode"
    When you are in Private Browsing mode then the persona is disabled and you get the default theme and a purple PB icon in the Firefox menu button or the right end side of the menu bar (tab bar on Linux) and "(Private Browsing)" appended to the title bar.

  • How do I rectify start up disk almost full. I am new to Macs and struggling

    How do I rectify a start up disk almost full message? Never had this until I put a load of photos on to my Mac book air

    Hello Kirkcaldy Ronnie,
    As Plotinus Veritas said take a backup for your Images on External Hard Disk.
    As your Macbook Air Startup disk is full and if you are unable to do anything on your Mac follow the below process to boot your Mac in Safe Mode and then delete some files on your Mac to free up some disk space and then you should be able to boot in Normal Mode.
    Steps : > Turn of your Macbook completely by holding the Power On/Off key on your Mac's keyboard > Turn On your Mac again and simultaneously press and hold the Left Shift key on your keyboard and this should take your Macbook in Safe Mode. ( Note : You will see a loading bar at startup when you boot your Mac in safe mode and your Mac will take some time to boot) > Once you login to the User Account on your Mac go ahead an delete as many files as you can from your Mac to free up some space (try to delete and make as much space as you can and keep at least 20% space free of the total amount of your disk space on your Mac Disk) and also empty the Trash of your Mac to completely remove the files from your Mac. > Now you can restart your Mac and let it start in Normal mode and check of you are able to login. If you are able to login in normal mode then try to transfer the data which you do not use regularly on an external hard disk and keep internal space free as much as you can as that will help you to get a better performance of your Mac. Hope this helps you.

  • The birthday reminder on the calender is not in sync with the date reflected in my contact. It is always one day ahead. How do I rectify this?

    The birthday reminder on the calender is not in sync with the date reflected in my contact. It is always one day ahead. How do I rectify this?

    Hi Jim McKee,
    Please PM your order no# and Adobe ID, so that I can check the account details.
    To send a PM please click on the picture and then you will find the option of private message.
    You may also try to contact Customer Support:
    http://www.adobe.com/support/download-install/supportinfo/
    Regards
    Gurleen

  • How do I rectify an error code 1437?

    How do I rectify an error code 1437? The ipod classic has frozen, none of the controls function on the device. When connected to the laptop a message read need to reset ipod, actioned reset and then a few seconds later the message came up 'unable to reset because of error 1437'. Ipod is fully charged and it is not in hold position.

    http://forums.adobe.com/message/5514797#5514797

Maybe you are looking for

  • How can I get my bookmarks and mailboxes off my old iBook G4 that crashed?

    My OS crashed. I reinstalled it, but still could not access anything. I took the computer to a repair person. He created a new account and retrieved everything I had on my desktop, but not my mailboxes or bookmarks. He said there is a way to do that,

  • Editing iWeb sites from new MacBook

    I just bought a new MacBook, and how do I transfer all my photo galleries under two site created in iWeb on my old PowerBook to my new MacBook? Is there a way to edit sites that I haven't created on iWeb on my MacBook that are hosted on my .Mac accou

  • Use of Function Module "FI_POSTINGS_ALV"

    Hi ! In my report i have used FM FI_POSTINGS_ALV. Even i am displaying the data through this FM. When it is displaying all the fields with data and without data are displaying. In this FM, Tables tab t_fields_hdr and t_fields_lines are there. I think

  • Connect to APEX database using VBA+ADO code in Microsoft Excel & Word?

    I am looking at APEX as a potential replacement for a growing reporting/analysis system. As yet I have not found a clear answer on an important question. The current system is a shared database and a collection of Microsoft Excel and Word templates.

  • Layers Palette help please

    I've tried google and searching the forums here to no success. If there is an easy answer to this please link. I have received a few rare documents that have a layer which does not behave or display like my experience says it should. The layer is a v