Complex Tag Question?

I want to write a BodyTag that will contain both HTML and other JSP tags. I want the JSP tags within this tag to handle themselves and have the HTML stuff simply pass through.
For example:
<@% taglib uri="/WEB-INF/cc.tld" prefix="cc" %>
<cc:form action="/servlet/ProcessRequestServlet">
    <table>
        <tr>
            <td>Name: </td><td><cc:text id="name" size="20"/></td>
        </tr>
    </table>
<input type="submit" value="Submit"/>
</cc:form>In this example the custom form tag would render an HTML form tag and some hidden HTML elements. I would then want the table, tr, td tags etc. to pass through as they are. The custom text tag would render a specific input HTML tag, the submit button would passthrough and the closing custom form tag would close the form.
Is is possible to do this? I've had success doing BodyTags where all the enclosed content was JSP or all enclosed content was passthrough HTML.
Thanks in advance.

Well it's not default behaviour from what I've seen in the past: Available options are:
1. Empty - there can be no body.
2. JSP - all content runs through the JSP compiler. Non-jsp content is ignored. At least that's what I get in my tags.
3. Tagdependent - all content is handled through the tag handler.
I need to be able to use the tags nested inside my new form tags to be usable outside a custom form tag. That's why I have them totally responsible for themselves. But when within a custom form tag, I need to be able to provide some standard html (basically table and related tags) mixed with the JSP tags.
If this is a situation where my tag is supposed to capture all body content and then determine itself whether it's JSP or HTML, I'd be glad to know how to do that as well. Meaning what do I do if I come across HTML, just pass it to the response stream? Then when I encounter a custom tag how do I forward that to the JSP compiler?
Any help would be appreciated.
I may be re-inventing the wheel, but the kinds of things I'm trying to do are pretty simple and don't require all the other STRUTS overhead. I am that Java programmer that spent years using Notepad and the javac command line compiler before finally switching to an IDE. If I was going to go to a complete framework like struts, I'd probably choose Tapestry or even make the jump to JSF.

