What is Wrong with filter and filter-mapping in My web.xml?

First, thanks all for your attention.
I have checked the place where I should place <filter> and <filter-mapping> in web.xm. They should be after the <display-name>, before <servlet> and <servlet-mapping>.
However, as soon as I insert the <filter> and <filter-mapping> elements in my web.xml, all my struts-bean.tld, struts-html.tld, etc. in the web.xml cannot be found at the runtime.
Please help in identifying the problem. Thank you.
  <filter>
   <filter-name>trailFilter</filter-name>
   <filter-class>org.osjava.taglib.trail.OriginalRequestFilter</filter-class>
  </filter>
  <filter-mapping>
   <filter-name>trailFilter</filter-name>
   <url-pattern>*.do</url-pattern>
  </filter-mapping>and my web-xml is:
<?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>
  <display-name>Struts Example Application</display-name>
  <!-- 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, /WEB-INF/struts-config-registration.xml</param-value>
    </init-param>
    <load-on-startup>1</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>index.jsp</welcome-file>
  </welcome-file-list>
  <!-- The default error page -->
  <error-page>
   <exception-type>java.lang.Exception</exception-type>
   <location>\Error.jsp</location>
  </error-page>
  <!-- Application Tag Library Descriptor -->
  <taglib>
    <taglib-uri>/tags/app</taglib-uri>
    <taglib-location>/WEB-INF/app.tld</taglib-location>
  </taglib>
  <!-- Struts Tag Library Descriptors -->
  <taglib>
    <taglib-uri>/tags/struts-bean</taglib-uri>
    <taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
  </taglib>
  <taglib>
    <taglib-uri>/tags/struts-html</taglib-uri>
    <taglib-location>/WEB-INF/struts-html.tld</taglib-location>
  </taglib>
  <taglib>
    <taglib-uri>/tags/struts-logic</taglib-uri>
    <taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
  </taglib>
  <taglib>
    <taglib-uri>/tags/struts-nested</taglib-uri>
    <taglib-location>/WEB-INF/struts-nested.tld</taglib-location>
  </taglib>
</web-app>

Multiple Post - http://forum.java.sun.com/thread.jspa?threadID=734506

