Custom Tags Using Facelets

I am trying to simplify a lot of pages by using Facelets and custom taglibs that are just .xhtml pages with other Standard JSF components inside them. My problem is not really related to that, but it gives a bit of background info: What I am trying to do is simplify the naming of binding and value attributes by trying to concatenate Strings to form a reference to a managed bean/property.
I am trying to do something like this:
<c:set var="componentVal" value="'#{formBinding}.#{formName}.#{componentName}'" />
<c:set var="componentBind" value="'#{beanBinding}.#{formName}.#{componentName}'" />
<h:inputText id="#{id}" value="#{componentVal}" binding="#{componentBind}" size="#{size}" />This comes after iterations of trying to just concatenate the bound variables (formBinding, formName, and componentName are defined earlier). Is this possible in JSF or am I barking up the wrong tree? I am trying to use this solution because we have one session-bound managed bean with different components for different tabs on the screen, and are accessed via a map, which makes the names quite long, and they only give us 17" monitors here, so, aside from making it cleaner, I will actually get to see what I am doing without scrolling all over the place.
Thanks for any and all help/advice.

I guess I could try some createobject code to see if it works on godaddy
Would you be able to post some example code?
Sure. Here is a simple test. If by some miracle that actually runs without error, you can find a .NET example in the documentation
<cfset str = createObject("java", "java.lang.String").init("Test this")>
<cfoutput>#str#</cfoutput>
Also, find out what version of CF you are using. If it is CF8+ you are in business.
<cfoutput>
version #server.coldFUsion.ProductVersion#
</cfoutput>

