HELP: "web-app" does not allow "filter"

Here is my web.xml, but everytime I tried to start the web server 6.1, it complains:
info: CORE3282: stdout: PARSE error at line 108 column -1
info: CORE3282: stdout: org.xml.sax.SAXParseException: Element "web-app" does not allow "filter" here.
failure: ContextConfig[simple] WEB3524: Parse error in application web.xml
org.xml.sax.SAXParseException: Element "web-app" does not allow "filter" here.
at org.apache.crimson.parser.Parser2.error(Parser2.java:3160)
The following is my web.xml file, thank you let me know what make it!
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/j2ee/dtds/web-app_2_3.dtd">
<web-app>
<display-name>webapps-simple</display-name>
<description>
The jakarta-tomcat-4.0.3 sample apps ports over to Sun One Web Server.
</description>
<distributable></distributable>
<servlet>
<servlet-name>HelloWorldExample</servlet-name> <servlet-class>samples.webapps.simple.servlet.HelloWorldExample</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>HelloWorldExample</servlet-name>
<url-pattern>/helloworld</url-pattern>
</servlet-mapping>
<welcome-file-list>
<welcome-file>index.html</welcome-file>
</welcome-file-list>
<taglib> <taglib-uri>http://java.apache.org/tomcat/examples-taglib</taglib-uri> <taglib-location>/WEB-INF/tlds/example-taglib.tld</taglib-location>
</taglib>
<security-constraint>
<web-resource-collection>
<web-resource-name>Protected Area</web-resource-name>
<url-pattern>/jsp/security/protected/*</url-pattern>
<http-method>DELETE</http-method>
<http-method>GET</http-method>
<http-method>POST</http-method>
<http-method>PUT</http-method>
</web-resource-collection>
<auth-constraint>
<role-name>tomcat</role-name>
<role-name>role1</role-name>
</auth-constraint>
</security-constraint>
<filter>
<filter-name>Validation Filter</filter-name> <filter-class>filter.ISValidationFilter</filter-class>
<init-param> <param-name>onlyAllowRequestWithToken</param-name>
<param-value>true</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>Validation Filter</filter-name>
<url-pattern>/filtered/*</url-pattern>
</filter-mapping>
</web-app>

I also getting the same error
my 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/dtd/web-app_2_3.dtd">
<web-app>
     <filter>
          <filter-name>Security Filter</filter-name>
          <filter-class>org.securityfilter.filter.SecurityFilter</filter-class>
          <init-param>
               <param-name>config</param-name>
               <param-value>/WEB-INF/securityfilter-config.xml</param-value>
               <description>Configuration file location (this is the default value)</description>
          </init-param>
          <init-param>
               <param-name>validate</param-name>
               <param-value>true</param-value>
               <description>Validate config file if set to true</description>
          </init-param>
     </filter>
     <filter-mapping>
          <filter-name>Security Filter</filter-name>
          <url-pattern>/*</url-pattern>
     </filter-mapping>
<!-- Action Servlet Configuration -->
<servlet>
<servlet-name>action</servlet-name>
<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
<init-param>
<param-name>config</param-name>
<param-value>/WEB-INF/struts-config.xml</param-value>
</init-param>
<init-param>
<param-name>debug</param-name>
<param-value>3</param-value>
</init-param>
     <init-param>
          <param-name>application</param-name>
          <param-value>ApplicationResources</param-value>
     </init-param>
<init-param>
<param-name>detail</param-name>
<param-value>3</param-value>
</init-param>
<load-on-startup>2</load-on-startup>
</servlet>
<!-- Action Servlet Mapping -->
<servlet-mapping>
<servlet-name>action</servlet-name>
<url-pattern>*.do</url-pattern>
</servlet-mapping>
<!-- The Welcome File List -->
<welcome-file-list>
<welcome-file>abc.jsp</welcome-file>
</welcome-file-list>
<taglib>
<taglib-uri>/WEB-INF/struts-html.tld</taglib-uri>
<taglib-location>/WEB-INF/struts-html.tld</taglib-location>
</taglib>
</web-app>
if I change as you said
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
line with
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
then it's not loading the application
pls suggest me
my mail id is [email protected]

Similar Messages

  • The ipad music app does not allow me to play certain tracks that i have synced via my itunes. The tracks are clearly visibly in the music app but when tap on them to play they wont play. help and advice will be much appreciated

    The ipad music app does not allow me to play certain tracks that i have synced via my itunes. The tracks are clearly visibly in the music app but when tap on them to play they wont play. what do i do?

    Agree about the disaster part. I haven't found a fix within iTunes.
    I gave up and switched to downcast 2 days ago. Even though it was a hassle to re-subscribe to all my podcasts, im so much happier.
    To make switching easier, I found that in iTunes you can "get info" on the podcast and copy the RSS address to the clipboard. Put all of these in a message note. When iCloud syncs the note to your phone, you can copy and paste the urls into downcast one at a time to subscribe.
    Downcast has crashed on me occassionally when I'm subscribing to feeds, but so far it has recovered gracefully each time and no data was lost.

  • Project Online - web app does not open

    Today my Project Online web app does not open. Error message is
    Could not connect to the specified Project Web App URL: https%3a%2f%2fsapphire365.sharepoint.com%2fsites%2fpwa.  If you have manually changed the Project Web App URL for this Web Part, please remove this Web Part and add it to the page again from the
    Web Part catalog
    I've not changed any web part. Can you please help out as I cannot access anything in project online.
    Thanks
    CR

    CR,
        Agree with Hrishi that you should open a service request, and if you can't log into your tenant, then use this URL to log into the administrative portal to log the service request: 
    https://portal.microsoftonline.com/admin/default.aspx
    Good luck,
      James. 
    James Boman - http://www.boman.biz Software Consultant for IPMO - http://www.ipmo.com.au

  • TS1702 Telegraph app does not allow access to newspaper says have not paid subscription. Paid through iTunes and tel says it is iTunes prob. Can't talk to anybody at itunes

    Telegraph app does not allow access to newspaper. Says. Have not paid sub but pay via iTunes Store. Telegraph says it is an iTunes prob but I can't get to talk to anyone there! Any suggestions please?

    Just got this -
    Dear iTunes Customer,
    You recently received an email informing you that your iTunes Match Subscription could not be auto-renewed. We have resolved the problem and your iTunes Match Subscription has been renewed.
    We apologize for the delay with your auto-renewal. If you have any questions, please contact AppleCare at http://www.apple.com/support/itunes/
    I hope everyone else is all set too.

  • Help ,Disk utility does not allow me to partition my internal HD

    hello , i want to partition my internal hard drive but for some reason disk utility does not allow me to , when i click on the partition window everything is greyed out, i read on other thread that file vault might be the problem but is already off , i can t figure out what the issue is any ideas ??? here is a screenshot.

    Not if you want to be able to restore the Boot Camp partition using Boot Camp Assistant. There are alternative boot loaders you can use to add Windows and Linux to an OS X drive. You would first need to restore your drive by deleting the Boot Camp partition you now have. Then take a look at The rEFInd Boot Manager: Getting rEFInd - Roderick W. Smith.

  • APEX 4.2.2 development tool bar at bottom of Web App does not appear

    Oracle 11gR1
    Linux RedHat 6.3
    Apex 4.2.2
    Firefox 20.0
    When running my application from within APEX as a developer, the APEX bottom bar does not show up. Hence, I can't (from the app web page) edit or move to another part of the Web App.
    Wondering what could be causing this?
    Just upgraded from 4.1.1.
    Any help would be appreciated.

    tx103108 wrote:
    Oracle 11gR1
    Linux RedHat 6.3
    Apex 4.2.2
    Firefox 20.0
    When running my application from within APEX as a developer, the APEX bottom bar does not show up. Hence, I can't (from the app web page) edit or move to another part of the Web App.
    Wondering what could be causing this?
    Just upgraded from 4.1.1.See +{message:id=11003722}+

  • Andriod App does not allow log-in via Facebook.

    I created my Skype account by linking it to my Facebook account. Unfortunately, the app doesn't allow me to log in via Skype. I use the same name under my account tab etc, yet it doesn't accept it. I'm not sure what else to do.
    According to what shoes under my skype name my name is "facebook:XXXXXXX"
    However, when I try to log in, it doesn't accept that same user name even though it allows me to sign in on the desk top. I've copied and pasted it and it still doesn't work.
    I don't know what else to do here.
    Can anyone help?

    Hi and welcome to the Skype Community,
    Unfortunately logging in to Skype for Android is not supported. You need create a new Skype account to be a able to us it on Android.
    Follow the latest Skype Community News
    ↓ Did my reply answer your question? Accept it as a solution to help others, Thanks. ↓

  • Problem with activation of Office 2010 Professional, 'help' web link does not work

    I am having problems activating a copy of Office Professional 2010 purchased retail. I am being told that the product key is not valid, though I have re-entered it twice. I click on the 'more information' link but the page doesn't load: http://wwwppe.dns.microsoft.com/howtotell/geo/content.aspx?pg=geo_off&displaylang=en?ERR=0xc004c003&LCID=1033&MSG=4&PID=02257-210-6072776-49466&ErrorCode=0xc004c003
    Please advise what I should do.
    Thanks

    Could you please follow the instructions below, run the commands in green, and paste your output?
    Open anelevated command prompt
    a.The
    path below is the default install path, so it may be different if you've customized your install
    b.If
    you’re using 32b Office on a 64b OS, you may need to run it from the “Program Files (x86)” folder
    c.Start,
    search for ‘cmd’, right click on the command prompt window and select “Run as administrator”
    d.cscript
    "%ProgramFiles%\Microsoft Office\Office14\ospp.vbs" /dstatusall
    Trigger activation
    a.Launching
    an Office application will then prompt you for activation via the UI. Alternatively you can trigger it using this command:
    b.cscript
    "%ProgramFiles%\Microsoft Office\Office14\ospp.vbs" /act
    Check the status
    a.The
    following command will show the licensing status. Alternatively in the Office UI you can view the status by clicking File, Help.
    b.cscript
    "%ProgramFiles%\Microsoft Office\Office14\ospp.vbs" /dstatusall
    Ted Way [MSFT], Program Manager, Microsoft Office: Enterprise Licensing, Group Policy, and 64-bit Office

  • My menu bar does not appear at the top of my homepage on a brand new 27" iMac only when i pull up an app. this does not allow me to shut down my mac when all apps are closed nor does it all me to use finder. any help would be awesome

    My menu bar does not appear at the top of my homepage on a brand new 27" iMac only when i pull up an app. this does not allow me to shut down my mac when all apps are closed nor does it all me to use finder. any help would be awesome

    Press the escape (esc) key to exit full-screen mode.

  • After trying many times with two different debit cards still does not allows me to buy a game from the app store gives error "YOUR PAYMENT METHOD WAS DECLINE.PLEASE ENTER VALID PAYMENT METHOD INFORMATION"  Please help me out

    I WANT TO PURCHASE NFS MOST WANTED GAME FROM APP STORE BUT IT DOESN'T ALLOW ME TO PROCEED FURTHER
    after trying many times with two different debit cards still does not allows me to buy a game from the app store gives error "YOUR PAYMENT METHOD WAS DECLINE.PLEASE ENTER VALID PAYMENT METHOD INFORMATION"  Please help me out

    In most cases, you can't use a Debit card anymore. So, either redeem an iTunes gift card or use a credit card.

  • It is very difficult to navigate on facebook via safari. The IPAD does not allow other browsers to download and use it almost prevents the facebook app and the lack of scrolling the page.

    It is very difficult to navigate on facebook via safari. The IPAD does not allow other browsers to download and use it almost prevents the facebook app and the lack of scrolling the page.

    I also have problems with Facebook on my iPad 2. I don't do a lot with Facebook and generally only post on my feed page. Sometimes hitting return on the keyboard enters the comment, sometimes not. Sometimes the comment will show on my iPad but if I revisit that page I find that the comment has disappeared. So I'd say that Facebook and my iPad are not totally compatible with each other.
    I looked into Friendly and was about to purchase this free ap. But before I did I went to the Friendly web page for more info. There I found a page with users comments. One after another users complained about bugs with Friendly. The developers claimed a fix was coming but the user comments complained about the lack of response and support. One of the fixes suggested by the developers was to log out of Friendly then log back in. One user complained that doing this three times in ten minutes was not very helpful. Because of this I decided to avoid Friendly.
    I did find a Facebook developed ap but it was for the iPhone. I presume that iPhone aps will work on the iPad but I'll wait until Facebook releases an iPad compatible ap. If there is an ap developed by Facebook for the iPad that I missed please let me know.

  • Farm Remote App 2012 R : Your system administrator does not allow the use of default credentials to log on to Work Resources

    Hi
    Here is the situation:
    I have a Farm with 3 servers W2012R2 in a Domain
    Server1                           Server 2                                  
    Server3
    RDSession Host            RDSession Host                            
    RDSession Host
    Connection Broker        Connection Broker (Passive)
    RD Web Access
    2 DNS Alias : - poc.mydomain.local (Use for the RD Web Access and points to Server1
                        -poccb.mydomain.local (Use for the Connection Broker and points to Server1)
    I have setup the Connection broker in HA with Server2 as Passive Server : DNS Round Robin poccb.mydomain.local (Server1)
    The certificate Manager has generated 2 CA certificates :
    - 1 for the RD Web Acc (poc.mydomain.local
    -1 for Connection Broker SSO and for publishing
    I have created 1 Group Policy for these 3 servers and 1 GP for my client Windows 7 SP1.
    Server GPO :
    Computer/Administrative Templates/Windows Components/Remote Desktop Services/Remote Desktop Session Host/Security
    Always prompt for password upon connection=Disabled
    Require use of specific security layer for remote (RDP) connections : SSL (TLS 1.0)
    Set client connection encryption level : High Level
    Client GPO
    Computer/Administrative Templates/System/Credentials Delegation = Allow delegating default credentials (Concatenate OS defaults with input above)
    TERMSRV/POCCB.mydomain.local
    I use no Gateway and in my collection,I have activated SSL (Like in my Server GPO)
    I have now problem with SSO.
    Connection with remote desktop client with server name = poccb.mydomain.local
    Your system administrator does not allow you the use of default credentials to log on to the remote computer poccb.mydomain.local because its identity is not fully verified
    If in my client GPO I add the physical name of the 3 servers, it works :
    TERMSRV/Server1
    TERMSRV/Server2
    TERMSRV/Server3
    Open RDP Files with server name = poccb.mydomain.local
    if my connection broker connects me on Server1 , no problem
    But If I arrive on Server2 & Server 3=
    Your system administrator does not allow the use of default credentials to log on to Work Resources
    I have searched on internet. No result for " to log on to Work Resources"
    Any idea ? Thanks for your help

    Hi,
    Thank you for posting in Windows Server Forum.
    Firstly check that, your user is using domain\username to enter the credential in the dialog box.
    Now for a try, you can edit .rdp file with notepad and just place “enablecredsspsupport:i:0” line in it, save it an launch to check whether you are facing same issue.
    As you are using windows 7 then upgrade to RDP 8.1. Also as you have already enter the FQDN name of server under “Allow delegating default credentials”. For a try please enable and configure for all the remaining settings as follow and check the result.
    Start / Run / gpedit.msc / Computer Configuration / Administrative Templates / System / Credentials Delegation, and make sure you have the following four options enabled and configured:
    Allow Delegating Default Credentials with NTLM-only Server Authentication
    Allow Delegating Default Credentials
    Allow Delegating Saved Credentials
    Allow Delegating Saved Credentials with NTLM-only Server Authentication
    Finally, open a command prompt and use “gpupdate /force” command to apply the policy directly.
    More information:
    Remote desktop credentials did not work
    Hope it helps!
    Thanks.
    Dharmesh Solanki

  • Why does ipod does not allow to download free app free??

    My Ipod touch does not allow to download anything that is free or paid apps on my ipod. even if an app is free it asks for verification which directs me to payment gallery how come this is happening if an app is free it should not charge me it should not go for verification payment info How do I rectify this problem please help as this is frustrating I cannot download anthing from the app store!!!!!!!!

    To purchase anything with a normal account requires a valid payment method.  Yu can however create a new account that is oly good for app. To do that see:
    Creating an iTunes Store, App Store, iBookstore, and Mac App Store account without a credit card

  • SharePoint 2010 list view - How to filter on a multiline text box field - the view filter does not allow me to select it.

    Hi there,
    Does someone know in SharePoint 2010 list view - How to filter on a multiline text box field - the view filter does not allow me to select it.
    Thanks,

    Hi,
    Per my knowledge,
    it is by design that the data type multiple lines of text can only use “contains” and “begins with” operators.
    You can also filter the list view using SharePoint Designer,
    Open your list AllItem.aspx page in SPD ->click “Filter” > in “Field Name” select your multipe line of text field, in “Comparison” will displayed four choices.
    Best Regards,
    Lisa Chen
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Hello to you in the company Apple. I am having a problem in the Apple Store ID does not allow me to work on the Apple Store I hope that you will help. You have sent you yesterday and today I want to call the phone number for Mei you and explain to you why

    Hello to you in the company Apple. I am having a problem in the Apple Store ID does not allow me to work on the Apple Store I hope that you will help. You have sent you yesterday and today I want to call the phone number for Mei you and explain to you why with many thanks

    Sorry, but you can't reach Apple here. This is a user to user forum and Apple does not follow these discussions.
    Try this link to contact Apple directly:
    Apple - Support - iPhone - Contact Support
    Did you already have a look at this page?
    App Store Frequently Asked Questions (FAQ)

Maybe you are looking for

  • Removing CD/DVD Drive

    I have the Satellite A305-S6829 and not only does my webcam no longer work or be recognized, my CD/DVD drive is not recognized either. I have troubleshooted this extensively and the drivers are current now but it is not recognized. Im thinking perhap

  • How to find the Schema size

    Hi, How to find the size of the schema in a daabase. Thanks, Mahi

  • I updated Firefox and all my bookmarks are lost; how do I restore them?

    I just updated Firefox to 8.0.1., and all my bookmarks are gone. NONE of the suggested articles dealt with this: How do I restore the bookmarks? And why wasn't I asked during the update if I would like to have the bookmarks imported? Also why wasn't

  • ST03 Total Collector question

    Recently, SAP_COLLECTOR_FOR_PERMONITOR job was failing due to TSV_TNEW_PAGE_ALLOC_FAILED error in RSCOLL00 program. To fix the issue, I configured the table TCOLL according to the note 966309, I checked off Gen.Total under Expert Mode >Worload Collec

  • How to recover missing movie icons

    Is there a way to recover movie icons for the iPad?  I can't remember if they were on the screen when I first them or not...ugh.