Image Tag Library + scriplets

I installed the jakarta imaging taglib to do some auto resizing of images. It works well aside from the fact that i cannot get my scriptlet to work in the img source.
<img:image src="/images/<% x_productImage %>"
        dir="generated
        name="<% x_productImage%>-new"
<img:resize width="900"/>
</img:image>It doesn't throw an error. And the when i view source it ignores the entire chunk of code and displays nothing at all.
Does anyone have any idea how i can get scriptlets to work?
Here is a link to the taglib if anyone is interested
http://jakarta.apache.org/taglibs/sandbox/doc/image-doc/intro.html
and here is the doc on it
http://jakarta.apache.org/taglibs/sandbox/doc/image-doc/index.html

Well attributes to a custom tag, you need to use scriptlet expressions <%= expr %>, not just plain scriptlet tags <% javaStatement; %>.
Also, when you want an attribute to be dynamic, make the whole attribute dynamic, rather than half and half, like you have with the src attribute on this tag. It saves problems in the end.
Something like this I think:
<img:image src="<%= "/images/" + x_productImage %>"
        dir="generated"
        name="<%=  x_productImage + "-new" %>">
  <img:resize width="900"/>
</img:image>Cheers,
evnafets

Similar Messages

  • Error in using struts tag library

    Platform information:
    Windows XP
    BEA Weblogic Server 8.1 (Developer)
    Struts 1.1
    I am unable to compile the following JSP in weblogic because it says there is
    an error using the struts-html tag library. (Details about the error are mentioned
    after the JSP)
    My JSP file is:
    ===================================================================
    <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
    <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
    <%@ taglib uri='/WEB-INF/struts-template.tld' prefix='template' %>
    <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
    <%@ page import="com.hipaaccelerator.runtime.HARuntime" %>
    <jsp:useBean id='logonForm' scope='request' class='com.hipaaccelerator.hipaax.form.LogonForm'/>
    <html:html>
    <head>
    <title>Logon</title>
    <link rel='stylesheet' href="<html:rewrite page='/styles/default.css'/>" type='text/css'
    >
    <script language='javascript' src="<html:rewrite page='/scripts/default.js'/>"
    type='text/javascript'></script>
    </head>
    <body>
    <html:form action='/logon.do' >     
         <table border='0' align='center' >
              <tr><td height='10'></td></tr>
              <tr>
    <td align='center'>
    <html:img src='/images/Logo.gif' height='70'
    width='449'/>
    </td>
    </tr>
              <tr><td height='10'></td></tr>
         </table>
         <table align='center' width='100%' >
         <tr><td height='10'></td></tr>
         <tr>
         <td height='20' width='10%'> </td>
         <td height='20' colspan='3' align='center' style="font-size: 18pt; color:
    blue;
    background-color: white; text-align:center">PAC
    </td>
         <td height='20' width='10%'> </td>
         </tr>
         <tr><td height='10'></td></tr>
         <tr>
         <td height='20' width='10%'> </td>
         <td height='20' width='8%'> </td>
         <td height='20' align='center' style="border-style:solid; border-width:2pt;
    font-
    size: 10pt; color: red; background-color: white; text-align:center">
    <%= HARuntime.instance().getConfig().getProperty("logonAnnouncement")
    %>
    </td>
         <td height='20' width='8%'> </td>
         <td height='20' width='10%'> </td>
         </tr>
         <tr><td height='10'></td></tr>
         </table>
         <table border='0' align='center' >               
         <tr>
    <td class='formfieldname' ><b>User Name: </td>
         <td class='formfield'>
         <html:text property='username' maxlength='20' size='20'/>
         </td>
         </tr>
         <tr><td class='formfieldspacer'></td></tr>
         <td class='formfieldname' ><b>Password:</b> </td>
         <td class='formfield'>
         <html:password property="password" size="20" maxlength="20"
    redisplay="false"/>
         </td>
         </tr>
         <tr><td class='formfieldspacer'></td></tr>
         <tr>
    <td colspan='2' align='middle'>
         <html:image src='/images/login.gif' onclick='document.forms[0].submit();
    return false;' />     
         </td>
    </tr>
    </table>
    <br><br>
    </html:form>     
    </body>
    </html:html>
    ===================================================================
    The translation of this page fails with the following error:
    <Dec 16, 2003 5:06:13 PM MST> <Error> <HTTP> <BEA-101045> <[ServletContext(id=4595,name=hipaax,context-path=/hipaax)]
    translation of /logon.jsp failed:
    weblogic.servlet.jsp.JspException: (line 1): Error in using tag library uri='/WEB-INF/struts-html.tld'
    prefix='html': The Tag class 'org.apache.struts.taglib.html.BaseTag' has no setter
    method corresponding to TLD declared attribute 'server', (JSP 1.1 spec, 5.4.1)>
    ===================================================================
    I have struts.jar in /web-inf/lib. I have taglib (uri and location) definitions
    in web.xml.I have all the struts tld files under /web-inf. Is there anything
    else I have to do?
    Any help would be greatly appreciated.
    Thank you.
    Sharmila

    Update: I just looked up the WL version and it's 8.1 sp3
              So, I guess, JSTL 1.1 (which includes jstl fn tags) is not supported by WL.... Someone correct me if I am wrong.
              Thanks,
              pal :)

  • Adobe Air HTML & JS Developing - Slow on massive Image-Tags

    Hello,
    I want to share a problem i noticed while developing an application with adobe air, based on the HTML & JS Stack, which uses multiple image-tags at the same time. I already mailed a bug but unfortunately did not get a bug number responded to refer to hit here. This post is started because i wanted to share a simple example which exhibits the problem.
    The Bug Report i mailed:
    ******BUG******
    Concise problem statement: Performance Issues with massive Image-Tags (scaled)
    Steps to reproduce bug:
    1. Create a simple Air-Application. No need for any Air-specific library we just want the Air-Webkit to render a HTML-Page
    2.  Load ~130 Pictures with a dimension of approximately 1024 x 768 pixels.  Render each of them as a scaled Image-Tag with the dimension 100x60  pixels.
    3. Load the Page in the Air/Safari/Firefox/IE Environment (Versions: Air 2.5, Safari 5.0.2 (Win XP), FF 3.6.10, IE7)
    4. Try scrolling down/left/right/up and resizing the respective stage
    Results: The Air Environment performs worst among those 4. It reacts unacceptably slow while trying to resize and to scroll.
    Expected results: similar performance to Webkit-Engine in Safari.
    I know of one other discussion which seems to be related to a similar thing (http://forums.adobe.com/message/44913).
    The Page i used to compare the Adobe-Air rendering & scroll behaviour against the behaviour of Safari, FF and IE is posted beneath (pretty long due to the excerpt of 131 pictures taken of flicker web service).
    with best regards
    Robert
    <html>
        <head>
            <title>Mass Img Tags</title>
            <script language="JavaScript">
                var data = [{
                    "Title": "landscape216 jpg",
                    "Summary": "",
                    "Url": "http://xemanhdep.com/gallery/landscape2/landscape216.jpg",
                    "ClickUrl": "http://xemanhdep.com/gallery/landscape2/landscape216.jpg",
                    "RefererUrl": "http://gallery.xemanhdep.com/2008/10/beautiful-landscape-photos-2",
                    "FileSize": 114688,
                    "FileFormat": "jpeg",
                    "Height": "525",
                    "Width": "700",
                    "Thumbnail": {
                        "Url": "http://thm-a01.yimg.com/nimage/f5f58ee2c6a04bfa",
                        "Height": "112",
                        "Width": "150"
                    "Title": "Landscape Bora Bora Lagoon with Catamaran French Polynesia jpg",
                    "Summary": "11 12 13 14 15 16 17 18",
                    "Url": "http://www.bergoiata.org/fe/landscapes2/Landscape%20-%20Bora%20Bora%20Lagoon%20with%20Catamaran%20-%20French%20Polynesia.jpg",
                    "ClickUrl": "http://www.bergoiata.org/fe/landscapes2/Landscape%20-%20Bora%20Bora%20Lagoon%20with%20Catamaran%20-%20French%20Polynesia.jpg",
                    "RefererUrl": "http://www.nitilurus.blogspot.com/",
                    "FileSize": 102604,
                    "FileFormat": "jpeg",
                    "Height": "768",
                    "Width": "1024",
                    "Thumbnail": {
                        "Url": "http://thm-a02.yimg.com/nimage/8673e2bc14b343d0",
                        "Height": "120",
                        "Width": "160"
                    "Title": "Landscape Mount Tombstone Upper North jpg",
                    "Summary": "Landscape Flowers &gt; 02 Sep 2005 22 56 156k Fractal Roiling Vo &gt; 02 Sep 2005 22 56 157k Landscape Mount To &gt; 02 Sep 2005 22 56 172k Landscape Southern &gt; 02 Sep 2005 22 56 200k",
                    "Url": "http://www.bergoiata.org/fe/divers47/Landscape%20-%20Mount%20Tombstone,%20Upper%20North.jpg",
                    "ClickUrl": "http://www.bergoiata.org/fe/divers47/Landscape%20-%20Mount%20Tombstone,%20Upper%20North.jpg",
                    "RefererUrl": "http://www.bergoiata.org/fe/divers47?S=A",
                    "FileSize": 176537,
                    "FileFormat": "jpeg",
                    "Height": "768",
                    "Width": "1024",
                    "Thumbnail": {
                        "Url": "http://thm-a03.yimg.com/nimage/cab907cfa143c5a2",
                        "Height": "120",
                        "Width": "160"
                    "Title": "Landscape",
                    "Summary": "",
                    "Url": "http://media-content.flixya.com.s3.amazonaws.com/files/bxj1986530672.jpg?AWSAccessKeyId=1TKE66PETJJHG8051M02&Expires=2114092205&Signature=1m7fiT7SAIe8HgLiPtae0%2FL62ho%3D",
                    "ClickUrl": "http://media-content.flixya.com.s3.amazonaws.com/files/bxj1986530672.jpg?AWSAccessKeyId=1TKE66PETJJHG8051M02&Expires=2114092205&Signature=1m7fiT7SAIe8HgLiPtae0%2FL62ho%3D",
                    "RefererUrl": "http://www.flixya.com/photo/530672/Landscape",
                    "FileSize": 253644,
                    "FileFormat": "jpeg",
                    "Height": "375",
                    "Width": "500",
                    "Thumbnail": {
                        "Url": "http://thm-a04.yimg.com/nimage/6ca09130080fe348",
                        "Height": "108",
                        "Width": "145"
                    "Title": "purple landscape jpg",
                    "Summary": "Purple Landscape Róbert Štefanka 10 srpen 2006",
                    "Url": "http://www.lightharmony.com/admin/ext/purple-landscape.jpg",
                    "ClickUrl": "http://www.lightharmony.com/admin/ext/purple-landscape.jpg",
                    "RefererUrl": "http://www.lightharmony.com/fotografie/160/cz/author/8/0/purple-landscape",
                    "FileSize": 323686,
                    "FileFormat": "jpeg",
                    "Height": "463",
                    "Width": "700",
                    "Thumbnail": {
                        "Url": "http://thm-a01.yimg.com/nimage/a4609865c6a4cd22",
                        "Height": "99",
                        "Width": "150"
                    "Title": "Landscape Matterhorn Lake jpg",
                    "Summary": "Nature Rainy Lands &gt; 02 Sep 2005 22 50 58k Landscape Mountain &gt; 02 Sep 2005 22 49 89k Landscape Matterho &gt; 02 Sep 2005 22 49 198k Landscape Lighthou &gt; 02 Sep 2005 22 49 177k",
                    "Url": "http://www.bergoiata.org/fe/divers44/Landscape%20-%20Matterhorn%20Lake.jpg",
                    "ClickUrl": "http://www.bergoiata.org/fe/divers44/Landscape%20-%20Matterhorn%20Lake.jpg",
                    "RefererUrl": "http://www.bergoiata.org/fe/divers44?N=D",
                    "FileSize": 202547,
                    "FileFormat": "jpeg",
                    "Height": "768",
                    "Width": "1024",
                    "Thumbnail": {
                        "Url": "http://thm-a03.yimg.com/nimage/0203edf764b1c67c",
                        "Height": "120",
                        "Width": "160"
                    "Title": "landscape",
                    "Summary": "LandScape LandScape 2",
                    "Url": "http://www.smashingdownloads.com/wp-content/uploads/2009/06/landscape.jpg",
                    "ClickUrl": "http://www.smashingdownloads.com/wp-content/uploads/2009/06/landscape.jpg",
                    "RefererUrl": "http://www.smashingdownloads.com/2009/06/04/27-brilliant-examples-of-landscape-photography",
                    "FileSize": 99635,
                    "FileFormat": "jpeg",
                    "Height": "399",
                    "Width": "600",
                    "Thumbnail": {
                        "Url": "http://thm-a01.yimg.com/nimage/fe217612dffd3c10",
                        "Height": "96",
                        "Width": "145"
                    "Title": "landscape3 jpg",
                    "Summary": "its own If you re a fan of the handiwork of Mother Nature and you d like to get a glimpse of the diversity of the world check out this photostream featuring gorgeous landscape photography",
                    "Url": "http://www.dirjournal.com/info/wp-content/uploads/2009/12/landscape3.jpg",
                    "ClickUrl": "http://www.dirjournal.com/info/wp-content/uploads/2009/12/landscape3.jpg",
                    "RefererUrl": "http://www.dirjournal.com/info/the-magnificent-beauty-of-natures-landscapes",
                    "FileSize": 169164,
                    "FileFormat": "jpeg",
                    "Height": "483",
                    "Width": "700",
                    "Thumbnail": {
                        "Url": "http://thm-a02.yimg.com/nimage/0b807ce0d282bfc2",
                        "Height": "103",
                        "Width": "150"
                    "Title": "sm landscape syracuse label jpg",
                    "Summary": "sports video game Stevensgraph of Columbus landing artwork including nice small o b horses and children sheep painting V Perrin small landscape etc Gone with the wind Lamp very nice quality 4 pc leather parlor set barely used 2 canes one w sterling top ca 1879 French Gras Bayonet several nice mirrors great",
                    "Url": "http://www.coylesauction.com/images/Year2005/083005/sm%20landscape%20syracuse%20label.jpg",
                    "ClickUrl": "http://www.coylesauction.com/images/Year2005/083005/sm%20landscape%20syracuse%20label.jpg",
                    "RefererUrl": "http://www.coylesauction.com/AuctionPreview/Year2005/ap083005.htm",
                    "FileSize": 67481,
                    "FileFormat": "jpeg",
                    "Height": "486",
                    "Width": "650",
                    "Thumbnail": {
                        "Url": "http://thm-a04.yimg.com/nimage/dcccdb9e4e66c4e2",
                        "Height": "112",
                        "Width": "150"
                    "Title": "post5 landscape jpg",
                    "Summary": "a little boost to the colour All in all a 20 to 30 minute job Was it worth You decide In my opinion it won the right to have its own place in the sorted folders Landscape Before After",
                    "Url": "http://www.chromystic.com/blog/goncalofigueiredo/resource/img/post5_landscape.jpg",
                    "ClickUrl": "http://www.chromystic.com/blog/goncalofigueiredo/resource/img/post5_landscape.jpg",
                    "RefererUrl": "http://www.chromystic.com/blog/goncalofigueiredo/entry/there-is-still-a-chance",
                    "FileSize": 188108,
                    "FileFormat": "jpeg",
                    "Height": "332",
                    "Width": "500",
                    "Thumbnail": {
                        "Url": "http://thm-a01.yimg.com/nimage/dbb4f27647c5952e",
                        "Height": "96",
                        "Width": "145"
                    "Title": "Landscape thumb jpg",
                    "Summary": "In this tutorial you will learn how to create a fantasy landscape using some simple and easy techniques Create Smoke Effect on Grungy Wallpaper",
                    "Url": "http://ntt.cc/wp-content/uploads/2009/10/Landscape_thumb.jpg",
                    "ClickUrl": "http://ntt.cc/wp-content/uploads/2009/10/Landscape_thumb.jpg",
                    "RefererUrl": "http://ntt.cc/2009/10/16/30-excellent-high-quality-adobe-photoshop-tutorials-new.html",
                    "FileSize": 84377,
                    "FileFormat": "jpeg",
                    "Height": "569",
                    "Width": "484",
                    "Thumbnail": {
                        "Url": "http://thm-a02.yimg.com/nimage/7a3616914ed77cf4",
                        "Height": "145",
                        "Width": "123"
                    "Title": "landscape 1024 30 jpg",
                    "Summary": "",
                    "Url": "http://www.digital-cameras-help.com/landscapes/landscape-1024-30.jpg",
                    "ClickUrl": "http://www.digital-cameras-help.com/landscapes/landscape-1024-30.jpg",
                    "RefererUrl": "http://www.digital-cameras-help.com/wallpaper-landscape-2.html?id=30",
                    "FileSize": 271155,
                    "FileFormat": "jpeg",
                    "Height": "768",
                    "Width": "1024",
                    "Thumbnail": {
                        "Url": "http://thm-a03.yimg.com/nimage/401d2cdfaab693a2",
                        "Height": "120",
                        "Width": "160"
                    "Title": "landscape 800 18 jpg",
                    "Summary": "",
                    "Url": "http://www.digital-cameras-help.com/landscapes/landscape-800-18.jpg",
                    "ClickUrl": "http://www.digital-cameras-help.com/landscapes/landscape-800-18.jpg",
                    "RefererUrl": "http://www.digital-cameras-help.com/wallpaper-landscape-1.html?id=18",
                    "FileSize": 69120,
                    "FileFormat": "jpeg",
                    "Height": "600",
                    "Width": "800",
                    "Thumbnail": {
                        "Url": "http://thm-a04.yimg.com/nimage/cb5db7a20c94d0c8",
                        "Height": "116",
                        "Width": "155"
                    "Title": "landscape 1200 18 jpg",
                    "Summary": "",
                    "Url": "http://www.digital-cameras-help.com/landscapes/landscape-1200-18.jpg",
                    "ClickUrl": "http://www.digital-cameras-help.com/landscapes/landscape-1200-18.jpg",
                    "RefererUrl": "http://www.digital-cameras-help.com/wallpaper-landscape-3.html?id=18",
                    "FileSize": 145920,
                    "FileFormat": "jpeg",
                    "Height": "900",
                    "Width": "1200",
                    "Thumbnail": {
                        "Url": "http://thm-a01.yimg.com/nimage/6e966655546f4d28",
                        "Height": "123",
                        "Width": "165"
                    "Title": "landscape 1200 13 jpg",
                    "Summary": "",
                    "Url": "http://www.digital-cameras-help.com/landscapes/landscape-1200-13.jpg",
                    "ClickUrl": "http://www.digital-cameras-help.com/landscapes/landscape-1200-13.jpg",
                    "RefererUrl": "http://www.digital-cameras-help.com/wallpaper-landscape-3.html?id=13",
                    "FileSize": 280268,
                    "FileFormat": "jpeg",
                    "Height": "900",
                    "Width": "1200",
                    "Thumbnail": {
                        "Url": "http://thm-a02.yimg.com/nimage/2c7eb863b672ec92",
                        "Height": "123",
                        "Width": "165"
                    "Title": "landscape 800 35 jpg",
                    "Summary": "",
                    "Url": "http://www.digital-cameras-help.com/landscapes/landscape-800-35.jpg",
                    "ClickUrl": "http://www.digital-cameras-help.com/landscapes/landscape-800-35.jpg",
                    "RefererUrl": "http://www.digital-cameras-help.com/wallpaper-landscape-1.html?id=35",
                    "FileSize": 101478,
                    "FileFormat": "jpeg",
                    "Height": "600",
                    "Width": "800",
                    "Thumbnail": {
                        "Url": "http://thm-a03.yimg.com/nimage/8efaed051155f5c4",
                        "Height": "116",
                        "Width": "155"
                    "Title": "landscape 1024 23 jpg",
                    "Summary": "",
                    "Url": "http://www.digital-cameras-help.com/landscapes/landscape-1024-23.jpg",
                    "ClickUrl": "http://www.digital-cameras-help.com/landscapes/landscape-1024-23.jpg",
                    "RefererUrl": "http://www.digital-cameras-help.com/wallpaper-landscape-2.html?id=23",
                    "FileSize": 72704,
                    "FileFormat": "jpeg",
                    "Height": "768",
                    "Width": "1024",
                    "Thumbnail": {
                        "Url": "http://thm-a04.yimg.com/nimage/8e632c62ce6398a8",
                        "Height": "120",
                        "Width": "160"
                    "Title": "landscape 800 30 jpg",
                    "Summary": "",
                    "Url": "http://www.digital-cameras-help.com/landscapes/landscape-800-30.jpg",
                    "ClickUrl": "http://www.digital-cameras-help.com/landscapes/landscape-800-30.jpg",
                    "RefererUrl": "http://www.digital-cameras-help.com/wallpaper-landscape-1.html?id=30",
                    "FileSize": 169164,
                    "FileFormat": "jpeg",
                    "Height": "600",
                    "Width": "800",
                    "Thumbnail": {
                        "Url": "http://thm-a01.yimg.com/nimage/7868fafbafeba600",
                        "Height": "116",
                        "Width": "155"
                    "Title": "landscape 1200 28 jpg",
                    "Summary": "",
                    "Url": "http://www.digital-cameras-help.com/landscapes/landscape-1200-28.jpg",
                    "ClickUrl": "http://www.digital-cameras-help.com/landscapes/landscape-1200-28.jpg",
                    "RefererUrl": "http://www.digital-cameras-help.com/wallpaper-landscape-3.html?id=28",
                    "FileSize": 452096,
                    "FileFormat": "jpeg",
                    "Height": "900",
                    "Width": "1200",
                    "Thumbnail": {
                        "Url": "http://thm-a02.yimg.com/nimage/c42bc3d01efd78e2",
                        "Height": "123",
                        "Width": "165"
                    "Title": "landscape 1024 35 jpg",
                    "Summary": "",
                    "Url": "http://www.digital-cameras-help.com/landscapes/landscape-1024-35.jpg",
                    "ClickUrl": "http://www.digital-cameras-help.com/landscapes/landscape-1024-35.jpg",
                    "RefererUrl": "http://www.digital-cameras-help.com/wallpaper-landscape-2.html?id=35",
                    "FileSize": 161382,
                    "FileFormat": "jpeg",
                    "Height": "768",
                    "Width": "1024",
                    "Thumbnail": {
                        "Url": "http://thm-a03.yimg.com/nimage/1852e4fc7a9aefa6",
                        "Height": "120",
                        "Width": "160"
                    "Title": "landscape 1024 31 jpg",
                    "Summary": "",
                    "Url": "http://www.digital-cameras-help.com/landscapes/landscape-1024-31.jpg",
                    "ClickUrl": "http://www.digital-cameras-help.com/landscapes/landscape-1024-31.jpg",
                    "RefererUrl": "http://www.digital-cameras-help.com/wallpaper-landscape-2.html?id=31",
                    "FileSize": 364032,
                    "FileFormat": "jpeg",
                    "Height": "768",
                    "Width": "1024",
                    "Thumbnail": {
                        "Url": "http://thm-a04.yimg.com/nimage/0e613977e04c4882",
                        "Height": "120",
                        "Width": "160"
                    "Title": "landscape 1200 35 jpg",
                    "Summary": "",
                    "Url": "http://www.digital-cameras-help.com/landscapes/landscape-1200-35.jpg",
                    "ClickUrl": "http://www.digital-cameras-help.com/landscapes/landscape-1200-35.jpg",
                    "RefererUrl": "http://www.digital-cameras-help.com/wallpaper-landscape-3.html?id=35",
                    "FileSize": 220979,
                    "FileFormat": "jpeg",
                    "Height": "900",
                    "Width": "1200",
                    "Thumbnail": {
                        "Url": "http://thm-a01.yimg.com/nimage/c5c69d3a273d0880",
                        "Height": "123",
                        "Width": "165"
                    "Title": "landscape 1200 27 jpg",
                    "Summary": "",
                    "Url": "http://www.digital-cameras-help.com/landscapes/landscape-1200-27.jpg",
                    "ClickUrl": "http://www.digital-cameras-help.com/landscapes/landscape-1200-27.jpg",
                    "RefererUrl": "http://www.digital-cameras-help.com/wallpaper-landscape-3.html?id=27",
                    "FileSize": 384204,
                    "FileFormat": "jpeg",
                    "Height": "900",
                    "Width": "1200",
                    "Thumbnail": {
                        "Url": "http://thm-a02.yimg.com/nimage/04c55aa75582b4c2",
                        "Height": "123",
                        "Width": "165"
                    "Title": "landscape 1024 33 jpg",
                    "Summary": "",
                    "Url": "http://www.digital-cameras-help.com/landscapes/landscape-1024-33.jpg",
                    "ClickUrl": "http://www.digital-cameras-help.com/landscapes/landscape-1024-33.jpg",
                    "RefererUrl": "http://www.digital-cameras-help.com/wallpaper-landscape-2.html?id=33",
                    "FileSize": 349491,
                    "FileFormat": "jpeg",
                    "Height": "768",
                    "Width": "1024",
                    "Thumbnail": {
                        "Url": "http://thm-a03.yimg.com/nimage/81646c732fd68452",
                        "Height": "120",
                        "Width": "160"
                    "Title": "landscape 1024 26 jpg",
                    "Summary": "",
                    "Url": "http://www.digital-cameras-help.com/landscapes/landscape-1024-26.jpg",
                    "ClickUrl": "http://www.digital-cameras-help.com/landscapes/landscape-1024-26.jpg",
                    "RefererUrl": "http://www.digital-cameras-help.com/wallpaper-landscape-2.html?id=26",
                    "FileSize": 297062,
                    "FileFormat": "jpeg",
                    "Height": "768",
                    "Width": "1024",
                    "Thumbnail": {
                        "Url": "http://thm-a04.yimg.com/nimage/60c7e1a5b87dca0a",
                        "Height": "120",
                        "Width": "160"
                    "Title": "landscapeStream jpg",
                    "Summary": "pastoral painting in gold frame hollyhock painting rose painting in gold frame Madonna and child oil on canvas as is landscape with stream large European scene painting and much more",
                    "Url": "http://www.coylesauction.com/img/img2009/img033109/landscapeStream.jpg",
                    "ClickUrl": "http://www.coylesauction.com/img/img2009/img033109/landscapeStream.jpg",
                    "RefererUrl": "http://www.coylesauction.com/AucPreview/AP2009/ap033109.htm",
                    "FileSize": 49459,
                    "FileFormat": "jpeg",
                    "Height": "344",
                    "Width": "450",
                    "Thumbnail": {
                        "Url": "http://thm-a01.yimg.com/nimage/934090dff7521230",
                        "Height": "107",
                        "Width": "140"
                    "Title": "DCWP 406 038 Landscape Picture jpg",
                    "Summary": "Landscape Picture 1 I took this landscape picture from a speed boat on the Okavango Delta late one afternoon It shows one of the channels in the Okavango Delta when it is in full flow The delta is one of the",
                    "Url": "http://www.africa-nature-photography.com/images/DCWP_406_038-Landscape-Picture.jpg",
                    "ClickUrl": "http://www.africa-nature-photography.com/images/DCWP_406_038-Landscape-Picture.jpg",
                    "RefererUrl": "http://www.africa-nature-photography.com/landscape-picture.html",
                    "FileSize": 60211,
                    "FileFormat": "jpeg",
                    "Height": "322",
                    "Width": "480",
                    "Thumbnail": {
                        "Url": "http://thm-a02.yimg.com/nimage/b524a62e8458d358",
                        "Height": "93",
                        "Width": "140"
                    "Title": "DCWP 406 019 Landscape Picture jpg",
                    "Summary": "Landscape Picture 7 This landscape picture of moring mist over the Kavango River in Namibia was taken just after sunrise one morning Our tent was less that ten metres from where I stood We were camping at",
                    "Url": "http://www.africa-nature-photography.com/images/DCWP_406_019-Landscape-Picture.jpg",
                    "ClickUrl": "http://www.africa-nature-photography.com/images/DCWP_406_019-Landscape-Picture.jpg",
                    "RefererUrl": "http://www.africa-nature-photography.com/landscape-picture-7.html",
                    "FileSize": 83558,
                    "FileFormat": "jpeg",
                    "Height": "322",
                    "Width": "480",
                    "Thumbnail": {
                        "Url": "http://thm-a03.yimg.com/nimage/27ef2bd37acfbb80",
                        "Height": "93",
                        "Width": "140"
                    "Title": "DCWP 506 023 Landscape Picture jpg",
                    "Summary": "Landscape Picture 5 The large Leadwood trees in this landscape picture are what caught my eye They are quite prevalent in the Moremi Game Reserve of Botswana escpecially near the North Gate campsite where",
                    "Url": "http://www.africa-nature-photography.com/images/DCWP_506_023-Landscape-Picture.jpg",
                    "ClickUrl": "http://www.africa-nature-photography.com/images/DCWP_506_023-Landscape-Picture.jpg",
                    "RefererUrl": "http://www.africa-nature-photography.com/landscape-picture-5.html",
                    "FileSize": 99532,
                    "FileFormat": "jpeg",
                    "Height": "322",
                    "Width": "480",
                    "Thumbnail": {
                        "Url": "http://thm-a04.yimg.com/nimage/17c1a79f67065d90",
                        "Height": "93",
                        "Width": "140"
                    "Title": "DCWP 506 024 Landscape Picture jpg",
                    "Summary": "Landscape Picture 6 The large Leadwood tree in this landscape picture is what caught my eye They are quite prevalent in the Moremi Game Reserve of Botswana escpecially near the North Gate campsite where this",
                    "Url": "http://www.africa-nature-photography.com/images/DCWP_506_024-Landscape-Picture.jpg",
                    "ClickUrl": "http://www.africa-nature-photography.com/images/DCWP_506_024-Landscape-Picture.jpg",
                    "RefererUrl": "http://www.africa-nature-photography.com/landscape-picture-6.html",
                    "FileSize": 93286,
                    "FileFormat": "jpeg",
                    "Height": "480",
                    "Width": "322",
                    "Thumbnail": {
                        "Url": "http://thm-a01.yimg.com/nimage/5b363b95bb9168b2",
                        "Height": "140",
                        "Width": "93"
                    "Title": "DCWP 506 005 Landscape Picture jpg",
                    "Summary": "Landscape Picture 4 I took this landscape picture depicting a large Baobab tree on Kubu Island on the Makgadikgadi Pans Botswana during June 2005 A picture utilising good light is always always better than",
                    "Url": "http://www.africa-nature-photography.com/images/DCWP_506_005-Landscape-Picture.jpg",
                    "ClickUrl": "http://www.africa-nature-photography.com/images/DCWP_506_005-Landscape-Picture.jpg",
                    "RefererUrl": "http://www.africa-nature-photography.com/landscape-picture-4.html",
                    "FileSize": 84172,
                    "FileFormat": "jpeg",
                    "Height": "322",
                    "Width": "480",
                    "Thumbnail": {
                        "Url": "http://thm-a02.yimg.com/nimage/5477f6c511630438",
                        "Height": "93",
                        "Width": "140"
                    "Title": "DCWP 410 001 Landscape Picture jpg",
                    "Summary": "Landscape Picture 2 I took this landscape picture near Grabouw on my way to the De Hoop Nature Reserve in South Africa s Western Cape I just had to stop for it Cloud formations in this part of the country can",
                    "Url": "http://www.africa-nature-photography.com/images/DCWP_410_001-Landscape-Picture.jpg",
                    "ClickUrl": "http://www.africa-nature-photography.com/images/DCWP_410_001-Landscape-Picture.jpg",
                    "RefererUrl": "http://www.africa-nature-photography.com/landscape-picture-2.html",
                    "FileSize": 77414,
                    "FileFormat": "jpeg",
                    "Height": "322",
                    "Width": "480",
                    "Thumbnail": {
                        "Url": "http://thm-a03.yimg.com/nimage/4f07caae67d26392",
                        "Height": "93",
                        "Width": "140"
                    "Title": "about landscape yard jpg",
                    "Summary": "philosophy is that the final scaled landscape plan you receive should convey your landscape ideas in a road map that will be used to transform your house and yard into your home After our design meets your expectations we will submit our bid prices to implement the design and work on packaging and phasing options We use the same bidding process whether",
                    "Url": "http://www.envconst.com/Images/about_landscape_yard.jpg",
                    "ClickUrl": "http://www.envconst.com/Images/about_landscape_yard.jpg",
                    "RefererUrl": "http://www.envconst.com/about/landscape",
                    "FileSize": 39116,
                    "FileFormat": "jpeg",
                    "Height": "315",
                    "Width": "485",
                    "Thumbnail": {
                        "Url": "http://thm-a04.yimg.com/nimage/07706b565b3f956a",
                        "Height": "94",
                        "Width": "145"
                    "Title": "landscape02 JPG",
                    "Summary": "and Monet landscapes but with an Impressionistic approach I still want to re do the water reflections from the buildings and light but for now this will have to do Landscape Landscape close up Another example of the Virtual 3 D work I have been doing is",
                    "Url": "http://www.dustinhetrick.com/art/landscape02.JPG",
                    "ClickUrl": "http://www.dustinhetrick.com/art/landscape02.JPG",
                    "RefererUrl": "http://www.dustinhetrick.com/art.htm",
                    "FileSize": 475136,
                    "FileFormat": "jpeg",
                    "Height": "960",
                    "Width": "1280",
                    "Thumbnail": {
                        "Url": "http://thm-a02.yimg.com/nimage/99ff10027365797a",
                        "Height": "123",
                        "Width": "165"
                    "Title": "landscape 800 2 jpg",
                    "Summary": "",
                    "Url": "http://www.digital-cameras-help.com/landscapes/landscape-800-2.jpg",
                    "ClickUrl": "http://www.digital-cameras-help.com/landscapes/landscape-800-2.jpg",
                    "RefererUrl": "http://www.digital-cameras-help.com/wallpaper-landscape-1.html?id=2",
                    "FileSize": 42291,
                    "FileFormat": "jpeg",
                    "Height": "600",
                    "Width": "800",
                    "Thumbnail": {
                        "Url": "http://thm-a03.yimg.com/nimage/0609a5f1103b8ee4",
                        "Height": "116",
                        "Width": "155"
                    "Title": "landscape 800 1 jpg",
                    "Summary": "",
                    "Url": "http://www.digital-cameras-help.com/landscapes/landscape-800-1.jpg",
                    "ClickUrl": "http://www.digital-cameras-help.com/landscapes/landscape-800-1.jpg",
                    "RefererUrl": "http://www.digital-cameras-help.com/wallpaper-landscape-1.html?id=1",
                    "FileSize": 129843,
                    "FileFormat": "jpeg",
                    "Height": "600",
                    "Width": "800",
                    "Thumbnail": {
                        "Url": "http://thm-a04.yimg.com/nimage/755ad7377c2f381c",
                        "Height": "116",
                        "Width": "155"
                    "Title": "landscape 1024 9 jpg",
                    "Summary": "",
                    "Url": "http://www.digital-cameras-help.com/landscapes/landscape-1024-9.jpg",
      

    Hi,
    Thank you for reporting this. The internal bug number for the issue is #2740755. The issue is currently under review and will be investigated by one of AIR team members.
    Regards,
    Catalin

  • Using Weblogic Console Extension tag library...

    Now i am working with weblogic 8.1
    I am using Weblogic Console Extension Example...downloaded from dev2dev.bea.com...
    at that example console Jsp program is as below for
    the development of node...
    <br>
    <b><wl:node
    label='<%="My Console Extension"%>'
    icon='/images/folder.gif'
    expanded='true'>
    </wl:node></b>
    <br><br>
    <i><b>But i want two folder icons...for open folder...and closed folder...</b></i>
    <br>
    i have gifs...but how i modify this
    jsp...or tag library...any one can help me...
    <br>
    raju

    "Otherwise let me know tools that can tell me threads, memory, cpu, etc and provide notification, etc." -- Hi, I'm familiar with a third-party tool that is suitable for larger deployments, it collects the data you mention for Weblogic instances and also does performance monitoring at the cluster level. Here is a description of their WebLogic integration pack -- http://www.evidentsoftware.com/products/clearstone-for-weblogic/. Hope this helps.

  • Custom tag library called multiple times

    Hi ppl ,
    I have a custom tag library which i use to populate some menu components. When i do call my custom tag library though , it is called multiple times, use case is as follows.
    I have menu tabs and menu bars which thanks to Mr.Brenden is working splendidly as so:-
    <af:menuTabs>
    <af:forEach var="menuTab" items="#{bindings.menu.vwUserMenuTabRenderer.rangeSet}">
    <af:commandMenuItem text="#{menuTab.MenuLabel}"
    shortDesc="#{menuTab.MenuHint}"
    rendered="true"
    immediate="true"
    selected="#{sessionScope.selectedMenuId == menuTab.MenuId }"
    onclick="fnSetSelectedValue('#{menuTab.MenuId}')" >
    </af:commandMenuItem>
    </af:forEach>
    </af:menuTabs>
    <af:menuBar>
    <af:forEach var="menuBar" items="#{bindings.menu.vwUserMenuBarRenderer.rangeSet}">
    <af:commandMenuItem onclick="return clickreturnvalue()"
    onmouseover="dropdownmenu(this, event,#{menuBar.MenuId}, '150px')"
    onmouseout="delayhidemenu()"
    text="#{menuBar.MenuLabel}"
    action="#{menuBar.MenuUri}"
    rendered="#{menuBar.ParentId == sessionScope.selectedMenuId}"
    immediate="true" />
    </af:forEach>
    </af:menuBar>
    </afc:cache>
    now all of this code is within a subview , and just directly below the subview tag , i have the call to my custom tag library:-
    <myCustomTagLib:menuCascade />
    only issue now is that assuming i have in all 7 menu bar components, the doStartTag is called 7 times. the relevant code within my custom tag class is as follows :-
    public int doStartTag() throws JspException {
    return (EVAL_BODY_INCLUDE);
    public int doEndTag() throws JspException {
    try {
    declareVariables();
    return EVAL_PAGE;
    }catch (Exception ioe) {
    throw new JspException(ioe.getMessage());
    and within my declareVariables method i do an out of the jscript ( out.print(jscript.toString()); ) which is a simple string generated based on certain conditions...
    now it seems to be working fine on the front end , but when i view the source of the page, i notice that the declaration is called multiple times, and this happens because the doStartTag method is called multiple times, i haven't even nested the call to the custom tag within the menu components , any clue as to whats going wrong ?
    Cheers
    K

    Hi,
    if you add the following print statement
    System.out.println("rendering "+FacesContext.getCurrentInstance().getViewRoot().getViewId());
    Then the output in my case is
    07/04/24 08:14:04 rendering /BrowsePage.jsp
    07/04/24 08:14:05 rendering /otn_logo_small.gif
    The image comes from the file system, which means it is rendered by the JSF lifecycle. If you reference the image with a URL then the lifecycle doesn't render the image but only refrences it.
    To avoid your prepare render code to be executed multiple times, just check for jsp and jspx file extensions, which will guarantee that your code only executes for JSF pages, not for loaded files.
    The reason why this happens is because the JSF filter is set to /faces , which means all files that are loaded through that path
    Frank

  • How to use Photoshop Elements 11 Image Tags in Lightroom 4.4

    Hello,
    I would like to filter my Lightroom catalog by people in the photo. This could be done manually in Lightroom using metadata, however, Photoshop Elements 11 Organiser has an auto-analyse feature that does this automatically and creates Image Tags for all identified people. How do I use the Photoshop Elements 11 Organiser Image Tags in Lightroom 4.4?
    I have tried:
    Created image tags for identified people. These are listed in the Image Tags section of the main workspace and can be used within Photoshop Elements 11 Organiser to filter on people using Search and People features.
    Updated metadata within Lightroom
    Searched for tags in all metadata fields using Library Filters
    I have been unable to find any mention of these Image Tags in the file metadata - perhaps they only exist in the Photoshop Elements 11 Catalog? If so, does anybody have a best practice for transferring this information between Photoshop Elements 11 and Lightroom 4.4?
    Thanks in advance,
    David

    Yes you can open multiple images into PSE from LR. But actually there is no great advantage in using Lightroom for Photomerge as the export copies are already created in the Library but the saved copy will be the merged version which LR will know nothing about, and which would need to be imported to the library separately.
    I would personally start from Expert Mode in PSE11 and then use:
    File >> Open
    Navigate directly to the folder and select the images you want and click open.
    If they are raw files they will open up in camera raw and will already have the light room adjustments included, if the metadata has been saved to file in Lightroom.
    Click select all (top left) and then ensure the image depth is set to 8 bits using the drop down menu at the bottom of the dialog. Then click the open images button (bottom right) to send them all into PSE.

  • Connection Pooling and JSP Custom Tag Library - is code (inside) the best way/correc?

    Hi, can anyone advise as to whether my tag library code (based
    on Apache Jakarta Project) will actually achieve connection
    pooling functionality across my entire JSP based application? I
    am slightly concerned that my OracleConnectionCacheImpl object
    may exist multiple times, hence rendering my conection pooling
    attempt useless.
    package com.solved.tag.dbtags.connection;
    import java.io.IOException;
    import java.sql.Connection;
    import java.sql.SQLException;
    import javax.servlet.jsp.tagext.TagSupport;
    import javax.servlet.jsp.JspTagException;
    import javax.sql.DataSource;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    import oracle.jdbc.pool.OracleConnectionCacheImpl;
    * <p>JSP tag connection, used to get a
    * java.sql.Connection object.</p>
    * <p>JSP Tag Lib Descriptor
    * <pre>
    * &lt;name>connection&lt;/name>
    &lt;tagclass>com.solved.tag.dbtags.connection.ConnectionTag&lt;/t
    agclass>
    * &lt;bodycontent>JSP&lt;/bodycontent>
    &lt;teiclass>com.solved.tag.dbtags.connection.ConnectionTEI&lt;/t
    eiclass>
    * &lt;info>Opens a connection based on a jndiName.&lt;/info>
    * &lt;attribute>
    * &lt;name>id&lt;/name>
    * &lt;required>true&lt;/required>
    * &lt;rtexprvalue>false&lt;/rtexprvalue>
    * &lt;/attribute>
    * </pre>
    * @author Matt Shannon
    public class ConnectionTag extends TagSupport {
    static private OracleConnectionCacheImpl cache = null;
    public int doStartTag() throws JspTagException {
    try {
    Connection conn = null;
    if (cache == null) {
    try {
    InitialContext ic = new InitialContext();
    DataSource ds = (DataSource) ic.lookup
    ("jdbc/pool/OracleCache");
    cache = (OracleConnectionCacheImpl)ds;
    catch (NamingException ne) {
    throw new JspTagException(ne.toString());
    conn = cache.getConnection();
    pageContext.setAttribute(getId(),conn);
    catch (SQLException e) {
    throw new JspTagException(e.toString());
    return EVAL_BODY_INCLUDE;
    package com.solved.tag.dbtags.connection;
    import java.sql.Connection;
    import java.sql.SQLException;
    import javax.servlet.jsp.tagext.TagSupport;
    * <p>JSP tag closeconnection, used to close the
    * specified java.sql.Connection.<p>
    * <p>JSP Tag Lib Descriptor
    * <pre>
    * &lt;name>closeConnection&lt;/name>
    &lt;tagclass>com.solved.tag.dbtags.connection.CloseConnectionTag&
    lt;/tagclass>
    * &lt;bodycontent>empty&lt;/bodycontent>
    * &lt;info>Close the specified connection. The "conn"
    attribute is the name of a
    * connection object in the page context.&lt;/info>
    * &lt;attribute>
    * &lt;name>conn&lt;/name>
    * &lt;required>true&lt;/required>
    * &lt;rtexprvalue>false&lt;/rtexprvalue>
    * &lt;/attribute>
    * </pre>
    * @author Matt Shannon
    * @see ConnectionTag
    public class CloseConnectionTag extends TagSupport {
    private String _connId = null;
    * The "conn" attribute is the name of a
    * page context object containing a
    * java.sql.Connection.
    * @param connectionId
    * attribute name of the java.sql.Connection to
    close.
    * @see ConnectionTag
    public void setConn(String connectionId) {
    _connId = connectionId;
    public int doStartTag() {
    try {
    Connection conn = (Connection)pageContext.getAttribute
    (_connId);
    conn.close();
    } catch (SQLException e) {
    // failing to close a connection is not fatal
    e.printStackTrace();
    return EVAL_BODY_INCLUDE;
    public void release() {
    _connId = null;
    package com.solved.tag.dbtags.connection;
    import javax.servlet.jsp.tagext.TagData;
    import javax.servlet.jsp.tagext.TagExtraInfo;
    import javax.servlet.jsp.tagext.VariableInfo;
    * TagExtraInfo for the connection tag. This
    * TagExtraInfo specifies that the ConnectionTag
    * assigns a java.sql.Connection object to the
    * "id" attribute at the end tag.
    * @author Matt Shannon
    * @see ConnectionTag
    public class ConnectionTEI extends TagExtraInfo {
    public final VariableInfo[] getVariableInfo(TagData data)
    return new VariableInfo[]
    new VariableInfo(
    data.getAttributeString("id"),
    "java.sql.Connection",
    true,
    VariableInfo.AT_END
    data-sources.xml:
    <?xml version="1.0"?>
    <!DOCTYPE data-sources PUBLIC "Orion data-
    sources" "http://xmlns.oracle.com/ias/dtds/data-sources.dtd">
    <data-sources>
    <data-source
    class="oracle.jdbc.pool.OracleConnectionCacheImpl"
    name="jdbc/pool/OracleCache"
    location="jdbc/pool/OracleCache"
    url="jdbc:oracle:thin:@oracle1:1521:pdev"
    >
    <property name="maxLimit" value="15" />
    <property name="cacheScheme" value="2" />
    <property name="user" value="console" />
    <property name="password" value="console" />
    <description>
    This DataSource is using an Oracle-native DataSource Class so as
    to allow Oracle Specific extensions.
    A getConnection() call on this DataSource will return
    oracle.jdbc.driver.OracleConnection.
    The connection returned is a logical connection.
    The caching scheme in place is Fixed Wait. Refer below to
    possible values.
    Dynamic 1
    Fixed Wait 2
    Fixed Return Null 3
    </description>
    </data-source>
    </data-sources>
    many thanks,
    Matt.

    Hi. Show me your pool definition.
    Joe
    Ramamurthy wrote:
    I am using the jsp custom tag library from BEA called sqltags.tld which came with Weblogic 5.1. Currently I am using Weblogic6.1 sp2 on Solaris.
    I have created a Connection Pool for Sybase database using the driver com.sybase.jdbc.SybDriver.
    When I created jsp page to connect to the connection pool using sqltags custom tag library, I am getting the error
    "javax.servlet.jsp.JspException: Failed to write body content
    at weblogic.taglib.sql.ConnectionTag.doAfterBody(ConnectionTag.java:43)
    at jsp_servlet.__hubwcdata._jspService(__sampletest.java:1014)"
    After this message, whenever I try to access the same jsp page I am getting the message
    "javax.servlet.jsp.JspException: Failed to load JDBC driver: weblogic.jdbc.pool.D
    river
    at weblogic.taglib.sql.ConnectionTag.doStartTag(ConnectionTag.java:34)
    at jsp_servlet.__hubwcdata._jspService(__sampletest.java:205)".
    Can you please help me the reason why this problem is happening and how to fix this ?
    This problem doexn't happen consistently. This occurs once in a while.
    I tried to increase Login delay Seconds parameter in the Connection Pool to 15 sec. It didn't help me much.
    Thanks for your help !!!
    Ram

  • How can i use tag library in the mvc?

    hello
    in some tag libraris such as jakarta tag library and jrun tag library,there is database
    access tag, it provide convenient function to access database from jsp page,but i wonder how can i use such a tag within MVC architecture.
    as we know,in MVC architecture,all requests from the jsp pages are submit to the controller servlet,then the controller manipulate ejb to access database,it don't allow the database access from the jsp page.
    who can tell me how can i combine the tag library with mvc architecture appropriately?
    thank you!

    You can't! If you decide to limit the JSP to be part of the View component, obviously you should not include tags that directly access the database. If the strict MVC architecture is less important to you, then the tags can save coding time. It's your choice.

  • How to use a tag library in multiple web applications?

    Morning all,
    Environment: Tomcat 5 on Apache2 using Mod_JK connector on Windows XP
    I have developed a custom tag library and tested it out and its working great.
    Now, How do I use in my other web applications? Do I need to copy the JAR file to webapps\app1\WEB-INF\lib, webapps\app2\WEB-INF\lib etc directories?
    The problem with this approach is, if I happen to change the tag library code, I will have to make sure that I remember to copy the new JAR file to the above mentioned directories. Ofcourse I can write a simple ant script that would do it for me, but I was wondering if there was an efficient and yet simple way of achieving the same.
    Thanks in advance,
    Joe

    Thanks Vidyut! You've answered my question.
    I placed the jar file in the $CATALINA_HOME/shared/lib directory. But where should I place the taglib TLD file? And how should I reference it in web.xml?
    Currently, my web.xml is as follows and it doesn't work.
    <?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/dtd/web-app_2_3.dtd">
    <web-app>
    <taglib>
    <taglib-uri>http://abc.com</taglib-uri>
    <taglib-location>c:\Tomcat\shared\lib\mytags-taglib.tld</taglib-location>
    </taglib>
    </web-app>
    Thanks again!
    Joe

  • How to add a new tag library into ALBPM 5.7?

    I want to use a tag library but I don't know ho to configure ALBPM to use it.
    Anyone knows how to do it?
    Thanks
    Regards

    Hello,
    I think u need to import all resources used by your TagLib as .TLD .JAR to inside process.

  • After selecting an image in Library mode (grid view), my selection of image jumps to another image.

    Through several versions of Lightroom, I have encountered this problem.  I choose an image in Library mode while in Grid view and the image jumps to another that I have not chosen.  This happens about 75% of the time.  Does anyone else have this problem?  Does anyone know of a remedy.  I am using a Mac.

    HMSieg wrote:
    I am using a Mac.  I followed the platform specific instructions to find the preferences file but it is not there.  I also did a global search of my computer and the file did not show up.
    You are using the Option key to access the Library under the Go finder Menu?
    Click in the Go menu the hold the Option key and you will see Library appear, otherwise is is hidden.

  • Purpose of TAG Library?

    What is the purpose of TAG library?
    I feel so hard while using Tag library in my JSP pages?

    Which taglibrary are you talking about? JSTL?
    If so, its purpose is just to control the flow of code logic and the data output in JSP. It is less or more a replacement of scriptlets, which are been discouraged since a decade. Scriptlets are considered a bad practice. Taglibs (and EL) forces you to write clean and well-MVC-formed JSP code. The JSTL core, format and functions taglibs are extremtly useful. The JSTL sql and xml taglibs are intented for quick prototyping only, in real you should be using Java classes for this to avoid tight coupling of database/business/model/view logic.

  • Error in using tag library

              I am using Weblogic server 8.1 and have a struts app. I am using the random taglib
              from jarkarta and recieving this error while using weblogic. With the same setup
              in tomcat everything works fine. What do I need to do special for weblogic?
              ERROR FROM WEBLOGIC
              /control/register/newMember.jsp(1): Error in using tag library uri='http://jakarta.apache.org/taglibs/random-1.0'
              prefix='randME': For tag 'string', cannot load extra info class 'org.apache.taglibs.random.RandomStrgTEI'
              probably occurred due to an error in /control/register/newMember.jsp line 1:
              <%@ taglib uri="http://jakarta.apache.org/taglibs/random-1.0" prefix="randME"
              %>
              taglibs-random.jar is in WEB-INF/lib
              random.tld is in WEB-INF
              the taglib include in my jsp looks like this:
              <%@ taglib uri="http://jakarta.apache.org/taglibs/random-1.0" prefix="randME"
              %>
              the call in my jsp looks like this:
              <randME:number id="random1" range="10000000-99999999"/>
              my web.xml looks like this:
              <taglib>
              <taglib-uri>http://jakarta.apache.org/taglibs/random-1.0</taglib-uri>
              <taglib-location>/WEB-INF/random.tld</taglib-location>
              </taglib>
              any help would be appreciated
              

    This may not solve your problem, but WL8.1 SP1 seems to have a problem with
              closing tags.
              Where you are using:
              <randME:number id="random1" range="10000000-99999999"/>
              ...try this instead:
              <randME:number id="random1" range="10000000-99999999"></randME:number>
              This problem is fixed in SP2.
              -- Craig
              "ssandy" <[email protected]> wrote in message news:[email protected]...
              >
              > I am using Weblogic server 8.1 and have a struts app. I am using the
              random taglib
              > from jarkarta and recieving this error while using weblogic. With the
              same setup
              > in tomcat everything works fine. What do I need to do special for
              weblogic?
              >
              > ERROR FROM WEBLOGIC
              >
              > /control/register/newMember.jsp(1): Error in using tag library
              uri='http://jakarta.apache.org/taglibs/random-1.0'
              > prefix='randME': For tag 'string', cannot load extra info class
              'org.apache.taglibs.random.RandomStrgTEI'
              > probably occurred due to an error in /control/register/newMember.jsp line
              1:
              > <%@ taglib uri="http://jakarta.apache.org/taglibs/random-1.0"
              prefix="randME"
              > %>
              >
              > taglibs-random.jar is in WEB-INF/lib
              > random.tld is in WEB-INF
              >
              > the taglib include in my jsp looks like this:
              > <%@ taglib uri="http://jakarta.apache.org/taglibs/random-1.0"
              prefix="randME"
              > %>
              >
              > the call in my jsp looks like this:
              > <randME:number id="random1" range="10000000-99999999"/>
              >
              > my web.xml looks like this:
              > <taglib>
              > <taglib-uri>http://jakarta.apache.org/taglibs/random-1.0</taglib-uri>
              > <taglib-location>/WEB-INF/random.tld</taglib-location>
              > </taglib>
              >
              > any help would be appreciated
              

  • Error in using tag library uri='weblogic.tld'

    Hmmm...
    I'm trying to config my userprofile by creating it in the tools application (myserver/tools/index.jsp),
    but when I try to access the Unified Profile Types I get an Error 500 Internal
    Server Error in my webbrowser. The weblogic.log prints out an errormessage that
    sounds something like this:
    ####<30-Aug-01 16:30:14 CEST> <Error> <HTTP> <Ast-WT01> <server01> <ExecuteThread:
    '14' for queue: 'default'> <system> <> <101020> <[WebAppServletContext(3530676,tools)]
    Servlet failed with Exception>
    weblogic.servlet.jsp.JspException: (line 24): Error in using tag library uri='weblogic.tld'
    prefix='wl': For tag 'repeat', cannot load extra info class 'weblogicx.jsp.tags.RepeatTagInfo'
    I'm running weblogic 6.0 and wlcs 3.5. I'm sure of that the tag libraries are
    correct and they are located under tools/web-inf.

    Hmmm...
    I'm trying to config my userprofile by creating it in the tools application (myserver/tools/index.jsp),
    but when I try to access the Unified Profile Types I get an Error 500 Internal
    Server Error in my webbrowser. The weblogic.log prints out an errormessage that
    sounds something like this:
    ####<30-Aug-01 16:30:14 CEST> <Error> <HTTP> <Ast-WT01> <server01> <ExecuteThread:
    '14' for queue: 'default'> <system> <> <101020> <[WebAppServletContext(3530676,tools)]
    Servlet failed with Exception>
    weblogic.servlet.jsp.JspException: (line 24): Error in using tag library uri='weblogic.tld'
    prefix='wl': For tag 'repeat', cannot load extra info class 'weblogicx.jsp.tags.RepeatTagInfo'
    I'm running weblogic 6.0 and wlcs 3.5. I'm sure of that the tag libraries are
    correct and they are located under tools/web-inf.

  • "No tag library could be found with this URI" error while compiling jsp

    I am using WebLogic Server 9.2 MP1, JDK 1.5.0_09, Struts 1.3.5
              I am pre-compiling jsp pages with wlappc ant task. However, I got following errors when a jsp page contains ant taglib:
              No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file.
              The jsp page looks like:
              <%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
              wlappc complains taglib could not be retrieved from this uri. Actually, since Struts 1.3.5, those ".tld" files are contained in strust-taglib-1.3.5.jar, folder META-INF/tld/. And I don't need to set anything in web.xml <tag-lib> tab anymore.
              All the jsp pages can be successfully compiled while being deployed to Server. So what am I missing? My build.xml file looks like:
                   <target name="compile-jsp">
                        <wlappc source="${src.dir}" output="${out.dir}"
                             keepgenerated="true" optimize="true" classpathref="wl_classpath"/>
                   </target>
              where "wl_classpath" contains all the struts related jar files, e.g. struts-core-1.3.5.jar, struts-taglib-1.3.5.jar, ...., and weblogic related jars, e.g. weblogic.jar.....
              I checked "beehive" samples coming with weblogic92, and found it pretty much did the same thing regarding build script and jsp files. So I am totally lost!
              Please help me out. Many thanks.
              Edited by jqian at 02/02/2007 10:24 AM

    Yes sorry, you're correct. The uri I mentioned is just 1.0.
    Do you have the "Oracle WebLogic Web App Extension" Facet for your web project? If not, try adding that and making sure that there is a weblogic.xml file created in the WEB-INF dir. The weblogic.xml file allows you to deploy usig a shared lib for JSTL. It should contain a library-ref element something like the following, with a version of 1.1.
    <wls:library-ref>
    <wls:library-name>jstl</wls:library-name>
    <wls:specification-version>1.1</wls:specification-version>
    <wls:exact-match>true</wls:exact-match>
    </wls:library-ref>

Maybe you are looking for

  • File not found error after database migration

    Hi experts I recently decided to create a test environment for SharePoint 2010 production server but after  attach the content database  using power shell successfully I get " file not found " error when I try to login the top site collection I think

  • Is there a way to pass archive file name to the command-line control?

    Hi there, I have been researching the flash media live encoder laterly. But still cannot find confirmed anwsers on the following questions: 1. Is there a way to pass an archive file name to the command-line control when starting an encoder? 2. Can th

  • Problem running Windows installer

    Hey folks, got a problem trying to install any form of windows. Ive tried with both XP (Home and Pro!) and Vista. I partition the drive correctly, when i go to install with BC, the machine resets but goes to a blank, then black screen. Ive tried boot

  • Address book has same entries multiple times how can I go back to original cesium

    Address book has same entries multiple times how can I go back to original cesium

  • Help with the Parallel Model configuration

    This is my first time posting, but I am a long time reader.... First off, I would consider my Teststand knowledge level as high novice to low intermidiate. I created  a test sequence using in Teststand which calls labview vi's. My test sequence tests