Similar Messages

  • It says that "there was a problem connecting to the server". What's wrong with this, and how can I deal with this problem?

    I just got my new iPad Mini2, and when I choose "sign in with your apple ID", it says that "there was a problem connecting to the server". What's wrong with this, and how can I deal with this problem?

    1. Turn router off for 30 seconds and on again
    2. Settings>General>Reset>Reset Network Settings

  • TS2570 My Mac is stuck on grey screen what's wrong with it and am I going to lose everything

    My Mac is stuck on grey screen what's wrong with it and am I going to lose everything

    Hopefully you have a backup, but...
    Could be many things, we should start with this...
    "Try Disk Utility
    1. Insert the Mac OS X Install disc, then restart the computer while holding the C key.
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu at top of the screen. (In Mac OS X 10.4 or later, you must select your language first.)
    *Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.*
    3. Click the First Aid tab.
    4. Select your Mac OS X volume.
    5. Click Repair Disk, (not Repair Permissions). Disk Utility checks and repairs the disk."
    http://docs.info.apple.com/article.html?artnum=106214
    Then try a Safe Boot, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot when it completes.
    (Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive.)
    If perchance you can't find your install Disc, at least try it from the Safe Boot part onward.

  • HT1688 My iphone 5 won't charge and it's in perfect condition, I dont drop it and it's not cracked. I tried multiple chargers, none of them are damaged and my outlets work with other things so the problem is my phone. What's wrong with it and what should

    My iphone 5 won't charge and it's in perfect condition, I dont drop it and it's not cracked. I tried multiple chargers, none of them are damaged and my outlets work with other things so the problem is my phone. What's wrong with it and what should I do? Please help me I need my phone for work.

    Make sure there's nothing blocking a contact in the charging port of the phone.

  • My iPhone 5 screen is black and will not come back on. The phone still works when paired with my vehicles Bluetooth what's wrong with it, and can I fix it?

    My iPhone 5 screen is black and will not come back on. The phone still works when paired with my vehicles Bluetooth what's wrong with it, and can I fix it?

    I have a similar problem.  I restored my iPhone 5 to the latest available OS.  After completing the process the phone never restarted.  The phone was fully charged when I restored it but now refuses to charge past the red battery icon.  I have been able to get the phone in UFD mode several times and have been able to load the new OS on the phone.  The Apple logo does come on and the software fully loads.  iTunes tells me the phone will restart but never does.  I left it to charge all night but it never appeared to load the battery.  This morning I went to the Grand Central Terminal apple store for help.  A woman at the store plugged the phone in but it never charged.  She absolutely refused to believe that I got my phone in UFD mode and loaded any software on.  I don't think it is a battery issue.  The only solution I was given was to buy a new phone.  Repairing it was out of the question.  At this point the phone is completely useless.  Thanks in advance for the help.

  • My optical drive will not read any music cds now or recognize a blank cd in the drive. it might read some data discs. what is wrong with it and how do i fix it?

    My optical drive will not read any music cds or recognize a blank cd. it might read some data cds. what is wrong with it and how can i fix it?

    The optics might be dirty. Try running a cleaning CD through it and see if that makes a difference.
    If not, it will have to be replace.
    Allan

  • I bought 120 gold in Haypi dragon on Mar 12 and 15 2012 , but I havenot received them yet.What is wrong with it ,and when i can reveive them ?

    I bought 120 gold in Haypi dragon on Mar 12 and 15 2012 , but I havenot received them yet.What is wrong with it ,and when i can reveive them ?

    For in-app purchases you should contact the developer's customer support, assuming there is one.

  • Why is it when using my iPhone 4s front camera, the screen sometimes turn black or have blue stripes on it? What's wrong with it and what should I do?

    When using my iPhone 4s front camera, the screen sometimes become black or have blue stripes on it! Is this a hardware or software problem? Can this issue be covered by my warranty? I bought it inmid-december last year, and this problem came at around Late January. It's a rare case, only came about 5 times, but this really concerns me. What's wrong with it? Thank you so much for your concern.

    thank you for your reply
    I brought it to the store and they agreed to give me an exchange. thank goodness!
    I have a new question: I've now transferred my back up datas to my new iphone. They wanted me to register, so I registered (as my old apple ID) and then they asked if I want to restore backup, I did that too. after the restore back up process, the only things that aren't there were my music and apps! what should I do to get them into my new iPhone?

  • What's wrong with iCloud and all that. See below

    What's wrong with iCloud tonight I am
    Sending texts and it is going as a normal text
    Not iMessage it was working earlier. Now
    Gas stopped working all of a sudden. If
    Anyone Is experiencing the same please let
    Me know. Also it is saying when I turn on and log
    In waiting for activation. I've never had this before.

    There is an earlier thread that was answered by an Apple employee that states they are seeing the iMessage and Facetime servers are down. It is unknown when they will return, however it generally is not an extended period of time.

  • What's wrong with Logic and Soundtrack Pro

    Just spent a frustrating day trying to record with Soundtrack Pro and Logic
    Soundtrack is working on and off
    Problems:
    1. Even if sounds are loaded in the multitrack editor, no sound when playing. Only the Solo (S) button make a track sound. No idea what's wrong?
    2. Trying to record directly into a multitrack sometimes works, and sometimes not.
    3. When making another attempt to record, the noise of death appeared (same as the long thread on Logic.
    Finally I just recorded in Amadeus Pro. At least that software works. It just crazy. Look I accept there is a learning curve but this s just crazy
    Apple is becoming an arrogant company that is becoming more interested in creating gadgets that providing tools that work
    Sorry for the rant

    BenB wrote:
    I've worked on both Windows and OS X (Unix), with a few apps over the years. No one can possible work with every app on every hardware configuration possible on every OS available. So to make the statement you actually have is preposterous.
    That said, Logic is the most used software in project studios. Mixing engineers like ProTools better. But the two have way more market share than anything else.
    Hey Ben,
    Sorry to bump your fanboy applecart... (don't mean that as derogatory as it may sound, I liked the play on words)
    From everything that's happening here and the west coast (USA) many of the Logic users I know have switched to other software, the two Logic studios here have gone to ProTools mainly because Logic version 8 was so unstable, there are no more Logic studios here. The studio with the most business uses a Radar system, the second busiest studio is running Sonar. There is a fellow with a mobile system using a MBP and Logic but he uses version 7.
    The University here took bids 3 years ago and opted for PC/Nuendo/RME setups.
    So yes, Logic may indeed have the most project studio percentage but since every jerk can download it for free what is the quality coming out of these project studios? My point is, for professionals, Logic is becoming less and less of an option, most everyone that used it professionally has been disappointed in Apples support of the product, a long time between upgrades and except for user boards like this... literally zero professional support. You know there's problems when you call up Apple and know far more about Logic than the support staff. It seems like both of those are starting to improve but I think it's a little too late. Also... there's still the "blast of white noise" problem that hasn't been addressed, no professional studio can take that kind of chance.
    Apple is using Logic to sell hardware, smart business, absolutely. However, cutting the price in half, removing the copy protection and throwing in the kitchen sink plus seemingly not giving a d@mn that the program is pirated leaves a very bad taste in my mouth.
    pancenter-

  • My macbook is extremely hot and the fan is worryingly loud, what is wrong with it and how do i stop this from happening?

    For soem reason if I actually dare to use my macbook the fan kicks in and is so loud that I am unable to use skype or other voice programs without a headset because of its volume, also it gets very hot very fast, so hot that if I rest it on my knees it burns.  I normally have it on a desk and the area is well ventialted.  I have no print queues and rarely have more than two programs running at a time.  Can anyone offer a suggestion of what is wrong and how I can fix this please?  One of the main reasons I bought one in the first place was that they are so quiet when shown them in the apple store, but this is worryingly loud... 

    Thanks, it seems that it doesn't like to play games, which is a bit of a bummer as i bought this specifically because it was capable of doing that.  To be fair, it is capable... I just need to get used to a sound like sitting by a washing machine on spin cycle...  Wish they would make people aware of this in the Apple Store, its very misleading and not at all desireable.

  • What's wrong with my AND??

    New to SQL, here's my code:<br><br>
    if ( :P2_FILE_NAME is not null ) then<br>
    insert into DBA_PATCH_LOG(REMEDY_PARENT, LINK, FILE_NAME, SUBJECT, TASK_NAME, BLOB_CONTENT, MIME_TYPE)<br>
    select <br>:P2_REMEDY_PARENT,id,:P2_FILE_NAME,:P2_SUBJECT,:P2_TASK_NAME,blob_content,mime_type<br>
    from wwv_flow_files where name = :P2_FILE_NAME;<br><br>
    delete wwv_flow_files where name = :P2_FILE_NAME;<br>
    end if;<br>
    and<br>
    if ( :P2_FILE_NAME_TWO is not null ) then <br>
    insert into DBA_PATCH_LOG(LINK_TWO, FILE_NAME_TWO, SUBJECT_TWO, BLOB_CONTENT_TWO, MIME_TYPE_TWO) <br>
    select id,:P2_FILE_NAME_TWO,:P2_SUBJECT_TWO,blob_content,mime_type<br>
    from wwv_flow_files where name = :P2_FILE_NAME_TWO;<br><br>
    delete wwv_flow_files where name = :P2_FILE_NAME_TWO;<br>
    end if;<br><br>
    ERROR MESSAGE RECEIVED: ORA-06550: line 8, column 1: PLS-00103: Encountered the symbol "AND" when expecting one of the following: begin case declare else elsif end exit for goto if loop mod null pragma raise return select update while with << close current delete fetch lock insert open rollback savepoint set sql execute commit forall merge pipe
    Message was edited by:
    LeoG
    Message was edited by:
    LeoG

    Leo,
    What are you trying to do with the "and"? It does not seem to fit in between the two if statements. Just remove the "and".
    Shakti
    http://www.impact-sol.com
    Developers of Guggi Oracle - Tool for DBAs and Developers

  • What is wrong with OSX and my battery?

    Note: I am not particularly great with computers - have mercy when explaining things, please!
    Anyway, when I shut the computer down everything seems to be normal, but when I try to retart the battery is dead. When I plug it in and start up I get a popup that says something like OSX has shut down unexpectedly. Can anyone help me out?
    My computer is a MacBook with a"2 GHz Intel Core Duo".
    When after restart the popup asks me if I want to send a report to Apple I get this text:
    panic(cpu 1 caller 0x001A3135): Unresolved kernel trap (CPU 1, Type 14=page fault), registers:
    CR0: 0x8001003b, CR2: 0x00000002, CR3: 0x00d7e000, CR4: 0x000006e0
    EAX: 0x00000002, EBX: 0x0153ecb0, ECX: 0x025dd6c8, EDX: 0x0153ecb8
    CR2: 0x00000002, EBP: 0x13e93b78, ESI: 0x02b94000, EDI: 0x00000000
    EFL: 0x00010202, EIP: 0x0014134b, CS: 0x00000004, DS: 0x13e9000c
    Backtrace, Format - Frame : Return Address (4 potential args on stack)
    0x13e93978 : 0x128d1f (0x3c9540 0x13e9399c 0x131df4 0x0)
    0x13e939b8 : 0x1a3135 (0x3cf1f4 0x1 0xe 0x3cea24)
    0x13e93ac8 : 0x19a8d4 (0x13e93ad8 0x206 0xe 0x3b0048)
    0x13e93b78 : 0x12d994 (0x153ecb0 0x1 0x26fed44 0x3bc973)
    0x13e93ba8 : 0x12d9b3 (0x4 0x1 0x13e93bd8 0x3bc2b6)
    0x13e93bc8 : 0x3bdee3 (0x4 0x2b94000 0x13e93bf8 0x3bc385)
    0x13e93be8 : 0x3bdf57 (0x268d9a0 0x26fed40 0x13e93c18 0x38337e)
    0x13e93c18 : 0x3915d1 (0x268d9a0 0x25c6c00 0x11 0x0)
    0x13e93c58 : 0x3916c8 (0x2b94000 0x0 0x2b40200 0x3bb77e)
    0x13e93c88 : 0x391c57 (0x26c8b00 0x2b40200 0x1 0x0)
    0x13e93cd8 : 0x392996 (0x26c8b00 0x1 0x13e93d18 0x0)
    0x13e93cf8 : 0x39161f (0x26c8b00 0x11 0x0 0x0)
    0x13e93d38 : 0x3916c8 (0x26c8b00 0x0 0x26c8e80 0x3bb77e)
    0x13e93d68 : 0x391c57 (0x26b7e80 0x26c8e80 0x1 0x0)
    0x13e93db8 : 0x392996 (0x26b7e80 0x1 0x13e93df8 0x1)
    0x13e93dd8 : 0x39161f (0x26b7e80 0x11 0x0 0x1) Backtrace continues...
    Kernel version:
    Darwin Kernel Version 8.8.1: Mon Sep 25 19:42:00 PDT 2006; root:xnu-792.13.8.obj~1/RELEASE_I386
    Model: MacBook1,1, BootROM MB11.0061.B03, 2 processors, Intel Core Duo, 2 GHz, 1 GB
    Graphics: Intel GMA 950, GMA 950, Built-In, spdisplaysintegratedvram
    Memory Module: BANK 0/DIMM0, 512 MB, DDR2 SDRAM, 667 MHz
    Memory Module: BANK 1/DIMM1, 512 MB, DDR2 SDRAM, 667 MHz
    AirPort: spairportwireless_card_type_airportextreme (0x168C, 0x86), 0.1.27
    Bluetooth: Version 1.7.9f12, 2 service, 0 devices, 1 incoming serial ports
    Network Service: AirPort, AirPort, en1
    Serial ATA Device: TOSHIBA MK6034GSX, 55.89 GB
    Parallel ATA Device: MATSHITADVD-R UJ-857
    USB Device: Built-in iSight, Micron, Up to 480 Mb/sec, 500 mA
    USB Device: Apple Internal Keyboard / Trackpad, Apple Computer, Up to 12 Mb/sec, 500 mA
    USB Device: IR Receiver, Apple Computer, Inc., Up to 12 Mb/sec, 500 mA
    USB Device: Bluetooth HCI, Up to 12 Mb/sec, 500 mA
    Macbook Mac OS X (10.4.8)

    If the battery runs completely out while the machine is running, it basically kills the OS in its tracks, which isn't a good thing -- thus the warning. Of course, the machine is supposed to put itself to sleep when the battery gets too low, to prevent this sort of thing. But if the machine is restarting at the time, it can't really do that, and will just keep running through the restart process until the battery is totally empty, and then it'll conk out.
    What I'm not sure of, though, is whether you're saying that this happens every time you try to restart, regardless of the battery level, or if it just happens now and then (undoubtedly at times that the battery is nearly tapped out). If the battery dies every time you restart, even if it was 100% full beforehand, you've got problems. What those problems might be, I don't know, but you might want to take it to the closest Apple store and have them take a look at it. If it's still under warranty, they ought to fix it free.
    If it's only happening when you restart when the battery is low, the fix is: don't do that. Restarting tends to be a somewhat expensive operation, in terms of power consumption, since the machine's got to run the hard drive a lot more than during normal use. You don't want to go restarting off the battery unless it's really necessary, and only then if you think you've got enough battery reserve to get fully started up again.

  • No matter what website i go to mozilla goes straight to problem loading page. i clearly have internet connection but it won't go to any websites. what's wrong with it and what should i do?

    i had this problem before. i went to the IT department in my school and they fixed but i dont know how. now it's happening again and i don't know what to do. i've been using internet explorer so i do have internet connection, but i mozilla is way faster and more reliable so i really need this problem to get fixed please and thank you.

    Do a malware check with some malware scanning programs on the Windows computer.<br />
    You need to scan with all programs because each program detects different malware.<br />
    Make sure that you update each program to get the latest version of their databases before doing a scan.
    *http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
    *http://www.superantispyware.com/ - SuperAntispyware
    *http://www.microsoft.com/security/scanner/en-us/default.aspx - Microsoft Safety Scanner
    *http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
    *http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
    You can also do a check for a rootkit infection with TDSSKiller.
    *http://support.kaspersky.com/viruses/solutions?qid=208280684
    See also:
    *"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked

  • What's wrong with Siri and Voice dictation?

    Neither Siri or voice dictation is working today.
    Any idea what the problem is?

    I was having problems with dictation for days - the 3 dots would just vibrate a second, and then disappear.  It wasn't an internet connection issue at all.
    Finally found a (bizarre) solution on another site - use Siri to dicate a text (e.g., activate Siri; tell it to send a text to ________; then she'll ask you for the content and you say what you want), then tell her to send it.
    Voila, now if you go to use dictation, it works again.  (At least, that bizarre method worked for me -- I tried dictating an email and it didn't work; used Siri to send a text; then went back and tried dictation again and it was working perfectly.)

Maybe you are looking for

  • Using "as" in DUAL statement produces error

    Hi, SELECT 'abcefghijklm' AS str FROM DUAL WHERE str IN ('a','e','i','o','u'); This produces an error message - "STR": invalid identifier Is such a comparison using a field name invented using "as" always invalid - is there no way around it? What I a

  • Solaris 10 Upgrade no Graphical Environments

    I just upgraded my little Ultra 10 (300Mhz, 256MB, 40GB disk) from Solaris 9 to Solaris 10. I basically selected "everything" and after hours of feeding CDs it finished and I just get the console login. I turned on the login server. Reboot. No CDE. I

  • Is it possible to publish a project with a different resolution than the native project resolution?

    I think I know what the answer is going to be here, but I'm going to ask anyway. The background here is that I've made a few demo videos for new products and features my company is working on. I'm using CP4 for this. Our marketing department wants to

  • Searching for software/driver to link sprint katana & ibook g3

    hello all, just joined the forum. i confess to being a techno-klutz and am on a slow continuous learning curve...aarrgghh!! there is a tremendous wealth of knowledge here - if i just knew how to put it to use - and alot of knowledgeable and helpful f

  • Why is my cache clearing? I get low PLE

    Monitoring the system today returned the following: In our production server we have 32GB of RAM SQL uses 26-27GB 6 GB (static) of that are "stolen" – used for other stuff that are not database caching or managing. 0.5GB (static) are used for locking