Why can't TLD files be shared?

First, a disclaimer: I'm an absolute newbie to JSP programming, so I may easily be overlooking something. If so, please point me in the right direction. :)
Second, a complaint (and I have a hard time believing that I'm the only one that's ever had this problem): why can't TLD files be shared between applications?
Where I work (at a university) we don't write single, stand-alone "applications"; we write "systems." A single system consists of multiple interdependent application, each of which may share aspects of their presentation with (potentially) many other applications.
Sure, I could put the tag library definition files in the WEB-INF directories of each of these applications. Then, each application can access the tags no problem, right? Right.
However, what happens when one of those tags is updated, or a new tag is created? I suddenly need to redeploy many (possibly more than 100) applications, just so that I can update the silly little TLD file in the WEB-INF directory of each of those WAR files.
Am I the only one that feels (strongly) that this is a major flaw in the design of JSP? Is there some obvious way to share these files that I am overlooking? Any help would be very welcome, but frankly, this is really discouraging me. For all the talk of JSP promoting component reuse, this one issue seems like a major argument in the other direction...
- Jamis Buck

Hi Jamis
According to JSP Spec :
The TLD resource path is interpreted relative to the root of the web
application and should resolve to a TLD file directly, or to a JAR file that has a
TLD file at location META-INF/taglib.tld. If the TLD resource path is not one of
these two cases, a fatal translation error will occur.
It must be possible to share the tld file as long as it is possible to share a jar file ;)
I will provide you with more information and example later.