Similar Messages

  • ID3 Tags Question

    I have both a Mac and a PC and I wanted to share my music between the both of them. The shared library option doesn't suit me because my music is sorted by artist's names like "last, first" and the shared library doesn't recognize them like this. For example Eric Clapton is sorted by "Eric Clapton" instead of "Clapton, Eric." My first question is, why is this? Is it an ID3 tag problem?
    Secondly, I have all of my music correctly organized on my PC (I used musicbrainz). I tried to just shared the folder and drag and drop the entire music folder to my mac. This worked except for one little problem, some of the artists names aren't sorted correctly anymore like they are on my PC. I have converted all of my music to ID3 v2.2 and then reimported it to my Mac and this still didn't work. Any suggestions?

    In Serato setup, check box Read iTunes Library. However this doesn't solve the problem, only creates yet another location for cleaning up....
    Having somewhat same issue: Converted all id3 from iTunes succesfully, but couldn't import files correct on other macbook in iTunes (same version)?!?!? Doesn't read id3...

  • Tomcat 5.0.* global JNDI database connect pooling. complex config question

    Ok. I can't get global connection pooling to work in tomcat 5.0.24. (I am running windows xp pro)
    I am using MySQL (installed on the same machine) and I have succesfully worked through the tutorial titled "MySQL DBCP Example" found at http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html
    This example does not demonstrate global connection pooling, however. I want to share a single connection pool across all my web applications. I don't want a different connection pool for each webapp.
    So I define the connection pool JDBC resource in the conf/server.xml file under the <GlobalNamingResources> element.
    Here is the entire <GlobalNamingResources> element lifted from conf/server.xml:
    (Please overlook some of the formatting mistakes due to the <code> tag interpreting the xml as java.)
    <!-- Global JNDI resources -->
    <GlobalNamingResources>
        <Environment name="simpleValue" type="java.lang.Integer" value="30"/>
        <Resource name="UserDatabase"
                  auth="Container"
                  type="org.apache.catalina.UserDatabase"
                  description="User database that can be updated and saved">
        </Resource>
        <Resource name="jdbc/MySQL"
                  auth="Container"
                  type="javax.sql.DataSource"/>
        <ResourceParams name="UserDatabase">
            <parameter>
                <name>factory</name>
                <value>org.apache.catalina.users.MemoryUserDatabaseFactory</value>
            </parameter>
            <parameter>
                <name>pathname</name>
                <value>conf/tomcat-users.xml</value>
            </parameter>
        </ResourceParams>
        <ResourceParams name="jdbc/MySQL">
            <parameter>
                <name>factory</name>
                <value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
            </parameter>
            <parameter>
                <name>maxActive</name>
                <value>100</value>
            </parameter>
            <parameter>
                <name>maxIdle</name>
                <value>30</value>
            </parameter>
            <parameter>
                <name>maxWait</name>
                <value>20000</value>
            </parameter>
            <parameter>
               <name>username</name>
               <value>webapp</value>
            </parameter>
            <parameter>
               <name>password</name>
               <value>******</value>
            </parameter>
            <parameter>
                <name>removeAbandoned</name>
                <value>true</value>
            </parameter>
            <parameter>
                <name>removeAbandonedTimeout</name>
                <value>3000</value>
            </parameter>
            <parameter>
                <name>logAbandoned</name>
                <value>true</value>
            </parameter>
            <parameter>
                <name>url</name>
                <value>jdbc:mysql://localhost:3306/javatest?autoReconnect=true</value>
            </parameter>
        </ResourceParams>
      </GlobalNamingResources>I am still trying to get the DBTest example (described in the link to the tomcat 5 docs above) to work, only now I want it to work using a global connection pool. So here is the contents of webapps/DBTest/WEB-INF/web.xml: (again, please overlook formatting difficulties :)
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
             http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
             version="2.4">
      <description>MySQL Test App</description>
      <resource-ref>
          <description>DB Connection</description>
          <res-ref-name>jdbc/MySQL</res-ref-name>
          <res-type>javax.sql.DataSource</res-type>
          <res-auth>Container</res-auth>
      </resource-ref>
    </web-app>The last thing I need to do, I think, is to include a <resourceLink> element in the context.xml file for this webapp. Now in tomcat 5.0.* it is not recommended that the <context> element appear in the conf/server.xml file. Instead, as I understand it, it should appear in either of the two following places (for a webapp called DBTest):
    $CATALINA_HOME/conf/[engine_name]/[host_name]/DBTest.xml
    $CATALINA_HOME/webapps/DBTest/META-INF/context.xmlSince I would eventually like to package each webapp in its own war file, I prefer the second option above. This will enable me to place the context.xml file within the .war file. Currently, however, I am not using .war files.
    For the DBTest webapp I have the following <context> element in webapps/DBTest/META-INF/context.xml:
    <context path="/DBTest" docBase="/DBTest" debug="1">
        <ResourceLink global="jdbc/MySQL" name="jdbc/MySQL" type="javax.sql.DataSource" />
    </context>Now, when I point my browser to http://localhost:8080/DBTest/test.jsp I get the following message:
    javax.servlet.ServletException: Unable to get connection, DataSource invalid: "org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null', cause: No suitable driver"
    For those who are interested, here is test.jsp:
    <%@ taglib uri="http://java.sun.com/jsp/jstl/sql" prefix="sql" %>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
    <sql:query var="rs" dataSource="jdbc/MySQL">
    select id, foo, bar from javatest.testdata
    </sql:query>
    <html>
      <head>
        <title>DB Test</title>
      </head>
      <body>
      <h2>Results</h2>
    <c:forEach var="row" items="${rs.rows}">
        Foo ${row.foo}<br/>
        Bar ${row.bar}<br/>
    </c:forEach>
      </body>
    </html>Now I know that this is a very long and detailed question and that it is unlikely that anyone is even going to read down this far, let alone take the time to study all that XML, but if anyone is able to tell me why this setup does not allow global connection pooling, I will be pretty *@&$**% impressed. I only wish I had duke dollars to give.
    Jon

    Okay, I went back and double checked that I can get the DBTest example working. It is described here: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html
    I was not able to get it working exactly according to the tutorial, though. I was required to put the <context> element not in the conf/server.xml but in conf/Catalina/localhost/DBTest.xml. Then, with the DBTest/WEB-INF/web.xml as above, I was able to get the DBTest example working. The output of test.jsp (described above also) is the following:
    Results
    Foo hello
    Bar 12345I would like to be able to put the <context> element in webapps/DBTest/META-INF/context.xml (as I think should be allowed) because then I would be able to include it in a war file that encompassed the entire web application. If I am forced to put the <context> element in a subdirectory of the conf directory, then I cannot include it in a war file and I will be unable to just drop my war files in the webapps directory and go. Instead I will have to drop my war files in the webapps directory, then go and fiddle around with the xml files in conf/Catalina/localhost/
    But if I move the <context> element into webapps/DBTest/META-INF/context.xml then the example stops working. When I put it back in conf/Catalina/localhost/DBTest.xml everything is fine again.
    Ok, no big deal. I guess my war file deployment will just have to be a little more complicated.
    But what if I want the resource to be global??? If I remove the <Resource> and <ResourceParams> elements from the webapp-specific <context> element and put them in the <GlobalNamingResource> element in the conf/server.xml file I should have a global resource, right? I did this, then added a resource link to the <context> element (see above), however, the example stops working. I have tried both with and without the <resource-ref> element in web.xml.
    Can some remarkably intelligent and knowledgeable person please explain to me how global resources work in tomcat 5.0, especially global JDBC connection pooling.
    Thanks,
    Jon

  • JSTL c:import tag question

    HI
    I have a question about how the <c:param> tag interacts with <c:import> tag.
    <c:import> tag can be used to import from relative URL's like <c:import url="target.jsp" /> , from absolute urls like <c:import url="http://www.espn.com" /> or from another web application on the same server by specifying the context attribute like <c:import context="/myotherwebapp" url="some.jsp" />
    we can use <c:param> tag as an optional child tag for <c:import> to send request parameter to the page it is loading. For absolute url sending request parameters makes sense beacuse the import will be treated as new request and original request object will not be passed . but for relative urls and including the page in different web application on same web server does the jsp container treat it as part of same original request and does the target page have access to the original request object ? if this is true then how can you set additional request parameters on the request object? because once the request object is craeted by jsp container you can only add/remove attributes on it but you can never add parameters on it.
    Now if the jsp container always creates new request object for each of the above included pages then these pages will not have access to original request parameters entered by the user. Is that not a limitation.
    I am a little bit confused . hopefully somebody can help me out.
    thanks

    the c:param tag are added to the url and are not set as request parameter.
    <c:import url="target.jsp">
       <c:param var="test" value="val">
    </c:import>then is will do an import like
    <c:import url="target.jsp?test=val"/>

  • Keyword Tags Question

    I am using PSE 9  and have just been checking some of my keyword Tags.  I have run into a problem where I am looking in one keyword tag  eg animals, and there are some photos in there that do not belong there - they have the keyword Flowers on them.   They DO NOT have that keyword tag on them,   What might be causing this problem and how do I rectify it please?  No other Keyword tags are ticked.  Nothing I have tried seems to have worked

    just further to my question above  each photo has a small icon  circle with a line through it on the top left hand side.. Says no match.  What does this mean?

  • Lightroom Tagging Question

    Hi,
    I've recently started using Lightroom 3 trial version and have started sorting out my photographs. I have a question with respect to tagging feature of lightroom 3 before i go ahead and buy it.
    I've stored all my photographs on an external hard drive because i've to frequently travel and share my photographs with other people. my question is:
    If i give a tag in Lightroom 3 on my laptop and save it in my external hard drive, if i open in another computer having Lightroom 3, can they also see the tag.???
    Thanks in advance,
    Regards
    Vj.

    Welcome to the forum!
      There are actually two questions here... one, if you have your photos on an external drive, can another LR see it, and two, will it see my tags?
    First, normally your tags are stored in your catalog file.  This is the one ending in .LRCAT, such as "Catalog.lrcat".  Your tags reside there.  You can cause LR to save them with your images, in a file ending in .xmp... turn on write to xmp files and it will also put your tags there.
    However, if you expect another LR on another computer to be able to see your catalog, you'd have to copy the catalog file onto your external disk as well!   That's where all of your collections, organizations and such get stored, so it would also need to be there for another LR to be able to look at your images the same way you look at them on your computer.
    Several ways to go about it:  1) just move your catalog there and run the entire thing off your external disk.  Some people do this (I do it when traveling), but it does run slower than it would if you ran it using your internal disk, as it is usually much faster.
      2) before you disconnect the external disk, copy your current catalog file onto your external disk.  Drawbacks: may forget to do it.  Might have to "reconnect" or "find folder" in order to see all of your images.  This is especially true of windows machines, as they assign drive letters almost randomly (so it seems, at times!).  Each time it assigns a different drive letter, you'd have to reconnect your images.  You can stop some of that, by having the OS assign the drive letter specifically, such as R: or something, and then when you first plug it in to a new computer, make it assign that drive letter again before you startup LR.  On macs it's not that bad, as the disk almost always has the same name.
    When you bring your external drive back to your main computer, you could copy your catalog over again, or simply "Import from Catalog" and turn off the "copy negatives" options, then all of your changes made on the other machine will show up again on your local machine.
    Cheers!

  • VLAN tagging and tagging question

    Hello,
    I have a question about VLAN tagging on a Cisco switch.
    I've learned that switches tag frames with VLAN IDs once the frame enters a Trunk port (not when it enters a VLAN port).
    Now, if two computers from the same VALN and on the SAME switch talk to each other then logically there should not be any VLAN assignment on the frames (as if they were connected to a hub).
    Is that correct please?
    TIA

    Disclaimer
    The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.
    Liability Disclaimer
    In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.
    Posting
    Just to muddy the waters, since VLAN edge/access ports don't normally tag frames with VLAN IDs, referencing your question about two computers "talking" to each other, it doesn't matter whether the two ports or on the same switch or even different switches; or in the same VLAN or not.
    Also understand trunk ports normally tag frames, and edge/access ports don't, but an exception for the former is the "native" VLAN frames aren't tagged, and an exception for the latter, a Voice VLAN will tag frames.

  • Basic Tagging Question, Single Album, Multiple CDs

    Sorry for what perhaps is a really basic question, but only realy thought about it after upgrading to iTune7!
    I have albums, Elton John for example, which is a Greatest Hits album, and there are 3 CD's
    I origionally had each Cd called 'Greatest Hits - CD1; Greatest Hits CD2' etc.
    With the cover flow thing this is giving me 3 covers for he same album (not ideal!)
    I have just started to look through, and i have changed each CD's info (in the tags) to use the 'Disk 1 of 3' for CD1, and 'Disk 2 of 3' for CD2 etc. Then i change the actual album name for all the disks to read Greatest Hits
    This works, so now using coverflow, i can see the album with a single cover, but how do i go directly to the 2nd or 3rd disk? Have i got to peak in the actual track listing to pick up disk 2
    Also, when everything is synced onto my iPod (havent got it with me at present) how will i easily access the 2nd or 3rd disk from the album?
    Again, sorry if this is trivial, but i would love to hear about how other people organise their library, and navigate, having multiple CD albums
    Also, is there a quide on setting up the tagging info which may be of some help to me?
    Thanks
    MacBook Black   Mac OS X (10.4.7)   2GB Crucial Ram - iPod Video 60gb Black

    Sorry for what perhaps is a really basic question, but only realy thought about it after upgrading to iTune7!
    I have albums, Elton John for example, which is a Greatest Hits album, and there are 3 CD's
    I origionally had each Cd called 'Greatest Hits - CD1; Greatest Hits CD2' etc.
    With the cover flow thing this is giving me 3 covers for he same album (not ideal!)
    I have just started to look through, and i have changed each CD's info (in the tags) to use the 'Disk 1 of 3' for CD1, and 'Disk 2 of 3' for CD2 etc. Then i change the actual album name for all the disks to read Greatest Hits
    This works, so now using coverflow, i can see the album with a single cover, but how do i go directly to the 2nd or 3rd disk? Have i got to peak in the actual track listing to pick up disk 2
    Also, when everything is synced onto my iPod (havent got it with me at present) how will i easily access the 2nd or 3rd disk from the album?
    Again, sorry if this is trivial, but i would love to hear about how other people organise their library, and navigate, having multiple CD albums
    Also, is there a quide on setting up the tagging info which may be of some help to me?
    Thanks
    MacBook Black   Mac OS X (10.4.7)   2GB Crucial Ram - iPod Video 60gb Black

  • ID3 Tags Questions

    What are id3 tags and which versions should I use? In iTunes, I have versions: 1.0,1.1,2.2,2.3 and 2.4. Which is the best for burning MP3 cd's to play in my car? Also, even though my car has an MP3 player, it sometimes has trouble reading the songs and it doesn't work but when I use AAC audio cd's it works all the time, but I can only put 10 songs on a cd. ThankS!

    What are id3 tags
    They are fields in the song file with all the info about the song. The artist, the title, the date, etc. The info in the ID3 tags is what you see in iTunes.
    and which versions should I use?
    V2.3 seems to be the most compatible.
    but when I use AAC audio cd's it
    No such thing. Either it is an AAC CD or it is an AudioCD. Audio CDs can be made from all file types in iTunes.

  • Complex Mapping Question

    Hi,
    i have a xml structur like that:
    <root>
         <header>
              <nr>00010</nr>
         </header>
         <header>
              <nr>00102</nr>
         </header>
         <item>
              <nr>00010</nr>
              <value>20</value>
              <wight>60</wight>
         </item>
         <item>
              <nr>00102</nr>
              <value>30</value>
              <wight>30</wight>
         </item>
         <desc>
              <nr>00010</nr>
              <name>Meet</name>
         </desc>
         <desc>
              <nr>00102</nr>
              <name>Apple</name>
         </desc>
    </root>
    and want that it looks like that:
    <root>
         <item>
              <nr>00010</nr>
              <name>Meet</name>
              <value>20</value>
              <wight>60</wight>
         </item>
         <item>
              <nr>00102</nr>
              <name>Apple</name>
              <value>30</value>
              <wight>30</wight>
         </item>
    </root>
    for each header tag in source message it must be a item tag in target message.
    can i handle this with a XSLT Mapping ?
    any Idea?
    for me its looks very difficult to do that in a mapping.
    Regards,
    Robin

    I think you have your source xml wrong. Try getting your source xml structure to be something like below, the reason being you cannot do a loop (for-each) otherwise.
    <?xml version="1.0" encoding="UTF-8" ?>
    <root>
    <data>
    <header>
    <nr>00010</nr>
    </header>
    <item>
    <nr>00010</nr>
    <value>20</value>
    <wight>60</wight>
    </item>
    <desc>
    <nr>00010</nr>
    <name>Meet</name>
    </desc>
    </data>
    <data>
    <header>
    <nr>00102</nr>
    </header>
    <item>
    <nr>00102</nr>
    <value>30</value>
    <wight>30</wight>
    </item>
    <desc>
    <nr>00102</nr>
    <name>Apple</name>
    </desc>
    </data>
    <data>
    <header>
    <nr>00102</nr>
    </header>
    <item>
    <nr>00102</nr>
    <value>30</value>
    <wight>40</wight>
    </item>
    <desc>
    <nr>00102</nr>
    <name>Apple</name>
    </desc>
    </data>
    </root>
    Now if understood your requirement correctly, you need to club all nr together, and also aggregate (sum) their respective values and wight.
    The XSLT to achieve that is as follows,
    <?xml version='1.0'?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
    <xsl:key name="nr" match="root/data" use="header/nr"/>
    <xsl:template match="/">
    <root>
    <!-- iterate on each group -->
    <xsl:for-each select="root/data[generate-id(.) = generate-id(key('nr', header/nr)[1]) ]">
    <xsl:variable name="group" select="key('nr', header/nr)"/>
    <xsl:variable name="nr">
    <xsl:value-of select="header/nr"/>
    </xsl:variable>
    <xsl:variable name="name">
    <xsl:value-of select="desc/name"/>
    </xsl:variable>
    <xsl:variable name="value">
    <xsl:value-of select="sum($group/item/value)"/>
    </xsl:variable>
    <xsl:variable name="wight">
    <xsl:value-of select="sum($group/item/wight)"/>
    </xsl:variable>
    <!-- Generate the final XML file -->
    <item>
    <nr>
    <xsl:value-of select="$nr"/>
    </nr>
    <name>
    <xsl:value-of select="$name"/>
    </name>
    <value>
    <xsl:value-of select="$value"/>
    </value>
    <wight>
    <xsl:value-of select="$wight"/>
    </wight>
    </item>
    </xsl:for-each>
    </root>
    </xsl:template>
    </xsl:stylesheet>
    Please have a look at my code sample that i have submitted, which speaks of how to handle such a scenario.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/xi-code-samples/generic xslt mapping in sap xi, part i.pdf
    cheers
    Sameer

  • Text in Div tag question

    hello Dreamweavers.
    I have made a Div Tag and placed and image within it. Im also copy/pasting lorum ispum text in the div tag.
    what id like to know is,why does DW put the text down the bottom and not from the top where the red arrow is.
    So how can I add text from the top of the image?
    thank you.

    Try the following
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Untitled Document</title>
    <style>
    .banner {
        width: 600px;
        margin: auto;
    .banner img {
        display: block;
        float: left;
        margin-right: 15px;
    .banner p {
        margin-right: 15px;
    .banner p span {
        font-weight: bold;
    </style>
    </head>
    <body>
    <div class="banner"> <img src="_images/top_back8.jpg" alt="img">
      <p><span>Lorem Ipsum</span> is the exploitation of core competencies as an essential enabler, measure the process, not the people. Building a dynamic relationship between the main players. As knowledge is fragmented into specialities an important ingredient of business process reengineering whether the organization's core competences are fully in line, given market realities. The three cs - customers, competition and change - have created a new world for business highly motivated participants contributing to a valued-added outcome.</p>
    </div>
    </body>
    </html>
    I like to keep it simple and restrict the use of ID's

  • Applet tag question

    I am working with applets and have been getting the classdefnotfounderror exception and a wrong name error.
    After pouring over the archives and messing around, I have found a
    solution to my problem, but I don't know why it works. I think it has to do with packages, but I'm not sure.
    I have two versions of Asteroids, one which has "package Asteroids" at the top
    of each file, and one that has no package.
    First with the version that is in a package: If I have the html file in the
    same directory as the class files, I cannot get the applet tag to work
    properly. If I back it up a directory (just outside the Asteroids directory), this works:
    <applet
      codebase = "."
      code     = "Asteroids/Asteroids.class"
      width    = "640"
      height   = "480"
    </applet>
    {code}
    One old post I found said that the wrong name error indicates that the qualified name is incorrect ( so my incorrect name would be Asteroids.class) and that the full name should include the package, so mine would be Asteroids/Asteroids.class, I think. Is that correct? If so, why wouldn't this code work inside the same directory as the class files?
    For the version that is not in a package, the opposite seems to work.
    {code:java}
    <applet
      codebase = "Asteroids/"
      code     = "Asteroids.class"
      width    = "640"
      height   = "480"
    </applet>
    {code}
    This code works for the version which is not in a package, but does not work for the version in a package, ( and vice versa for the code above). It seems like either code should work in either case. What am I missing?
    Thanks,
    Matt                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    I don't know what your understanding of packages and applet codebase is. These 2 tutorial sections should clarify your understanding, though.
    http://java.sun.com/docs/books/tutorial/java/package/index.html
    http://java.sun.com/docs/books/tutorial/deployment/applet/html.html

  • Meta tag question(s)

    I am curious about a meta tag I came across:
    <meta name="description" content=" ">
    <meta name="keywords" content=" ">
    <meta name="revisit-after" content="31 days">
    <meta name="robots" content="all">
    <meta name="url" content="
    http://www.cariholdorf4homes.com">
    <meta name="MSSmartTagsPreventParsing" content="true">
    Is this necessary and/or beneficial to a website?
    How does this work?
    Will this work on all websites?
    How soon does an search engine identify new meta tags if a
    website is active?
    If I create a somewhat unique meta tag (keyword or
    description) for e.g. 'Revere's Electric Gates', will this get
    placed near the top of search engines?
    How can I increase the odds of getting near the top of a
    search?

    > <meta name="description" content=" ">
    Use the description meta tag for marketing purposes. It's
    usually (not
    always, but very often) the snippet that is shown below the
    page title in
    search results. It doesn't affect WHERE in the SERPS your
    site appears, but
    it can affect whether a person is motivated to click through
    to your site.
    > <meta name="keywords" content=" ">
    Pretty worthless. Don't bother.
    > <meta name="revisit-after" content="31 days">
    Worthless.
    > <meta name="robots" content="all">
    "Robots all" is the default behavior. No need for this one.
    You only need to
    use the robots tag to specify non-default behavior, e.g., no
    index or no
    follow.
    > <meta name="url" content="
    http://www.cariholdorf4homes.com">
    Non standard, not in any specs anywhere, therefore worthless.
    > <meta name="MSSmartTagsPreventParsing"
    content="true">
    This was worth using in the past when MS was trying to use
    its proprietary
    SmartTags technology to hijack visitors. I don't know that
    there's any need
    for it currently, although I long ago put it it in my own
    default template,
    so it's probably in every site I create.
    One more to consider:
    <meta http-equiv="imagetoolbar" content="no">
    I use this one to keep Windows from popping up that annoying
    and distracting
    image toolbar whenever the mouse is hovering over an image on
    the page.
    Sonjay
    On 11/8/07 2:05 PM, "JaneGarner" wrote:
    > I am curious about a meta tag I came across:
    >
    > <meta name="description" content=" ">
    > <meta name="keywords" content=" ">
    > <meta name="revisit-after" content="31 days">
    > <meta name="robots" content="all">
    > <meta name="url" content="
    http://www.cariholdorf4homes.com">
    > <meta name="MSSmartTagsPreventParsing"
    content="true">
    >
    > Is this necessary and/or beneficial to a website?
    >
    > How does this work?
    >
    > Will this work on all websites?
    >
    > How soon does an search engine identify new meta tags if
    a website is active?
    >
    > If I create a somewhat unique meta tag (keyword or
    description) for e.g.
    > 'Revere's Electric Gates', will this get placed near the
    top of search
    > engines?
    >
    > How can I increase the odds of getting near the top of a
    search?
    >

  • Really, Really, REALLY complex Tween Question

    Ok, this is the BIG one: I have a motion tween, moving a single graphic forward & backward on an even plane, comprised of six keyframes. I built this animation about a year ago. Now I want to add a keyframe thirty frames after the last keyframe in the timeline for this tween, and I want to position the graphic being animated so that on that last keyframe, it is positioned off the screen to the right. So I put in my new keyframe, put the playhead on that keyframe, then click & drag the symbol off to the right of the stage. That should do it, right? All the other keyframes should be holding their positions with the symbol where it was before on those keyframes, right. But they aren't. They've all moved proportionately to the position of the new keyframe I put in, thirty frames farther along the timeline. I've been pulling my hair out for 45 minutes, trying everything available in this interface (yes, including the roving keyframes toggle), and CANNOT find whatever it takes to have those earlier keyframes hold the symbol in the previous positions when I try and add another animation segment to the path.
    Seems like having the symbols stay in position with previous keyframes would be the default, doesn't it? Any ideas on how to add a new keyframe, move the symbol on the stage to a new position on that new keyframe, and have all the other keyframes hold their positions?
    Pretty complex, huh? Shouldn't be, should it?
    Thanks.
    Cayce

    I have no experience with them, but what you describe wanting would work with the Classic version.
    If you don't want to switch to them, then you could always have a new layer for the new sequence so that you can be sure the other is not going to influence it.

  • Complex Average question

    I was wondering if I could put the following requirement into a single member formula:I need to calculate the average value of a level 0 time member of the descendants of the current member.For example, If I select Qtr1, I need the average of Accounts Balance for the days (level 0) that make up Qtr1. If I select Qtr2, I need the average Accounts Balance for the days of Qtr2.I tried the following formula, but it wasn't right:@AVGRANGE(SKIPBOTH, "ACCOUNT BALANCE",@LEVMBRS(TIME, @DESCENDANTS(@CURRMBR(TIME)))For now, I'm using IF's, i.e., IF Qtr1, Average the range of days 1-90, IF Qtr2, averager the range of days 91-120, etc. Just wondering if there's another way to do it.Thanks in Advance!!

    Your question wasn't very clear, but if you only want to sort
    them by the count in descending order, just ORDER BY 1 DESC.
    <cfquery name="GetEventCount"
    datasource="JasperCountyDB">
    SELECT COUNT(AG_ID) as EventCount, TYCOD, TYP_ENG, CURENT
    FROM aeven
    WHERE AG_ID = '#Session.InquiryAgencyCode#'
    AND CURENT = 'T'
    AND CDTS LIKE '#EventReportDate#'
    GROUP BY AG_ID, TYCOD, TYP_ENG, CURENT
    ORDER BY 1 DESC
    </cfquery>
    Phil

Maybe you are looking for

  • How do I make dynamic links to Excel cells, not sheets?

    Help! I thought I'd found the perfect way to link an in-progress Excel spreadsheet to an in-progress InDesign file. That allowed the Product Management group to do content, and the graphic group to do layout simultaneously. After several days of layo

  • Colour profile advice

    Hi, can anybody give me any advice on colour profile. On my mac book pro I have iLife, Photoshop CS2. When I view the same image through CS2, iPhoto and preview they all have little differences. Does anybody know how I can set the colour profile to b

  • Saving picture from safari

    I'm new to Mac. How do you save a picture from a webpage so that it will be a jpg file? I know you right click on the mouse if it were a PC, but how do you do it on a Mac? I haven't had a chance to get a mouse for my MacBook Pro, but I don't think th

  • MBP crashing when I move it

    I just got back from the genius bar, where they told me that my mac was fine expect for the HDD. So, I bought a new one and freshly reinstalled yosemite. Still the crashes are here, this is what console tells me after every crash (after a few lines,

  • Help!   Lines/columns appearing on CS6 ext

    Can anyone suggest a fix for this, please?  I am getting multiple vertical lines / columns running down images when I scan an image from right to left.  I have tried restoring my PC system to a point previous to the problem, with no success. Thanks!