Embedded tags

I inherited some code from a previous developer. It looks like this:
<jsp:param name="xx" value="<jsp:getProperty name="yy" property="userName" />" />
I'm getting an error and haven't done this sort of embedding before. Is this type of embedding possible and if not what would be a better way to implement this idea?

Thanks for such a quick response :) I've already tried adding the \ before the " marks with no luck. The error I'm getting is:
org.apache.jasper.JasperException: /xxx.jsp(x,x) jsp.error.badaction
when i eliminate those lines of code everthing compiles fine, but of course I need the functionality they are supposed to provide. Thanks again for any help you can give.

Similar Messages

  • Incorrect functionality of Embedded tag in html page, displaying object on top of all layers of Adobe air application native window

    Title
    Incorrect functionality of embed tag in html loader for adobe air development
    Description
    Problem Description: If we had loaded youtube.com video url in a view stack and navigate to other index of stack or away from we UI screen within the same native window video or embeded tag of flash player or any other embed object will be displayed on top of all screens layer in same position of where the object should be placed in side of html loader only.
    Steps to Reproduce:
    1) go to http://get.straweb.com/StraWebBrowser/StraWebBrowser.air download and install
    2) load 2 tabs and in the 3 tab load video player of youtube.com which will a sample video
    before completing the load of 3 tab which trying to load video from youtube.com, navigate to other tabs 1 or 2 in few second once the flash player of youtube.com video player is load it will display in the current tab or UI screen.
    3) Try navigating to other tabs than youtube.com loaded tab you see the flash player is on top it stable.
    4) navigate to 3 tab and try to navigate to other tab you can observe that so how it will not show that flash player and only visible in that 3 tab which is fine.
    Actual Result: Embedded tag of html page displaying on top of all layers of Adobe air application native window
    Expected Result: Embedded tag of html page should only displayed in side htmlloader
    This you can replicate in any adobe air plugin update and on any Hardware and Environment.
    Applicable to all sdk versions of adobe air.

    Adobe Bugbase: Bug 3823839 Incorrect functionality of embed tag in html loader for adobe air development

  • JDOM and text embedded tags

    Hi all!
    I've just been using JDOM for some XML parsing right now and it works really fine. But I have one problem I can't find a solution (but I think it should be possible and quite simple).
    Given the following XML for example:
    <document>
      <item>
        Some text here
        <item> Hugh? </item>
        Some other text here...
      </item>
    </document>Now item.getText() returns me "Some text here Some other text here..." and item.getChild("item") returns me the embedded item. So far so good.
    But I need to translate this XML document to another format automatically. Therefore I need to replace the XML items with some other text - here is the problem that I need to get the text before the embedded tag then the tag itself and replace it and then the text afterwards. But getText() returns the entire text at once.
    Since (X)HTML can do this with a <div> inside a <p> there must be a way - but I can't find it (or maybe im totally blind).
    Thanks for any hints!
    Jan

    Hi
    Trying to get a picture of it.
    • Free Space on Your Start-Up (Mac OS) Hard Disk. How Much ?
    • Any other hard disks connected ?
    • If so - Formatted as ?
    Yours Bengt W

  • Using JEditorPane.selected() with embedded tags.

    Ok, I've been searching the forums and tutorials for about an hour tonight, and I've seen this question asked in many forms but never answered.
    I am writing an applet which uses embedded HTML and some custom tags in a sub-class of JEditorPane that I wrote. I need to be able to get the position of certain tags within the text, which I can do using the JEditorPane.getText() method. But now that I've found the right tags, how can I highlight text contained within them in the visible Pane?
    e.g.:
    getText() returns
    <html>
    <head>
    </head>
    <body>
    Check</shu_ind> this <shu_dep>out</shu_dep>
    </body>
    </html>
    And these shu tags are the ones I want to use. I can parse the text and grab the right position, but when I select(begin,end), it's off by a lot b/c select() doesn't look at any embedded info.
    What can I do?

    I don't think it's the same as I'm doing. Essentially, I have a JEditorPane subclass, which just has a few custom tags in it. I don't need them to be recognized by java, since it will be uneditable, but I just need to know how to convert from the getText() locations to the actual displayed text locations.
    Also, when I set the text as text/html, it creates a bunch of extra HTML tags, so it's larger than the original String used to create it.

  • Embedding tags in files for viewing and searching in other software

    Hi,
    I'm a bit confused about how tags are associated with files.  I recently transferred all my photos to a new computer and lost some, but not all, the tags I had added to my photos within Elements Organiser.  I am in the process of archiving all my old family photos by scanning slides, negatives and prints. I'm working on a Windows computer.  Most are being saved as TIFFs but I also have JPEGs and RAW files.  I want future generations of my family to be able to search these photos by using first name tags for example.  They may not have Photoshop.  My daughter uses a Mac and different software.
    I see that under the File menu there is an option 'write keyword tags and property info to photo'.  Will this save this info so that it can be found and searched in other types of software?  If so, does this apply to all types of photo files?
    And another quick similar question - when I change the date of the photo under the thumbnail in Organiser is this saved to the file?
    Thnaks for any help you can give me.
    Stuart Logan

    I think you are confusing the value and purpose of JPGs vs TIFFs vs RAWs.
    You always (that's always) save your originals. These are either the photos straight out of the camera, or straight out of the scanner. You may choose to make other versions of these photos for other purposes.
    So ... keep your originals. Keep your edited versions. When you need to send photos to somewhere else, you can make JPGs of them, and send them (after which time you could delete the JPGs if you want). If space is a problem, the generally accepted wisdom is that hard disk space is cheap, that 1 terabyte hard drive are well under 100 dollars US; so the optimal strategy is to get extra hard disk space rather than delete the originals.
    Regarding the codecs that enable you to see the RAW photo thumbnails in Windows: these will NOT allow you to see the edits you make in ACR/PSE. Nor does it help to allow you to search for keywords in DNG files. You have hit upon a disadvantage to using DNG versus RAW; if you use RAW, the tags get written to a sidecar (text) file, and these are searchable using Windows. If you use DNG, the tags are embedded into the DNG file, and are not searchable using Windows (although somewhere in the back of my mind, I thought I had heard that you can configure Windows to search for tags in DNG files, but the details, if this is true, escape me).

  • Archiving cds and why do i need id3 tags

    here comes another one of those questions looking at which codec to use to store music.....i also have tag questions.....
    i'm about to (re-)rip my cd collection and looking at some info re codecs and id3 tags
    now.....i believe i understand the benefits of alac (lower file sizes, keeping id3 tags, lossless compression) v wav(no compression)
    however (and for some out there) if we just entertain the fact that wav may have some minute benefit for me depending on my questions and answers given.....and yes i know wav and alac will sound the same to the human ear - i accept that as a given of lossless compression ......
    points i'd like to outline:
    i am looking to rip my cds, firstly and mostly, for an archiving purpose!! purpose numero uno!!
    i could well want to re-create cds with these archived records in the future
    size of files is of no concern to me at all
    i'm using a mac nowadays
    i will convert most of these files, where needed, to use with a portable music player (i'm not bothered with having, say a wav file and then also converting and having an alac file, as crazy as that sounds)
    this is where i ask for info re the benefits of embedded tags that are found in alac:
    are these tags that important?
    where do they come into play in ripping and later converting music?
    are these uses just bells and whistles that have no benefit to my needs?
    if i rip cds to wav (or aiff), say, using itunes, will cd info and track listings be available on the downloading database (eg itunes) to name these wav files?
    if i then ensure these song files are kept under the album's folder, have i just done what tags do? surely not. that is all i have needed in the past.
    this is where i feel i may be really missing what id tags (can) do
    are tags more than just managing song files and where they belong and where they have come from?
    is it just a convenience of not personally managing your song files (as per previous paragraph)?
    (in the past i had ripped cds to mp3 codec. i think i used "cd rip" or something like that on my pc.
    my mp3 files were individually named and sorted and kept under album folders under artist name folders.
    apart form the very odd occasion all track and album info i needed was found on a database that was attached to the ripping software.
    i never had a problem managing/maintaining these files and folders.)
    i welcome some enlightenment on some of my questions above and other info that may be relevant
    and yes, i understand that music will sound the same as a wav file or alac file - but humour me re using wav and tell me why i need id3 tags
    i guess the crux of it is:
    why do i need id3 tags?
    does my managing of my song file in the album folder do what tags do?
    what problems/shortcomings/headaches may i encounter by not having those tags if i use wav as opposed to alac?
    what do i not know about these little buggers?
    what codec is best for my purpose of archiving and re creating of cds (for playing in cd players)
    thanks in advance for your input and any clarity that i may experience through this
    peter t
    excuse my long windedness (i have spent some time editing this entry)

    Crows2012 wrote:
    as mentioned earlier if i just have songs (wav) in album folders, when i import these albums into itunes, do you know if these will come up under AN album with their file names purely using my filename setup (but with no artwork)?
    Yes, iTunes will read the filename, such as "Track 1" or something else and display it. But nothing else. No Album or Artist.
    so the tracks will remain grouped as an album based on their initial folder and the albums and tracks as per file name?
    Crows2012 wrote:
    also, does aiff have limitations (apart from the full size of the file)?
    I'm not sure I understand what you mean. For all practical purposes AIFF and WAV are exactly the same thing. They're just file containers.
    i thought that i had read somewhere that aiff tags could run into some issues with its tags - ie may not always be transferred 100% accurately with certain players (or hardware maybe)
    Crows2012 wrote:
    and how do these codecs work re-creating an album for the purposes of playing in a cd player? - this is a crucial question for the purpose of my archiving/backup of CDs THEMSELVES
    That's actually going to depend on what burning software you use. Once you rip the tracks to whatever file container you choose (WAV/AIFF/ALAC) you'll never really exactly re-create the album. But for archiving purposes all three file containers will do what you want, which is to create a lossless archive. AIFF has the advantage of supporting embedded ID3, which ALAC has the additional advantage of the files also being about half the size of AIFF/WAV files.
    i was thinking that maybe wav was able to recreate an album (in effect duplicate one) if my cd was lost or damaged in the future. i was thinking this IF when ripping to wav everything is unchanged (unless there is other data on the original cd). and maybe only possible with wav. the purpose for this would be to play recreated cds on my cd player
    any idea on this one?
    (i havent looked too thoroughly on this angle but i'll keep googling on this one)
    much appreciate all info thus far
    peter t

  • My iTunes library and metadata/ID3 tags issue

    Since 2010, iTunes is the only media player I use to play music. My library consists of music purchased from the iTunes Store, CD rips and stuff many artists these days release as freebies on the internet to promote a new album. Also, M4A and MP3 are the only formats I use so far.
    Since iTunes, I really got into editing my library's metadata tags by hand, in order to create a custom archive which serves my preferences best. I should mention that besides iTunes being the only software I use to play my music library, it's also the only software I use to edit their metadata. Also, before iTunes – when my library was on different media players – I never bothered with editing them.
    A few days ago, I found how a lot of people in forums complain about the way iTunes edits and stores metadata. So, I experimented and moved a few of my songs to other media players after editing their tags within iTunes. And indeed the tags and/or artwork were often displayed messed up and/or incorrect, some times partially and some times completely.
    Some people were referring to the version of the ID3 tags being the issue, while others suggested using the "convert ID3 tags" feature. I myself am a little bit confused. "Converting the ID3 tags" wasn't available for my M4A files and once I performed it for my MP3's I didn't know which setting I should apply or what version to choose. I chose one version randomly but I'm not sure what happened.
    My goal is to make my music library able to play and display my custom metadata on the majority of the popular media players. I hope that firstly this is possible and that secondly it won't be a solution which requires me going through every single song individually.
    I really hope that all those years work on my library wasn't for nothing.
    I'm using a MacBook running Snow Leopard 10.6.8 and my iTunes version is 10.7
    While my music library is more important that my iTunes version, I do like iTunes 10 more than 11.
    I apologize for any grammar mistakes, since English is not my first language. Thank you all for your time and any suggestion is welcome.

    itsjamesd wrote:
    Hello turingtest2 and thank you for your reply.
    In response to "a possible cause of problems is multiple embedded tags", what exactly does that mean and how can I avoid doing it in the future?
    Anything ripped with iTunes should get a single tag. If multiple tags in some of your older mp3 rips are the cause of the problems when you try to access the files elsewhere then you should apply the suggested remedy selectively, not to the whole library indiscriminately. Once fixed you shouldn't have the problem again unless you use different ripping software. If so check the options to ensure you generate a single ID3v2.3 tag. Downloads from elsewhere are pot luck.
    If I use Convert ID3 Tags>None before converting to v2.3 as you suggested, how many times is "several times" and why do I have to do it more than once? Also, what are your thoughts on 'v2.3 vs. v2.4'?
    Several is at least two, but more could be needed if a file has both v1 and v2 tags in multiple languages. If there are two tags, the first conversion to none should remove the first one, and the second conversion the second. Experiment, And stick to v2.3.
    In response to "the process removes any embedded art but otherwise preserves the data that iTunes knows". All fields excluding cover art remain the same? Does that mean that I will have to start from scratch and apply new cover art individually for each album? That would be too time consuming given the fact that I embed custom art.
    Yes, everything but artwork is held in the iTunes database and is restored with the final Convert ID3 Tags... v2.3. Use Doug's scripts SaveAlbumArtJpeg before you start and RestoreArtworkFromAlbumFolder afterwards to save and the restore your existing artwork.
    Also, what happens with my M4A files' metadata? ID3 tags are only used for MP3's, right?
    Yes, m4a/aac files have a different tag mechanism. Multiple ID3 tags is just one possible issue that you might have. You said:
    So, I experimented and moved a few of my songs to other media players after editing their tags within iTunes. And indeed the tags and/or artwork were often displayed messed up and/or incorrect, some times partially and some times completely.
    It might be worth going into some more detail about exactly what differences you noticed. iTunes can automatically associate (instead of embedding) artwork when it can match the album in the store which could be why some tracks didn't get artwork.
    tt2

  • Query to extract HTML tag with data

    Hi All,
    I have a string.
    '<HTML><HEAD>THIS IS HEAD.</HEAD><BODY>THIS IS BODY.<P>THIS IS P1.</P>NIMISH<P>THIS IS P2.</P></BODY></HTML>'
    I want to extract a html tag including its opening & closing tab with data as
    if i say P1
    then the output should be
    '<P>THIS IS P1.</P>'
    for P2
    then the output should be
    <P>THIS IS P2.</P>
    please help me in writing this query with regular expression
    i have tried it as following but it is not giving desired result:
    WITH T AS
    SELECT
        '<HTML><HEAD>THIS IS HEAD.</HEAD><BODY>THIS IS BODY.<P>THIS IS P1.</P>NIMISH<P>THIS IS P2.</P></BODY></HTML>' STR
    FROM   
        DUAL
    SELECT REGEXP_SUBSTR(STR, '<P>.+P2.+</P>') FROM T
    Thanks & Regards
    Nimish GargEdited by: Nimish Garg on May 7, 2012 5:49 PM

    Nimish Garg wrote:
    My requirement is to extract a <tag>data</tag> from a HTML/XML string
    where data contains any specified value.HTML is not XML.
    And that is a critical distinction to make. HTML parsing is horribly complex. XML is quite easy. For HTML you have to code your own parser in PL/SQL. XML can be parsed using the XMLTYPE class/data type in PL/SQL.
    So if you need to find a single specific tag in HTML - I would not try to treat it as XML. I may not even try to use regular expressions.
    I would do a basic substring search for the start of the tag. Read the data following the tag. Ensure that there are no nested or embedded tags in the data. Until the end tag is read. Because HTML is that much abused - and because that is an accepted norm as parsers used by browsers deals with that abuse without complaining.
    Proper HTML is mostly a myth in my experience of "screen scraping" web servers for data extraction as they do not have web services supplying the data.

  • ITunes tags to ID3 tags

    Hi, I made a previous question, but now I see it again, I see it can be misleading, so I'm rewrtiting it:
    I have managed to have my itunes library quite neat now, all the artists and songs tags are the way I like them to be. However, I have noticed that wheneve I change a Tag in iTunes, it isn't doing the same for the original file, so whenever I re.upload a file, it is the way it was before, not neat.
    Is there a way to have those iTunes tags "sent" or "fixed" to the orignal music file?
    Thanks a lot!

    If by original you mean another copy of the file left outside the iTunes media folder while iTunes is working with a copy made during import then iTunes has no further interest in the originals.
    If you mean that changes made to metadata in iTunes don't appear to be reflected when the same file is viewed in Windows Explorer or if the file is imported into a new library then the most likely cause of this is multiple embedded tags. iTunes works best when there is a single id3v2.3 tag. Select a couple of test files, right-click and use Convert ID3 Tags > None, repeat two or three times, then Convert ID3 Tags > ID3v2.3. Now see if updates are properly carried through. You'll have to reapply any embedded artwork. If it works repeat with other problem files.
    For the future backup your library regularly with this User Tip.
    tt2

  • ITunes Library and ID3 Tags cause confusion

    Okay, so this is what happens. I play a song that has Garage as the genre, but right after I double click on it, the genre changes to Other, and the track name shortens. Now, this doesn't happen with every file, but it happens with enough files to get really annoying. And no matter how many times I change it, it will always revert when I play the song.
    I have an idea of what's happening, but I don't know how to fix it. My hypothesis is that the data in the ID3 Tag and the iTunes library are different, and when I edit the song tags in iTunes, it is changing the library data, but not the ID3 tag on the song file. I would use an ID3 tag editor, but all of them I have seen do not give access to Grouping and some of the other fields. I also use Serato Scratch Live, which accesses my iTunes music, for DJing.
    Is there anyway to tell iTunes that it needs to write tag data to the ID3 on the song? I have searched preferences, but there is nothing concerning this.

    YES... this is seriously messed up. It was the same issue in 7.5 and is now obviously present in 7.6. I would guess that many people don't see it because they never do anything with their mp3s after they are in the library, or if they make tag changes they never have to reimport the files. Or they don't care.
    I've spent a LOT of time over the past 6 months cleaning up tags, adding details, adding artwork and ripping CDs and now have about 500gigs of tunes in my library. The symptom is the same.. after I've changed or added tags they look fine. If I then bring them into itunes on another mac (this is a shared drive) the edited tags all disappear and revert to either what they were before my edits, or disappear completely. Interestingly (maybe a hint as to whats happening) if I embedded artwork in the file, IT stays, but other tags revert/disappear.
    What is the deal here? I can't really see any pattern, some mp3s were downloaded, some were ripped by me, some are CBR others VBR. I have full read/write permissions. MOST of the time I can edit tags and it sticks. its about 10-15% of them that have problems. I've also tried changing the tag to NONE to remove it and then create a new one but that doesnt consistently fix things either. Its either a conflict between the iTunes database and the embedded tags as you suggest or perhaps a conflict between different ID3 versions.
    I'd like to hear how other people have got around this... Looks like I've got about 15% of six months of on again off again work down the drain since the tags don't exist in the files (or they're corrupt now).

  • Changing id3 tags from iTunes to original file

    Hi! I have been changing a lot of id3 tags to the files through iTunes but it doesn't change it for the original file. Is there anyway to make that work? Thanks!

    If by original you mean another copy of the file left outside the iTunes media folder while iTunes is working with a copy made during import then iTunes has no further interest in the originals.
    If you mean that changes made to metadata in iTunes don't appear to be reflected when the same file is viewed in Windows Explorer or if the file is imported into a new library then the most likely cause of this is multiple embedded tags. iTunes works best when there is a single id3v2.3 tag. Select a couple of test files, right-click and use Convert ID3 Tags > None, repeat two or three times, then Convert ID3 Tags > ID3v2.3. Now see if updates are properly carried through. You'll have to reapply any embedded artwork. If it works repeat with other problem files.
    For the future backup your library regularly with this User Tip.
    tt2

  • Assigning bean property to custom tag's attribute

    1. The #{beanName.property} notation can only be used inside JSF tags.
    2. The attributes of custom tags does not accept embedded tags.
    e.g. <prefix:tagName attrib1="<jsftag>">
    I need to assign a bean's property to the attrib1 attribute. how do I do this?

    Alternatively, how can I assign the value of a bean property to a variable?
    e.g.
    <%
    int var=<bean.property>
    %>
    I can use the variable on the custom tag like this:
    <prefix:tagName attrib1="<%=var%>"> OR
    But this may not be the best solution though because I have to use scriptlets...

  • XSQL preseving HTML tags

    Simple question, hopefully with a simple answer:
    I am selecting through XSQL a description column that has embedded tags eg:
    . When this goes through XSLT it gets helpfully transformed into &#60;br/>
    Is there any way I can stop this happening?
    Steve

    Use the disable-output-escaping="yes" attribute on your <xsl:value-of> element to suppress the default escaping of reserved characters in the value.
    If you have a copy of "Building Oracle XML Applications", this is explained in Chapter 17 while working through the "Mini-Amazon.com-like" web store example to illustrate how to format HTML-based product "blurbs" from the database using XSLT.

  • Resetting Volume info?  Tags?

    Help!
    I tried to boost the volume of my AAC and mp3 files by shifting the volume readjustment bar in the 'get info' section up to the maximum. This didn't alter the volume, but just made all my tracks get to maximum volume at half way up my ipod's volume control.
    I then tried to put this back by moving the slider down to normal again. This has resulted in me ending up with everything now playing at a lower volume.
    I'm assuming there's now some embedded tag on each mp3 and aac file making the volume lower. How can I reverse this and get my files back to playing at their original levels?

    > I am using LabVIEW 5.0 on a MAC G4. ...
    > I tries to use the file function "Volume Info", but it always returns
    > the value 2,147,430,400 for the size (total storage space) and the
    > free (amount of free space).
    This bug was fixed in LV/Mac 5.1.

  • Reset volume levels?  Tags?

    Help!
    I tried to boost the volume of my AAC and mp3 files by shifting the volume readjustment bar in the 'get info' section up to the maximum. This didn't alter the volume, but just made all my tracks get to maximum volume at half way up my ipod's volume control.
    I then tried to put this back by moving the slider down to normal again. This has resulted in me ending up with everything now playing at a lower volume.
    I'm assuming there's now some embedded tag on each mp3 and aac file making the volume lower. How can I reverse this and get my files back to playing at their original levels?

    Well, something has DEFINITELY changed on my ipod, because the maximum volume is now lower, and it reaches that maximum volume when the volume level on the ipod is up to about 60%. From 60% to maximum it's all at the same level.
    I've checked all the other settings are as they were before - EQ off, sound enhancer at normal, preamp at normal and sound checker off. It's driving me mad.

Maybe you are looking for