Similar Messages

  • Integrating a legacy custom tag with facelets webapp

    Hi
    I have an external custom tag ( a handler that had extended javax.servlet.jsp.tagext.TagSupport ). I am trying to use that custom tag in my .xhtml file(mine is facelets webapp). Please see the xhtml content below
    <html xmlns="http://www.w3.org/1999/xhtml"
    xmlns:tGrid="http://java.pershing.com/tGrid">
    <tGrid:gridFields viewname="view1" isDefault="true" fields="Symbol,Quantity,Security Description,Account Type"/>
    </html>
    The problem here, the tag handler class is not getting invoked, i do not get the HTML content from it.
    I understand like we need to add 'taglib.xml' file as below, and register as config files in servlet context param.
    <tag>
    <tag-name>gridFields </tag-name>
    <handler-class>
    xyz.Grid
    </handler-class>
    </tag>
    I have collected the attributes and kept as TagAttribute in Grid handler class..
    But how could i invoke the custom handler class that had implemented TagSupport and start its own life cycle.
    Please help me out.
    Thanks
    -vijay

    Okay. so we cannot use any legacy custom tags and we need to duplicate the code into a new facelets handler class and add into tablig.xml file. is my understanding correct.?
    By the way, JSTL tags like <c:out> <c:if> are being identified by facelets view handler. How this cud have been supported by it?
    Thanks
    -vijay

  • Custom Tag using object as an attribute.

    I have read up on trying to pass an object as an attribute to a custom tag.
    Is it true that the only way to do this is to put the object, using a "key name" in the pageContext
    Then in the custom tag, set an attribute equal to the "Key Name"
    Then in the TagHandler, to do a lookup using the "Key Name"
    We can not just past objects into the attribute?
    And what is this about using EL or JSP2.0
    sorry sort of new to the whole game.

    Certainly you can pass objects to tags.
    However you need to use a runtime expression to do that.
    such as <%= expr %> or (with JSP2.0) ${expr}
    If you look at the JSTL library, it uses the EL and passes in objects all the time. However the EL actually accesses the page/request etc attributes as its variable space, so you are still technically using attributes.
    Is it true that the only way to do this is to put the object, using a "key name" in the pageContext
    then in the custom tag, set an attribute equal to the "Key Name"
    then in the TagHandler, to do a lookup using the "Key Name"That is one way of doing it. The struts libraries use this method extensively. It is more suited to JSP1.2.
    Sometimes it is easier/neater just to put the value into a scoped attribute, and pass in the name of that attribute. That way you don't need to worrry about the type of the attribute at all in your JSP.
    Hope this helps some,
    evnafets

  • Setting up custom tags using Cfmodule?

    I have just set a site up on Godaddy, on a shared CF server, so I don't have access to the administrator to set up a custom tag
    I believe it's possibly to set up a tag by uploading into my web root and then referring to it using CFMODULE
    Can anybody offer any help on this as I can't get it working.
    the issue is I want to set up DLL custom tags, such as CFX_ZIP (CFX_ZIP), and CFX_GIFSIZE (gifsize.dll)
    Thanks
    Mark

    I guess I could try some createobject code to see if it works on godaddy
    Would you be able to post some example code?
    Sure. Here is a simple test. If by some miracle that actually runs without error, you can find a .NET example in the documentation
    <cfset str = createObject("java", "java.lang.String").init("Test this")>
    <cfoutput>#str#</cfoutput>
    Also, find out what version of CF you are using. If it is CF8+ you are in business.
    <cfoutput>
    version #server.coldFUsion.ProductVersion#
    </cfoutput>

  • Problem with custom tag using TagExtraInfo

              Hi,
              I have a tag that create a Java variable using TEI. The scope of this
              variable is driving me crazy. The problem is hard to describe, so the
              email is a bit long - stay with me...
              <pre:setvar id="foo" value="test" /> create a Java variable
              named "foo", which has String value "test". I can use "foo" like this in
              the page later: <%= foo %>.
              Now, if I call setvar twice with same id:
              <pre:setvar id="foo" value="test" />
              <pre:setvar id="foo" value="another-test" />
              This is still ok. By checking the compiled Java file, the first call
              declare the var, the second call just use it without creating it again:
                   //first call
                   String foo=null;
                   foo="test";
                   //second call
                   foo="another test";
              Now the problem comes when the frist call is in "if" statement (code is not
              useful, only for demostration):
              <% if (1>0) { %>
                   <pre:setvar id="foo" value="test" />
              <% } %>
              <pre:setvar id="foo" value="another-test" />
              The compiled code looks like:
                   if (1>0) {
                        //first call
                        String foo=null;
                        foo="test";
                   //second call
                   foo="another test";
              Variable foo is out of scope at the second call! (BTW, I can workaround this by
              adding another <pre:setvar id="foo" value="" /> before the "if".)
              Is it a fault in JSP specification? Or a problem when WebLogic implements TEI?
              Any idea?
              Thanks,
              -- Jin
              

    I encountered the same problem in our environment. I did the same thing as
              James. Simply re-initialize all variables in the do end tag.
              Also, with the nested tags you use you may also need to implement cloneable
              in the inner tag if the outer tag keeps references to all the inner tag
              instances.
              For instance if the outer tag kept a vector of references to the inner tag,
              then you would need to use clone() on the inner tag before adding it to the
              vector.
              "James Lynn" <[email protected]> wrote in message
              news:3af05d29$[email protected]..
              > > But
              > > with WL 6.0, the cell tag handler reuse the same instance each time the
              > cell tag
              > > is called and the member field is not reset
              >
              > I had the same problem. As a work around, I reinitialize everything in my
              > doEndTag() method and it works.
              >
              >
              > --
              > James Lynn - Lead Software Architect
              > Oakscape - Java Powered eBusiness Solutions <http://www.oakscape.com/>
              >
              >
              

  • Problem with a custom tag using Jasper Report

    Hi everybody, I'm deprived of hope,
    I wrote this code for a custom taglib to convert a .jasper file into a .pdf file:
    package com.tag;
    import javax.servlet.jsp.*;
    import javax.servlet.jsp.tagext.*;
    import net.sf.jasperreports.engine.*;
    import net.sf.jasperreports.engine.export.*;
    import net.sf.jasperreports.engine.util.*;
    import net.sf.jasperreports.view.*;
    import java.sql.*;
    import org.apache.commons.logging.*;
    import java.io.*;
    import java.util.*;
    public class GeneratePDF extends TagSupport
    private String sourceFileName = "C:\\default.jasper";
    private String destinationFileName = "C:\\default.pdf";
    public void setSourceFileName(String sourceFileName)
    this.sourceFileName = sourceFileName;
    public void setDestinationFileName(String destinationFileName)
    this.destinationFileName = destinationFileName;
    public int doStartTag()
    return SKIP_BODY;
    public int doEndTag()
    try
    //Passaggio parametri da passare al jasper.
    Map parameters = new HashMap();
    parameters.put("param1", new Integer(1));
    //Preparazione del file da stampare (in questa fase si esegue la query e si inseriscono
    //i valori estratti dalla query)
    JasperPrint jasperPrint=JasperFillManager.fillReport(sourceFileName, parameters, getConnection());
    //Creazione del PDF
    JasperExportManager.exportReportToPdfFile(jasperPrint, destinationFileName);
    System.exit(0);
    catch(Exception e)
    { e.printStackTrace();}
    return EVAL_PAGE;
    /**Metodo per creare la connessione al DB*/
    private static Connection getConnection() throws ClassNotFoundException, SQLException {
    //Change these settings according to your local configuration
    String driver = "sun.jdbc.odbc.JdbcOdbcDriver";
    String connectString = "jdbc:odbc:gecoware";
    String user = "admin";
    String password = "password";
    Class.forName(driver);
    Connection conn = DriverManager.getConnection(connectString, user, password);
    return conn;
    No errors while compile but in execution I have this message:
    javax.servlet.ServletException: net/sf/jasperreports/engine/JasperFillManager
    org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:872)
    org.apache.jasper.runtime.PageContextImpl.access$1100(PageContextImpl.java:114)
    org.apache.jasper.runtime.PageContextImpl$12.run(PageContextImpl.java:792)
    java.security.AccessController.doPrivileged(Native Method)
    org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:790)
    org.apache.jsp.reportPDF_jsp._jspService(reportPDF_jsp.java:80)
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:141)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:325)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:306)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:324)
    org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:289)
    java.security.AccessController.doPrivileged(Native Method)
    javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
    org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:311)
    org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:205)
    root cause
    java.lang.NoClassDefFoundError: net/sf/jasperreports/engine/JasperFillManager
    com.tag.GeneratePDF.doEndTag(GeneratePDF.java:49)
    org.apache.jsp.reportPDF_jsp._jspx_meth_JR_GeneratePDF_0(reportPDF_jsp.java:97)
    org.apache.jsp.reportPDF_jsp._jspService(reportPDF_jsp.java:68)
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:141)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:325)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:306)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:324)
    org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:289)
    java.security.AccessController.doPrivileged(Native Method)
    javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
    org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:311)
    org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:205)
    Please HELP ME !!!!!!!!!
    Thank you in advance
    AleX

    Do you have the Jasper classes in /WEB-INF/lib?

  • Custom tag using viewobject

    Hi all
    Im developing a JSP 1.2 tag lib for our production enviroment to save us alot of repetitive code, therefore i decided to make a table component that can do sorting on header and would like to write the sorting code directly in the doStartTag on the library but my issues is the following:
    I send ${bindings.testData1.rangeSet} as an attribute on the table tag, this translates into a "oracle.jbo.uicli.binding.JUCtrlRangeBinding$1" (note the $1 at the end) in the actual code, my issue is that i need it to be "oracle.jbo.uicli.binding.JUCtrlRangeBinding" in order to typecast it. But unfortunatly i cant typecast it since the $1 is most likely the local implements and not the actual class...
    I might be approaching the issues incorrectly and should try and get something out of the pagecontext as well, but since i allready have the variable it seems to be the easiest to just get the actual collection and sort it instead of having to go through the applicationmodule etc.
    All ideas are very welcome, hope the question makes sense :)
    Edited by: Jesper Lind on 16-Feb-2009 05:11

    Hi Frank
    Well the thing is that the rangeset is a colletion so can get the iterator from that, but the thing is i would like to get the view object it belongs to so i can do sorting, but by the looks of it i have to do some java reflection to get the enclosingclass out or something similar.
    in the jsp it looks like the following:
    <sometag:table items="${bindings.testData1.rangeSet}"...
    Then in the java class "items" is read as a collection and then the iterator from the collection is used to create a loop.
    What i would like to do is something like e.g pseudo code.
    JUCtrlRangeBinding b = (JUCtrlRangeBinding)collection.getEnclosingClass();
    b.getViewObject().setSortBy("some column");

  • How can I use evaluate to get the instance variable in customized tag

    1.
    At first , I create a class called bean,and declared several params in it and do not define any getter function for the param.
    class bean{
    String param = "test";
    SomeClass scObj = new SomeClass();
    2.
    The second ,I use
    request.setAttribute("beanObj",new bean());
    3.
    And then I wanna use the customized tag to show a text box , then initialize it's value.
    <salt:text name="param" value="beanObj.param">
    <salt:text name="obj" value="beanObj.scObj.func()">
    4.
    I tried the evaluator provided by JexlContext ,Struts, JSTL and it seems that if I do not define the getter for the variable ,I can not get the bean's instance variable's value.
    Expression e = ExpressionFactory.createExpression( value );
    JexlContext jc = JexlHelper.createContext();
    jc.getVars().put(strInitBeanName, request.getAttribute("beanObj"));
    Object obj = e.evaluate(jc);
    the result of the obj is null....
    Can anybody recommand some other evaluator can get the value of a instance variable from an object?

    do you have any other suggestion ? Nops, somebody else may have though. AFAIK, all lookups of the type
    beanName.propertyNameuse reflection on the getXXX() methods to access the property.
    Having said that, I guess you could write one though in a custom tag, using the same - reflection (you will ahve to rely on the java.lang.reflect.Field class quite heavily) - but that would be reinventing the wheel for most other functionality that you would have to include (like looking up the bean in scope etc)
    cheers,
    ram.

  • Using JSTL tag in a custom tag

    Hello,
    I have created a custom tag, and I want to call the c:import tag inside the doTag method of my custom tag. Is this possible ?
    Thanks in advance for any answer!

    Hello,
    I have created a custom tag, and I want to call the
    c:import tag inside the doTag method of my custom
    tag. Is this possible ?
    Not in tag classes. Possible if you implement custom tags using [url http://www.onjava.com/pub/a/onjava/2004/05/12/jsp2part4.html]tag files
    ram.

  • In Custom Tag how to add h:commandbutton with action

    Hi, I created a custom tag in facelets (& Seam), below is the code snippet
    <tag>
    <tag-name>customdiv</tag-name>
    <component>
    <component-type>customtag.MyCustomTag</component-type>
    <component-class>com.mydomain.testing.customtag.MyCustomTag</component-class>
    </component>
    </tag>
    In this class I am using ResponseWriter to generate the content.
    I am trying to add a button and associate action to it but it doesn't provide me any option to associate action to the commandbutton
    "<h:commandButton action="#{childdiv.addChildDiv}" value="add div"></h:commandButton>"
    Also the XHTML doesn't even recognize the h:commandbutton tag
    "HtmlCommandButton htmlCommandButton = new HtmlCommandButton();
    writer.startElement("h:commandButton", htmlCommandButton);
    writer.writeAttribute("value", "add div", "");
    writer.endElement("h:commandButton");"
    Please suggest

    JSF<h:form>
        <h:dataTable value="#{myBean.dataList}" var="dataItem">
            <h:column>
                <h:selectManyListbox value="#{dataItem.selectedItems}">
                    <f:selectItems value="#{myBean.selectItems}" />
                    <%-- Or use value="#{dataItem.selectItems}" if it does depend per row. --%>
                </h:selectManyListbox>
            </h:column>
        </h:dataTable>
        <h:commandButton value="add" action="#{myBean.add}" />
        <h:commandButton value="save" action="#{myBean.save}" />
    </h:form>MyBean (session scoped)private List<DataItem> dataList; // +getter
    private List<SelectItem> selectItems; // +getter
    public MyBean() {
        dataList = new ArrayList<DataItem>();
        // Do your thing. It is just a stub example.
        selectItems = new ArrayList<SelectItem>();
        selectItems.add(new SelectItem("value1", "label1"));
        selectItems.add(new SelectItem("value2", "label2"));
        selectItems.add(new SelectItem("value3", "label3"));
    public void add() {
        dataList.add(new DataItem());
    public void save() {
        // Do your thing to save the dataList. All values are already set in there.
        // Just doing a sysout here to prove it.
        System.out.println("Saved: " + dataList);
    }DataItemprivate List<String> selectedItems; // +getter +setter
    // Just for convenience so that it is readable in the sysout.
    public String toString() {
        return "DataItem[" + selectedItems + "]";
    }For more about datatables you may find this article useful: [http://balusc.blogspot.com/2006/06/using-datatables.html].

  • Problem Calling Query in Custom Tag

    I am using this code to call a custom tag called
    broadcast.cfm
    <cf_broadcast query="fe" orgID = "4">
    The query fe is an included file on my site and is available
    to the page I'm calling the custom tag from.
    In the custom tag I am referencing the query like:
    <cfloop query="#attributes.query#">
    but I keep getting this error:
    "The value of the attribute query, which is currently "fe",
    is invalid. "
    I must be missing something really simple here but can't
    figure out what.

    quote:
    Originally posted by:
    -==cfSearching==-
    rdk8487 wrote:
    > In the custom tag I am referencing the query like:
    > <cfloop query="#attributes.query#">
    > but I keep getting this error:
    > "The value of the attribute query, which is currently
    "fe", is invalid. "
    It is a scoping problem. The query is defined in the calling
    page. To access it by name, within the custom tag, use the "caller"
    scope.
    <cfloop query="caller.#attributes.nameOfTheQuery#">
    If the query object is passed to the custom tag via an
    attribute you shouldn't need the caller scope. See attached sample.

  • Creating deferred-value custom tags

    I'm creating my own custom tag using the /WEB-INF/tags/ implementation
    (see page: http://today.java.net/pub/a/today/2003/11/14/tagfiles.html)
    I need to pass a deferred value attribute but I get an error that states "According to the TLD, the attribute is not a deferred-value but the specified value contains a #-expression.
    Any ideas what I'm missing?
    Thanks,
    Corinne
    Message was edited by:
    CEckel

    No, there is no workaround I am aware of for this.
    I would recommend you just copy the struts tld, map it to a different URI and then add your custom extension stuff to that.

  • Seam tags in custom tag libs

    Hi,
    Can't we use seam tags inside Java class ?
    I need to create a custom tag using seam tag <s:link />
    stringbuf.append("<s:link id=\"sample\" view=\"/sample.seam\" value=\"Sample123\" propagation=\"none\"/> ");
    The below given code is not giving me a link in the UI. While taking source from the UI the <s:link /> tag is not converted into html <a href >.
    What should I do to get a link by <s:link> using as a custom tag ?

    Sorry, wrong forum, should be in the JSP forum. Hope someone can still help!

  • Dynamic include inside custom tag body

    I am trying to perform the dynamic include of another JSP from within the body of a custom tag using JSP1.1. It cannot be done using <jsp:include> since flush=true is required and thus an exception is thrown when called from inside the body of a custom tag - it can be done in JSP1.2 since flush does not have to be set to true but upgrading is not possible at this time.
    Does anyone know of any custom tag or the code needed to perform this function with JSP1.1?
    I am using Tomcat 3.2.3.
    Using a RequestDispatcher and calling include() does not have the desired effect since the output is witten directly to the response and does not go into the correct position in the calling JSP.
    I think the solution involves making a call to the included JSP (is it possible to use a RequestDispatcher that doesn't write directly to the page output stream?) and then append the response to the BodyContent object which is buffering the body content of the custom tag until the doAfterBody() method is called. Is it possible to create a dummy ServletResponse object to pass to the RequestDispatcher and then obtain the HTML response from the internal buffer?

    I don't know if there is a solution to the problem you are having with JSP 1.1. If you look in the spec, it actually warns you that dynamic includes can not be done inside a body tag. The spec actually states that the included code shout write directly to the response and not to the BodyContent.
    I was excited to find out they had fixed this in JSP 1.2, but they seem to have foiled me again. If my tag calls PageContext.include(), the spec says that include must call the flush method, which causes BodyContent to throw an exception since flush is not a valid call.

  • Problem creating custom tag

    I tried to create a simple custom tag using apache webserver. my jsp file is HelloWorld.jsp (for presentation, codes listed below), my HelloWorld.java class (listed below) ,a and my TLD file is called WoaTagLibDesc (also listed below). I ran this and I got this error message below:
    HTTP status 404
    type status report
    message:
    description The requested resource () is not available.
    Apache Tomcat/6.0.18
    Can anybody advise me on what to do please
    (1) HelloWorld.jsp
    <%@page contentType="text/html" pageEncoding="UTF-8"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <%@taglib uri="/WEB-INF/woatags/WoaTagLibDesc.tld" prefix="mt" %>
    <html>
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
            <title>JSP Page</title>
        </head>
        <body>
            <mt:helloWorld/>
        </body>
    </html>
    (2) WoaTagLibDesc.tld<?xml version="1.0" encoding="UTF-8"?>
    <taglib version="2.0" 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 web-jsptaglibrary_2_0.xsd">
    <tlib-version>1.0</tlib-version>
    <short-name>woataglibdesc</short-name>
    <uri>/WEB-INF/woatags/WoaTagLibDesc</uri>
    <tag>
    <name>helloWorld</name>
    <tag-class>woatag.HelloWorldTag</tag-class>
    <body-content>empty</body-content>
    </tag>
    </taglib>
    (3) HelloWorldTag.java
    import java.io.IOException;
    import javax.servlet.jsp.*;
    import javax.servlet.jsp.tagext.*;
    public class HelloWorldTag implements Tag {
        private PageContext pageContext;
        private Tag parent;
        public HelloWorldTag() {
            super();
        public void setPageContext(final PageContext pageContext) {
            this.pageContext = pageContext;
        public void setParent(final Tag parent) {
            this.parent = parent;
        public javax.servlet.jsp.tagext.Tag getParent() {
            return parent;
        public int doStartTag() throws JspException {
            return SKIP_BODY;
        public int doEndTag() throws JspException {
            try {
                pageContext.getOut().write("Hello World!");
            } catch (IOException e) {
                throw new JspTagException("IO Error: " + e.getMessage());
            return EVAL_PAGE;
        public void release() {
    }

    Your class (according to what is posted) is in the package mytag.
    So in your tld: <tagclass>tag.Hello</tagclass>should be<tagclass>mytag.Hello</tagclass>cheers,
    evnafets

Maybe you are looking for

  • Memory Speed loss with CPU upgrade 2.6 - 3.0

    I have a n 875P Neo board with 2 banks 512m DDR400   I have just upgraded my cpu from 2.6G (800 FSB)  to 3.0G (800FSB) My BIOS is ver 1.8 (8/9/ 2003) I have found that my memory speed timings have dropped by 30% since the upgrade.   Will I get better

  • ALV Tree Output

    Hi, In my present project we have requirement for developing ALV tree output using ALV configuration model in WD4A. Please provide sample code or tutorial related to ALV Tree development in WebDynpro ABAP. Best regards, Alleiah

  • Mac os 10.9

    I just purchased an HP Deskjet 3522 all-in-one ePrinter.  I have tried unsuccessfully to get this printer up and running to print wirelessly and to ePrint.  I have updated the software, but I still cannot set-up this printer completely.  I used the C

  • Multiple Speaker Problem

    I have seen postings from people having the same issue as me, but the solution that worked for them did not work for me, so I thought I would ask again... with my situation. I have an iMac G5 that houses my iTunes music collection. I have a Netgear W

  • How to obtain automatically generated primary key

    Are there any ways to obtain the value of a primary key which is generated automatically by a server? Thanks.