Similar Messages

  • HT3819 Why can't I get Home Sharing to work since updating iTunes to 11.1?

    Why can't I get home Sharing to work since updating iTunes to 11.1?

    Did you restart your router?  Did you check Firewall settings?
    See http://support.apple.com/kb/TS2972

  • Can't copy file from Shared Folder

    Hi,
    Does anyone here knows how to copy file from shared music. I can view others shared music but can't do anything about it. When I tried to Right Click on music I want to copy. There are only 3 options (Get info, Unchecked Selection & Copy). I chose copy, but don't know what to do next. I wanted to place it in my Library but don't have an option to do it.
    Please help.
    Thanks,
    guadz

    I've never copied music, but have you tried just dragging the file to your library? Not 100% sure if it works, never tried it myself. Also, if you right click in your library, can you paste?

  • Can I open file in shared mode so that multiple users can write at same tim

    Hi,
      I want to write to a trace file from a user exit and BADI. But I want to create only one trace file in which multiple users can simultaneously append. Is it possible to do this? How? Code could really help as this is urgent.
    Thanks for reading.

    Hi,
    I think we can use the locks shared or exclusive locks concept here
    you can find examples in this section on how to implement them -
    http://help.sap.com/saphelp_47x200/helpdata/en/41/7af4c5a79e11d1950f0000e82de14a/frameset.htm
    There are two types of lock in the R/3 System:
    Shared lock
    Shared locks (or read locks) allow you to prevent data from being changed while you are reading it. They prevent other programs from setting an exclusive lock (write lock) to change the object. It does not, however, prevent other programs from setting further read locks.
    Exclusive lock
    Exclusive locks (or write locks) allow you to prevent data from being changed while you are changing it yourself. An exclusive lock, as its name suggests, locks an application object for exclusive use by the program that sets it. No other program can then set either a shared lock or an exclusive lock for the same application object.
    Regards
    Chandralekha
    Regards
    Chandralekha

  • Why can't i see a shared library on my iphone when the computer is ethernet connected instead of wifi ?

    Why can't i see on my iphone a shared library from a computer ethernet connected instead of wifi ?

    It works fine with wi fi connected computer, and i can see the library on my other computers, but not on the iphone

  • Why can I access files using ubuntu live cd but not my mac?

    Hello,
    Every since I have upgraded to Lion then to Mountain Lion I have had nothing but trouble with my mac crashing and not being able to repair the harddrive. I use time machine with an external hard drive to back up everything (also using online server to back up things as well).
    My issue is that disk utility never works ( ever ) and when I have trouble the hard drive and my external hard drive always show up grayed out and disk utility says the disk is broken and cannot be repaired. Which the disk are fine because I can access them using a ubuntu live cd no problem.
    My main question is how is this not being addressed by apple? This is clearly a bug - there is nothing wrong with my external harddrive or my macs hardrive - yet when I restart my mac I fear it will never start again(in its current state) and the disk utility just doesn't work the only answers I ever get is the hard drive is bad (which is not the case being I can access it with the ubuntu - or even reinstall everything and it works fine etc...)
    There is some major bugs and I can say I never had these problems losing my data with a windows machine (though I am not a big windows fan). Apple why doesn't the disk utility work?
    Also why when I update my mac and the mac restarts itself does it not eject my external hardrive - also why if you don't eject the harddrive it ruins the data on the hard drive or at least makes it grayed out or corrupt in my mac - but I can copy the files in ubuntu and put them back then it works just fine? These are serious issues and I am really shocked that the mac community would stand for this kind of thing - I am not the only one with these issues I see thousands of others with the same issues so when are they going to be fixed?
    If what I am saying is unclear - just google mac hardrive cannot be repaired - and set the time for the last month you will see. Also to those who have these troubles simply use a ubuntu live cd - copy all your files to the home folder then place them back to where the reside and mac will reconize them again - worked every time for me so far no thanks to disk utility.

    Your booting off a Ubuntu disk which has it's own operating system on it and on another medium that is free of issues, unlike your current hard drive running OS X 10.8.
    I really don't advise you directly installing Linux on a Mac as it's much more complicated that it appears. Also I don't advise you using Linux anything to tinker with a Mac unless you really really know what your doing.
    Since your Mac's software is broken you don't know currently and shouldn't be using Linux as a band-aid solution to your problem.
    My suggestion is you FIX your primary boot drive.
    disk utility says the disk is broken and cannot be repaired
    This calls for a complete zero erase and install of the affected area, if it's just the Macintosh HD partition then fine, it's a hold command r boot into Recovery HD and use Disk Utiltiy there to Erase with the middle secure erase feature (important) and then a reinstall of OS X 10.8 from Apple's servers over a fast Ethernet connection.
    If your GUID partition table or Recovery HD is affected, then you need to command option r boot into Internet Recovery and select the entire hard drive for the same zero/middle erase proceedure, unless you have a older MacBook Pro then you need to use option key boot off the 10.6 disks and use the Secure Erase/ Zero on the entire drive, install 10.6, then update to 10.6.8, then AppStore upgrade to 10.8 again.
    You need to only restore user files into same named accounts from a Storage Drive backup, do not use Migration or Setup assistant as your TimeMachine drive data is likely corrupted. This means all new softwre installs from original sources as well.
    Read through my many User Tips, you'll be fixing your own machine in no time.
    https://discussions.apple.com/community/notebooks/macbook_pro?view=documents#/?p er_page=50
    also why if you don't eject the harddrive it ruins the data on the hard drive or at least makes it grayed out or corrupt in my mac
    Windows and Linux also has to "safely remove hardware" or "unmount" before ejecting a drive as well or it corrupts the data.
    I guess this feature came about so one can disconnect a drive without having to physically remove it and wear out the ports doing so.

  • Why can't create file under /home directory?

    I user solaris10, and login as root,I find I can't create any file or directory under /home directory! It say "operation not applicable" ,Why? I am puzzled it for a long time. Anyone could tell how to do it?
    Thanks

    For Solaris,
    /home is not an on-disk file system, it is a file system under the
    control of the automounter, and only the automounter can create
    directories/files in it.
    If you don't want the automounter to manage /home, then remove the
    "/home" entry from /etc/auto_master
    (and issue the command "automount -v" to force the file
    to be reread, or reboot).
    However, the typical setup for Solaris is to locate user's home directories
    in /export/home.
    Kapil Khanna

  • Why can i rm files owned by root in my home?

    The code says it all:
    chris@chriseee> touch test.txt
    chris@chriseee> sudo chown root:root test.txt
    chris@chriseee> sudo chmod 000 test.txt
    chris@chriseee> ls -la test.txt
    ---------- 1 root root 0 Feb 25 14:22 test.txt
    chris@chriseee> rm test.txt
    rm: remove write-protected regular empty file `test.txt'? y
    chris@chriseee> ls -la test.txt
    ls: cannot access test.txt: No such file or directory
    chris@chriseee> groups
    lp wheel video audio optical storage scanner power users chris
    chris@chriseee>
    Why can I do this?

    Cdh wrote:
    We had a java app that exports some date to a file. We wanted to thest the exception when we could not write to a file but java just removed the file and created a new one with sufficient permissions.
    That was not quite what we expected.
    So there is no way to create a file in a home dir where noone can "write to" by removing the file and creating a new one?
    chattr -i?
    chris@chriseee> touch test.txt
    chris@chriseee> sudo chown root:root test.txt
    chris@chriseee> sudo chmod 000 test.txt
    chris@chriseee> sudo chattr -i test.txt
    chris@chriseee> ls -la test.txt
    ---------- 1 root root 0 Feb 25 14:51 test.txt
    chris@chriseee> rm test.txt
    rm: remove write-protected regular empty file `test.txt'? y
    chris@chriseee> ls -la test.txt
    ls: cannot access test.txt: No such file or directory
    chris@chriseee>
    panuh gave you the solution:
    sudo chattr +i <file>
    However, if you want to delete it later you have to remove the attribute with
    sudo chattr -i <file>
    because it can't be deleted even by root.

  • HT201413 Why can't I get Home Sharing to show up in my Itunes?

    I have three computers authorized on my Home Sharing, but when I call up Itunes on any of the computers, Home Sharing computers do not show up.  Can someone help me.  I just got a new computer and can't seem to get my Itunes library switched over.

    Hi gallaleo3!
    We have an article here that can definitely help you get your information moved over. That article can be found right here:
    iTunes: How to move your music to a new computer
    http://support.apple.com/kb/ht4527
    We also have an article that can help you troubleshoot Home Sharing:
    Troubleshooting Home Sharing
    http://support.apple.com/kb/ts2972
    Thanks for using the Apple Support Communities!
    Cheers,
    Braden

  • Why can I no longer mount shared volumes?

    I've got a couple macs that I've been sharing content on for a long time and suddenly I can't see all the volumes on one of the computers. Computer A connects to Computer B via afp. I log in as Admin user and I used to be able to see the 2 internal hard drives but now when I connect, I only see the system drive and my user folder. I need to be able to connect to the 2 internal hard drives. I've even manually dropped one of the drives in the "shared" folder of sys prefs and it still doesn't show up. Any ideas why?
    I've recently checked the "ignore permissions" on this volume check box because I was having all kinds of issues with the shared drive. Could that be it? Why would ignoring permissions keep it from showing as shared?

    any ideas?

  • Why can't i find Home Sharing on my iPhone 4?

    I want to enable Home Sharing on my iPhone but it isn't listed in my phone to connect to Home Sharing. Also my iPhone is from Verizon...

    Actually modular747 your right i don't have a question.  I was responding to the original poster as to why he can't find home sharing on his iphone.  And you misquote me, I did not call you lying apple employees.  Maybe you should read my posts.  But let me quote myself for you since you won't read,
    "If they are liars about the iPhone 4 on their website they don't mind lying about iOS 5.  Telling a half truth is still a lie."
    And I asked if wjosten was an Apple employee.  If you don't tell the truth, what are you? A liar.  If you murder someone what are you?  A murderer.  So I am just saying if Apple Inc. tells half truths then to me they are still liars.  Thats all.  I did find the link useful though. At the top of it it leads prospective users to believe this statement.
    The world’s most advanced mobile operating system keeps getting better. Download the free iOS 4.3 Software Update and get new features that let you do even more with your iPhone, iPad, and iPod touch. The software update is free. It’s easy. And you can download it right now.
    Funny that even at the bottom of the page it doesn't mention a difference between AT&T or Verizon phones.

  • Why can't I File-export-render video into a mpeg 4 rendering into a small .mov file format in cs6?

    I create short videos using the PS frame animation panel. I used to be able to FILE-export-render video- and choose MPEG-4 Video in the settings panel which would render my file into a small .mov file. Now in CS6 the new render video panel does not have that option. I tried the QT options in the export window and my file is hugh! The H.264 option gives me an .mp4. I put the .mp4 into my web page via Dreamweaver and my video does not play when uploaded into the sever. The video plays fine in Dreamweaver before I upload to the server. After I upload to the server I just get a Q and no video on my web page.  If I render the same file in CS5 I am able to view it in my web page. ADOBE WHY DID YOU CHANGE YOUR EXPORT VIDEO RENDERING OPTIONS in CS6?

    ADOBE WHY DID YOU CHANGE YOUR EXPORT VIDEO RENDERING OPTIONS in CS6?
    This is a user-to-user Forum, so even though several Adobe employees do thankfully contribute do not assume you are talking to »Adobe«.

  • I can not imagine why I have to mention this but  why can multi-layer files not be opened in touch?

    There are many reasons for the use of programs such as this and at the top of this list must be using layers, without them it would be easier to use a sheet of paper or a sketchbook scan and complete in photoshop at home.

    I don't totally get your comment. You can use layers in Touch, they just have to a touch file type (I'm not sure about bringing over photoshop files, as I've never done it.). I have my own wish list for this app, but I suspect we all have to be a bit restrained as to what we should expect out of a $10 program.
    David

  • Can't see files on shared network computer - help...

    I have an iMac with OS 10.6.3 and am using a Linksys router. I cannot connect wirelessly to it (another issue), but I am hardwired via an Ethernet connection. My PC netbook is connected wirelessly to the router. Via Finder, I see the name of my PC, but I cannot view any of the shared files. File Sharing is turned on. Is there anything I should be checking on the Mac to be able to do this? thx.

    In Finder try the 'Connect to Server' option in the 'Go' drop down list, Put the IP address or the FQDN of the PC if it has one. eg.
    smb://192.168.1.15/sharename
    Have a look at this Apple help page
    http://support.apple.com/kb/ht1568

  • Why can't I use screen sharing with AIM using Mountain Lion?

    Hi everyone: I am 100% sure that my friend and I both have active, valid AIM supported user names and can exchange messages but CANNOT video chat or share screens as befo rewith iChat. Anyone know what the issue may be? Am I alone or is this a known issue with a fix? Bot of us are running Mountain Lion using iMessage prgram but are online and "Available: with AIM.
    Thanks,

    Hi, I'm not often on AIM/iChat, but do you care to share your screenname & setup a time to try it?
    If you don't wish to show your eMail to others in your profile, you can contact me by joining my site...
    http://x704.net/bbs

Maybe you are looking for

  • Iframe shows only code - Help, please!

    I'm on OS X 10.4.5 and have designed a website that uses iframes (this is a must as there is a lot of content and I do not want the page bigger than the set size, so I need a way to scroll the content within the page size (955x600). I use Firefox for

  • FTP Time Out - Cannot Open Remote Folder

    I am using Dreamweaver CS3 and windows Vista.  I have set-up site definition (with user id and password) and used to be able to connect to the remote server, open remote folders, and upload and download files using Dreamweaver.  However, all of sudde

  • Help with FW drop shadow

    I have created a website in FWCS3 and when I put a background behind it (in DWCS3), the drop shadow effects I have do not work with any colors other than white.  Can anyone give some advice?  If I use another color for the background the shading look

  • EVHOT -- Locking the current view

    Hello experts, We have a situation where we are using EVHOT to open a detail input schedule from a summary input schedule. The detail schedule captures and submits data,using a selection criteria from a summary level input schedule, we don't have any

  • Unwanted Blackberry email messages

    I'm getting tons of email messages like the one below. Is this normal or some kind of junk mail.Or how do I remove? "This message is used to carry data between the BlackBerry handheld and an associated server. Please do not delete, move or respond to