Creating first custom tag, problems importing in  WebSphere studio...

I'm trying to write a tag handler for my .tld file, but WebSphere won't recognize the following import statements:
import javax.servlet.jsp.*;
import javax.servlet.jsp.tagext.*;
TLD file:
<?xml version = "1.0" encoding = "ISO-8859-1"?>
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
"http://java.sun.com/dtd/Web-jsptaglibrary_1_2.dtd">
<taglib xmlns = "http://java.sun.com/JSP/TagLibraryDescriptor">
<tlib-version>1.0</tlib-version>
<jsp-version>1.2</jsp-version>
<short-name>Custom Tags Library</short-name>
<description>
Custom tags test.
</description>
<tag>
<name>customTags</name>
<tag-class>source.com.tags</tag-class>
<description>
formatted text box:
</description>
<attribute>
<name>mandatory</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>optional</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
</taglib>
- ls6v

You have to find the JAR(s) that contain the J2EE API (found in your Server download) and include them in the WebSphere classpath.

Similar Messages

  • Problem in creating a custom tag

    Hi All,
    I'm new to jstl. I want to create a custom tag. I created a sample java class and sample tld file and I used this file at my page it give me an error. The java and tag file code is as follow
    package mytag;
    import javax.servlet.jsp.*;
    import javax.servlet.jsp.tagext.*;
    * This is a simple tag example to show how content is added to the
    * output stream when a tag is encountered in a JSP page.
    public class Hello extends TagSupport {
         private String name=null;
          * Getter/Setter for the attribute name as defined in the tld file
          * for this tag
    public void setName(String value){
        name = value;
         public String getName(){
              return(name);
    * doStartTag is called by the JSP container when the tag is encountered
        public int doStartTag() {
           try {
            JspWriter out = pageContext.getOut();
            out.println("<table border=\"1\">");
              if (name != null)
               out.println("<tr><td> Hello " + name + " </td></tr>");
            else
               out.println("<tr><td> Hello World </td></tr>");
           } catch (Exception ex) {
             throw new Error("All is not well in the world.");
           // Must return SKIP_BODY because we are not supporting a body for this
           // tag.
           return SKIP_BODY;
    * doEndTag is called by the JSP container when the tag is closed
         public int doEndTag(){
            return EVAL_PAGE;
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
    "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
    <taglib>
         <tlibversion>1.0</tlibversion>
         <jspversion>1.1</jspversion>
         <shortname>sample</shortname>
         <info>My sample tag</info>
      <tag>
        <name>hello</name>
        <tagclass>tag.Hello</tagclass>
        <bodycontent>empty</bodycontent>
        <info>
         This is a simple hello tag.
        </info>
      <attribute>
          <name>name</name>
          <required>true</required>
          <rtexprvalue>true</rtexprvalue>
      </attribute>
    </tag>
    </taglib>And I use this tld file in my jsp code I got below error
    * org.apache.jasper.JasperException: /mytag.jsp(9,15) Unable to load tag handler class "tag.Hello" for tag "sample:hello"
    Help me about this problem.
    Edited by: Get2win4world on Dec 15, 2009 1:12 AM

    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

  • Trying to create a custom tag

    I want to create a custom tag that has a attribute that ask
    for a number. like below...
    <cf_makeattributes number="?">
    Now say I made that number something like 5
    <cf_makeattributesnumber=
    "5">
    I would like for the tag to take that number and make 5
    attributes called "Form" in a array from 1 to 5 like below...
    <cfset attributes.form = arraynew(1)>
    <cfloop index="i" from="1" to="#attributes.number#">
    #attributes.form
    </cfloop>
    Is it possible to make a tag that ask for a number like 5 and
    make 5 attributes and within the same tag assign values to those 5
    attributes. for example consider the above.
    <cf_makeattributes number="5" attribute1="hi"
    attribute2="hello" attribute3="howdy" attribute4="hey"
    attribute5="HOWE!">
    or say i want to make 2 attributes and assign 2 values to
    those attributes
    <cf_makeattributes number="2" attribute1="This tag asked
    for 2 numbers" attribute2="and therefore gave me the ability to
    make 2 attributes">
    I also have another question that kinda applies to the
    question above.
    How does the coldfusion server read the tags. for example
    look at below
    <cf_makeattributes number="2" attribute1="hello"
    attribute2="world">
    would the server read it like this...
    step 1
    <
    cf_makeattributes number="2" attribute1="hello"
    attribute2="world">
    step 2
    <cf_makeattributes
    number="2" attribute1="hello" attribute2="world">
    step 3
    makeattributes.CFM (it now goes to the template that holds
    the tags scripts)
    Or does it first read all thats bold below
    <cf_makeattributes
    number="2" attribute1="hello" attribute2="world">
    then goes to the makeattributes template. Is there away I
    can compile my script one step at a time like C# and C++ just to
    see the steps
    PLUS Do i have to put my custom tag into a specific folder or
    can I just put it in the same folder as the document thats calling
    the custom tag

    > I could either make a bunch of attributes that will grab
    all the
    > values or I could loop out a array of attributes. Thats
    my goal
    I was with you until that line. The term attributes is
    confusing in this context. I'm not sure if you're talking about
    attributes in a generic sense or the custom tag attribute
    scope.
    > Now here wat im thinking now. What if instead I put the
    forms in a list. something like this...
    > <cf_Formentry
    Forms="#Form.one#,#form.two#,#form.three#">
    Do you mean form
    fields?
    Let's try this from a different angle. Can you give a
    concrete example of the desired results using this form?
    <form>
    <input name="username1" value="Alice">
    <input name="username2" value="Bob">
    <input name="username3" value="Kyle">
    <input name="username4" value="Michelle">
    <input name="username5" value="Robert">
    </form>

  • How to create a custom tag for a custom converter

    In Jdeveloper 11g, I have a project where I have created a custom converter class that impements the javax.faces.convert.Converter class. I have registered the converter with an id in the faces-config.xml file of the project, and the converter works fine by using the <f:converter type="myconverter"> tag. However, the custom converter has a field which I would like to set from the tag itself. Hence, I would like to add an attribute to <f:converter> tag if possible or create a custom tag that has the attribute.
    I have done some reserach and I found that a custom tag can be implemented: I need to create a class which extends from the ConverterTag class or javax.faces.webapp.ConverterElTag class, which I did, but I also need to create ".tld" (tag library) file which defines the tag itself.
    The part about creating the ".tld" file and registring the new tag is what I'm not sure how to do.
    Does someone know how to do this?
    thank you

    Hi frank,
    that's a good document, and it explains how to make a custom converter. I already created the custom converter, it converts a number to any currency pattern. I know java already has a currency converter, but it doesn't support Rupee currency format, and I need that format.
    My converter works, but I would like to pass the pattern of the format through an attribute in a tag. Since f:converter doesn't seem to support that, I created a custom tag which uses my converter, and it enables me to pass a pattern to the converter.
    All of that works, but I need to be able to pass the pattern as an EL expression, and it's not evaluating the expression before passing it to the converter. It just passes the whole expression as a string. I'm thinking It may be something I'm doing wrong.
    this is the tag library definition file:
    <!DOCTYPE taglib
    PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
    "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
    <taglib>
    <tlib-version>1.2</tlib-version>
    <jsp-version>2.1</jsp-version>
    <short-name>custom</short-name>
    <uri>custom-currency-converter</uri>
    <description>
    custom currency custom tag library
    </description>
    <tag>
    <name>CurrencyConverter</name>
    <tag-class>
    converter.Tag.CurrencyConverterTag
    </tag-class>
    <body-content>JSP</body-content>
    <attribute>
    <name>pattern</name>
    <type>java.util.String</type>
    <required>true</required>
    <rtexprvalue>true</rtexprvalue>
    </attribute>
    </tag>
    </taglib>
    Edited by: Abraham Ciokler on Feb 4, 2011 11:20 AM

  • How To create a custom tag in jsf

    I'm trying to create a custom tag in jsf.what should be the approach to create it.it would be better if somebody will explain me from the skretch.

    There's a decent tutorial here, Priyo:
    http://www.exadel.com/tutorial/jsf/HowToWriteYourOwnJSFComponents.pdf
    Hope it helps,
    Illu

  • Custom Tag Problem With iPlanet

    Hi,
    I've followed the instructions for creating Custom Tags located at: http://docs.iplanet.com/docs/manuals/enterprise/41/rn41sp9.html#18776. I'm using the examples provided and am still getting the:
    org.apache.jasper.JasperException: Unable to open taglibrary /jsps/test-tags.jar : com.sun.xml.tree.TextNode
    error. I've followed the instructions "Make sure you have the DOCTYPE in your taglib.tld..." but I still get the error.
    iPlanet 4.1 Enterprise on Windows 2000
    Any ideas?
    Thanks in advance.

    Hey i am also getting the same error, please let me know if u had solved this problem. i have copied the error message below
    [25/Feb/2002:15:00:46] info ( 260): JSP: JSP1x compiler threw exception
    org.apache.jasper.JasperException: Unable to open taglibrary /jsps/test-tags1.jar : in is null
         at org.apache.jasper.compiler.JspParseEventListener.handleDirective(JspParseEventListener.java:708)
         at org.apache.jasper.compiler.DelegatingListener.handleDirective(DelegatingListener.java:119)
         at org.apache.jasper.compiler.Parser$Directive.accept(Parser.java:190)
         at org.apache.jasper.compiler.Parser.parse(Parser.java:1048)
         at org.apache.jasper.compiler.Parser.parse(Parser.java:1022)
         at org.apache.jasper.compiler.Parser.parse(Parser.java:1018)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:173)
         at com.netscape.server.http.servlet.NSServletEntity.load(NSServletEntity.java:230)
         at com.netscape.server.http.servlet.NSServletEntity.update(NSServletEntity.java:149)
         at com.netscape.server.http.servlet.NSServletRunner.Service(NSServletRunner.java:453)
    [25/Feb/2002:15:00:46] warning ( 260): Internal error: Failed to get GenericServlet. (uri=/web/jsps/test-tags.jsp,SCRIPT_NAME=/web/jsps/test-tags.jsp)

  • Custom Tag Problems

    Hello Everyone,
    I am using iPlanet 4.1 as my web server and am having some problems with using custom tags. I try to access a jsp that uses my custom tags and I get a 500 Internal Server error. Then when I check the web server logs all it has is this one very esoteric message: "[26/Sep/2002:08:35:51] warning ( 8042): Internal error: Failed to get GenericServlet. uri=/BUYS/sep_accts.jsp,SCRIPT_NAME=/BUYS/sep_accts.jsp)" Usually I get this message when I make changes to a servlet and do not restart the web server, but that is not the problem this time.
    I am trying to use a very simple tag called SayHelloTag which just prints hello to the browser. I have a foundation tag which extends tag support and then SayHelloTag extends the foundation tag. Then I have it all JARd up and in the classpath like I'm supposed to. If anyone could take a look at my code and tell me if you see anything wrong I would be most appriciative!
    BuysFoundationTag
    package com.nf.buys.tags;
    import javax.servlet.jsp.*;
    import javax.servlet.jsp.tagext.*;
    import java.io.*;
    import com.nf.buys.lists.*;
    public class BuysFoundationTag extends TagSupport
    SayHelloTag
    package com.nf.buys.tags;
    import javax.servlet.jsp.*;
    import javax.servlet.jsp.tagext.*;
    import java.io.*;
    import com.nf.buys.lists.*;
    public class SayHelloTag extends BuysFoundationTag
        public int doStartTag()
        {   System.out.println("Starting do Start tag");
            try
                System.out.println("start the try statement");
                JspWriter out = pageContext.getOut();
                System.out.println("output the hello message");
                out.println("Say Hello");
            catch(Exception e)
                e.printStackTrace();
            finally
                return SKIP_BODY;
    TLD File
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <!DOCTYPE taglib
    PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
    "http://cheerios2.nfs.nwie.net:5050/BUYS/web-jsptaglibrary_1_1.dtd">
    <taglib>
      <!-- after this the default space is "jsptaglibrary_1_2.dtd" -->
      <tlibversion>1.0</tlibversion>
      <jspversion>1.1</jspversion>
      <shortname>buyslib</shortname>
      <info>
        A custom tag library for use by the Nationwide Financial,
        Financial Systems, Automated Buy/Sell System.
      </info>
      <tag>
        <name>SayHello</name>
        <tagclass>com.nf.buys.tags.SayHelloTag</tagclass>
        <bodycontent>JSP</bodycontent>
        <info>A test tag</info>
      </tag>
    </taglib>
    finally, my JSP page
    <html>
      <head>
        <title>Automated BUY/SELL System</title>
        <link rel=stylesheet href="buys_styles.css" type="text/css">
        <%@ taglib uri="/BUYS/buys-tags.jar" prefix="buystag" %>
      </head>
      <body bgcolor='#FFFFF'>
        <div id='heading'>
          This is the heading information
        </div>
        <div id='navigation'>
         <table width='100%'>
          <tr>Nav Option 1</tr>
          <tr>Nav Option 2</tr>
          <tr>...</tr>
          <tr>Nav Option n</tr>
         </table>
        </div>
        <div id='optionalMessage'>
          This is the optional message
        </div>
        <div id='listArea'>
          <buystag:SayHelloTag>
        </div>
      </body>
    </html>I get no compilation errors when I compile any of the tag handler classes. But when the web server can't compile the jsp page. Am I doing something obviously wrong? Please help!!
    Chris

    OMG I am a moron. I just have the name of the tag wrong.

  • Custom Tag Problem

    I have implemented what I thought was a simple custom tag to handle if
              conditions. In the page that I am using to test this new tag, I have
              two instances of this tag - one right after another - the second of
              which is giving me an error in parsing the page saying that there is a
              close tag for which there is no start. The page looks like this:
              <prefix:if expr="<%=expr here%>" >
                   <p>some text</p>
              </prefix:if>
              <prefix:if expr="<%=expr here%>" >
                   <p>some more text</p>
              </prefix:if>
              Where prefix is really the prefix I identified in my taglib directive
              and "expr here" are two different boolean expressions.
              I have search the page for an errant closing tag - but they are all
              matched up just fine. At first I had these tags nested - and thinking
              that was the problem - I unrolled the nesting so that the start and
              end pairs were always matched up - i.e. an end for this tag always
              came after the start without an intervening start for the same tag.
              But doing that unrolling had no effect - and I always seem to get the
              error on the second close tag being encountered by the parser.
              My tld file specifies the body content for this tab as JSP and the
              expr attribute as a run-time evaluated attribute which is required. My
              tag class file extends TagSupport and implements the doStartTag and
              setExpr() methods.
              This problem occurrs for me running both WLS 5.1 SP5 and SP6.
              Is there something simple that I am missing here? Note also that I
              have two other custom tags which work just fine in the same page -
              however both of those tags specify an empty bodycontent.
              

    I found my problem - as I had thought I had a typo - I was missing the
              '=' between expr and the quoted expression in the second tag. I sure
              wish my eyes would quit filling in those missing pieces! :)
              On Wed, 08 Nov 2000 13:21:47 GMT, [email protected] (Scott Jacobs)
              wrote:
              >I have implemented what I thought was a simple custom tag to handle if
              >conditions. In the page that I am using to test this new tag, I have
              >two instances of this tag - one right after another - the second of
              >which is giving me an error in parsing the page saying that there is a
              >close tag for which there is no start. The page looks like this:
              >
              ><prefix:if expr="<%=expr here%>" >
              >     <p>some text</p>
              ></prefix:if>
              ><prefix:if expr="<%=expr here%>" >
              >     <p>some more text</p>
              ></prefix:if>
              >
              >Where prefix is really the prefix I identified in my taglib directive
              >and "expr here" are two different boolean expressions.
              >
              >I have search the page for an errant closing tag - but they are all
              >matched up just fine. At first I had these tags nested - and thinking
              >that was the problem - I unrolled the nesting so that the start and
              >end pairs were always matched up - i.e. an end for this tag always
              >came after the start without an intervening start for the same tag.
              >But doing that unrolling had no effect - and I always seem to get the
              >error on the second close tag being encountered by the parser.
              >
              >My tld file specifies the body content for this tab as JSP and the
              >expr attribute as a run-time evaluated attribute which is required. My
              >tag class file extends TagSupport and implements the doStartTag and
              >setExpr() methods.
              >
              >This problem occurrs for me running both WLS 5.1 SP5 and SP6.
              >
              >Is there something simple that I am missing here? Note also that I
              >have two other custom tags which work just fine in the same page -
              >however both of those tags specify an empty bodycontent.
              

  • Custom tag problem (parent/child tag)

    I have a table tag and a column tag that I'm using in my application to display records.
    The first time through it sets up headers and keeps a coun't of the columns.
    The second time through it starts putting data in the fields. The problem I'm having is that I set a counter in the column tag. When it hits the first column it increments it from 0 to 1. When it hits the second column the counter has lost its value and is back to 0.
    This only occurs if I have the align="Left". Or more precisely when some of the columns have align and some don't.... To fix this I can add align="right" to all the columns... but I have it defaulting to right and don't think I should have to include it.. can someone explain to me why this is occuring?
    <xxx:table name="columnData" scope="request" scrollable="Yes">
         <xxx:column key="selectorColumn:FILEID" title="Select" />
         <xxx:column key="50" title="VTFHBRForm.de50" align="Left"/>
         <xxx:column key="110" title="VTFHBRForm.de110" />
         <xxx:column key="330" title="VTFHBRForm.de330" />
         <xxx:column key="320" title="VTFHBRForm.de320" />
         <xxx:column key="160" title="VTFHBRForm.de160" />
         <xxx:column key="5" title="VTFHBRForm.de5" />
         <xxx:column key="500" title="VTFHBRForm.de500" />
         <xxx:column key="510" title="VTFHBRForm.de510" />
         <xxx:column key="240" title="VTFHBRForm.de240" />
         <xxx:column key="150" title="VTFHBRForm.de150" />
         <xxx:column key="170" title="VTFHBRForm.de170" />
         <xxx:column key="140" title="VTFHBRForm.de140" />
         <xxx:column key="480" title="VTFHBRForm.de480" />
         <xxx:column key="172" title="VTFHBRForm.de172" />
         <xxx:column key="270" title="VTFHBRForm.de270" />
    </xxx:table>

    u have not define what child tad retrieves (null?) or u mean to say EL is not evaluated...
    because in my tag i had faced the problem for not evaluating the EL.
    (although i had done rexp...=true).
    could u put ur custom tag code then perhaps, i could say the solutiong

  • Unable to create a custom tag

    Hi All
    i am trying to make a custom tag in jsp2.0. I have made the java class which override the doTag method. I have created the tld file and put it in the directly WEB-INF FOLDER.I have written a jsp as well which uses this tag and the uri in the jsp mathces the uri in the tld file. Then it gives me the error message that unable to find the tld file.
    then i made entry in the web.xml as well but now it is giving me an error:
    JSPG0227E: Exception caught while translating /UseCustom.jsp: /UseCustom.jsp(19,1) --> JSPG0009E: Unable to load tag handler class com.hcl.taghandlers
    I am using jstl 1.1 and jsp2.0 and the IBM Rational editor.
    please help as soon as possible.
    thanks in advance!!!!!!!!

    There was a very minute syntax mistake in the web.xml.
    now it is working fine.
    By the thanks to all those who devoted some time to think over it.

  • How to create the customizing TAG coloum in So10  transaction

    Hi All,
      I need to create the Tag Coloum in in SO10 ( standard text) transaction .
    Basically i want to create the customised tag format and attach it to the format where we will see all the standard tag in so10.
      I need to create the TAG in which first line should be start from 0.00 and from the second line onwards it should be start from the 2.3 .
    Dhiraj.

    Dhiraj,
    What you will have to do is to create a separate STYLE in sMART FORMS transaction and assign that STYLE to the TEXT in S010. You can do that Format --> Change STYLE.
    The tag column contains format keys which define the output formatting of the text or initiate control commands. The format keys possible and their respective meanings are defined in styles or forms. If a style or form is assigned to a text module you can use the paragraph formats defined there to format your text. Format keys which can be defined by the user can consist of one or two characters.
    I have not tried this though.
    regards,
    Ravi
    Note : Please mark the helpful answers

  • Custom tags problem

    i was trying to run asample code that is using custom tag
    that code is provided at
    http://www.stardeveloper.com/articles/display.html?article=2001081801&page=1
    after goin through steps when i executed the code i got this error
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    root cause
    java.lang.NullPointerException
         MyPackage.DataAccessTag.doAfterBody(DataAccessTag.java:73)
         org.apache.jsp.DataAccessTag_jsp._jspService(org.apache.jsp.DataAccessTag_jsp:111)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:99)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:325)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

    java.lang.NullPointerException
    MyPackage.DataAccessTag.doAfterBody(DataAccessTag.java:73)
    Go to line 73 of DataAccessTag (it will be in the doAfterBody method) and find what is null, why it is null, and either how to prevent it from being null or what to do in case it is null.

  • Help creating a custom tag from a scriplet

    I am trying to make a cusom tag to replace this peice of code:
    <TABLE >
    <% 
    out.println("<TABLE >\n" +
                    "<TR BGCOLOR=\"#FFDDAA\">\n" +
                    "  <TH>ID Number\n" +
                    "  <TH>Artist\n"
    Iterator it = pricePassed.getpricePassed().iterator();
    while( it.hasNext() ){
       MySite.VideoBean vids = (MySite.VideoBean) it.next();
       out.println( "<TR>\n" +
                   "<TD><Center><B>" + vids.getRecId() + "</TD>" +
                    "<TD><Center><B>" + vids.getArtist() + "</TD>"
    </TD></TR>\n" );
    %></TABLE>The following is no where near perfect i just want to post it so i can get opinions to see if i am going about it the right way:
    import java.io.*;
    import java.util.*;
    import javax.servlet.jsp.*;
    import javax.servlet.jsp.tagext.*;
    public class TableTag extends BodyTagSupport {
    private List passedIn;
    public void setItems(List workon) {
      passedIn = workon;
    public int doAfterBody() throws JspException {
      BodyContent body = getBodyContent();
      String body1 = body.getString();
       body.clearBody();
      List list = body1.length() >0 ? text2List(body1) : passedIn;
      if (list == null) return SKIP_BODY;
      try {
        JspWriter out = body.getEnclosingWriter();
        out.println("<TABLE BORDER=1 ALIGN=\"CENTER\">\n" +
                    "<TR BGCOLOR=\"#AADDFF\">\n" +
                    "  <TH>Artist\n" +     
    Iterator it = passedIn.setItems().iterator();
    while( it.hasNext() ){
       MySite.videoBean vids = (MySite.videoBean) it.next();
       out.println( "<TR BGCOLOR=\"#FFAD00\">\n" +
                    "<TD><Center><B>" + vids.getArtist() + "</TD>"
    </TD></TR>\n" );
      } catch (IOException ex) {
        throw new JspTagException(ex.getMessage());
      } // try
      return SKIP_BODY;
    }

    If you go to the page where it lists all the forums and scroll way, way, down you will find there's a JSP forum. That is really where you should post this kind of question.

  • Custom Tag problem - NoSuchMethodError at MyAttInfo

    I am having the following problem when trying to use a taglibrary in my web
              application. Does anybody know why I am having this problem?
              Thanks,
              Ozzie Gurkan
              Mon Jan 08 16:55:30 GMT+05:00 2001:<I> <WebAppServletContext-mims> resolving
              taglib uri '/mims/taglib' to taglib-location /WEB-INF/tlds/taglib.tld:
              Mon Jan 08 16:55:30 GMT+05:00 2001:<E> <WebAppServletContext-mims> Servlet
              failed with Exception
              java.lang.NoSuchMethodError
              at weblogic.servlet.jsp.MyAttInfo.<init>(StandardTagLib.java:34)
              at
              weblogic.servlet.jsp.StandardTagLib.processTag(StandardTagLib.java:280)
              at
              weblogic.servlet.jsp.StandardTagLib.processTagElements(StandardTagLib.java:1
              46)
              at
              weblogic.servlet.jsp.StandardTagLib.<init>(StandardTagLib.java:125)
              at weblogic.servlet.jsp.JspLexer.loadTagLib(JspLexer.java:87)
              at
              weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE_BODY(JspLexer.java:3739)
              at
              weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE(JspLexer.java:3495)
              at weblogic.servlet.jsp.JspLexer.mDIRECTIVE(JspLexer.java:3356)
              at weblogic.servlet.jsp.JspLexer.mSTANDARD_THING(JspLexer.java:1694)
              at weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java:1535)
              at weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java:1425)
              at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:825)
              at weblogic.servlet.jsp.JspParser.doit(JspParser.java:69)
              at weblogic.servlet.jsp.JspParser.parse(JspParser.java:116)
              at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:97)
              at
              weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:242)
              at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:265)
              at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:180)
              at
              weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:18
              1)
              at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :118)
              at
              weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImp
              l.java:154)
              at
              com.manheim.mims.core.control.web.MainServlet.doGet(MainServlet.java:67)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
              at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :123)
              at
              weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
              l.java:761)
              at
              weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
              l.java:708)
              at
              weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContext
              Manager.java:252)
              at
              weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:346)
              at
              weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:246)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:135)
              

    My entire application works great on my Win2000 machine, so I don't think I
              am having problems with my setup of the taglib/JSP referencing. I have this
              same application running now on Jboss, Orion, and Weblogic on Win2000.
              Any other ideas?
              Thanks,
              Ozzie Gurkan
              "MKH" <[email protected]> wrote in message
              news:[email protected]...
              > It is likely that the method name is a bit screwey
              >
              > How is it defined as in your TLD file and how are you calling it in your
              > JSP?
              >
              > Is there a corresponding set<TLDMethodName> in your Java class?
              >
              >
              > "Ozzie Gurkan" <[email protected]> wrote in message
              > news:[email protected]...
              > > I am having the following problem when trying to use a taglibrary in my
              > web
              > > application. Does anybody know why I am having this problem?
              > >
              > > Thanks,
              > > Ozzie Gurkan
              > > Mon Jan 08 16:55:30 GMT+05:00 2001:<I> <WebAppServletContext-mims>
              > resolving
              > > taglib uri '/mims/taglib' to taglib-location /WEB-INF/tlds/taglib.tld:
              > >
              > > Mon Jan 08 16:55:30 GMT+05:00 2001:<E> <WebAppServletContext-mims>
              Servlet
              > > failed with Exception
              > >
              > > java.lang.NoSuchMethodError
              > >
              > > at weblogic.servlet.jsp.MyAttInfo.<init>(StandardTagLib.java:34)
              > >
              > > at
              > > weblogic.servlet.jsp.StandardTagLib.processTag(StandardTagLib.java:280)
              > >
              > > at
              > >
              >
              weblogic.servlet.jsp.StandardTagLib.processTagElements(StandardTagLib.java:1
              > > 46)
              > >
              > > at
              > > weblogic.servlet.jsp.StandardTagLib.<init>(StandardTagLib.java:125)
              > >
              > > at weblogic.servlet.jsp.JspLexer.loadTagLib(JspLexer.java:87)
              > >
              > > at
              > > weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE_BODY(JspLexer.java:3739)
              > >
              > > at
              > > weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE(JspLexer.java:3495)
              > >
              > > at weblogic.servlet.jsp.JspLexer.mDIRECTIVE(JspLexer.java:3356)
              > >
              > > at
              > weblogic.servlet.jsp.JspLexer.mSTANDARD_THING(JspLexer.java:1694)
              > >
              > > at weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java:1535)
              > >
              > > at weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java:1425)
              > >
              > > at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:825)
              > >
              > > at weblogic.servlet.jsp.JspParser.doit(JspParser.java:69)
              > >
              > > at weblogic.servlet.jsp.JspParser.parse(JspParser.java:116)
              > >
              > > at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:97)
              > >
              > > at
              > > weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:242)
              > >
              > > at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:265)
              > >
              > > at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:180)
              > >
              > > at
              > >
              >
              weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:18
              > > 1)
              > >
              > > at
              > >
              >
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              > > :118)
              > >
              > > at
              > >
              >
              weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImp
              > > l.java:154)
              > >
              > > at
              > > com.manheim.mims.core.control.web.MainServlet.doGet(MainServlet.java:67)
              > >
              > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
              > >
              > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
              > >
              > > at
              > >
              >
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              > > :123)
              > >
              > > at
              > >
              >
              weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
              > > l.java:761)
              > >
              > > at
              > >
              >
              weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
              > > l.java:708)
              > >
              > > at
              > >
              >
              weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContext
              > > Manager.java:252)
              > >
              > > at
              > >
              >
              weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:346)
              > >
              > > at
              > > weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:246)
              > >
              > > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:135)
              > >
              > >
              > >
              >
              >
              

  • How to Create a Custom Project Site Template Using Visual Studio

    I know how to make changes and save a site as a template but I need to be able to create a new project site template during deployment to different environments. Trying to have this not be a manual process.

    Hello,
    This article might help:
    http://blogs.msdn.com/b/sambetts/archive/2013/10/17/creating-a-clean-visual-studio-solution-from-a-sharepoint-2013-site-template.aspx
    Start with a default Project Site (create a new site from the Project site template) and save out the WSP then import into VS.
    Paul
    Paul Mather | Twitter |
    http://pwmather.wordpress.com | CPS

Maybe you are looking for

  • Time Capsule won't respond to hard reset.  Why won't it?

    Remains solid amber even when i hold down reset button.  We lost power a few days ago and wifi not working so tried a hard reset but it did not respond.

  • Best way for multiple files in vim?

    I've been trying out vim for a couple of weeks now, and I must say that I like it. I use it mostly for programming at work (a couple of hours per day). One thing I haven't settled on is how to use a single vim instance to edit multiple files. I've tr

  • How to look at two pages at the same time

    while working on master pages and regular pages, it would be helpful to be able to have them side by side. is there a way to do that?

  • Transfer 1 asset to multiple assets

    I'm looking for the functionality to transfer 1 asset to multiple assets in one in one transaction.  In transaction code ABUMN, there is a "multiple asset" functionality but it cannot be used to transfer 1 asset to multiple assets.  SAP will give an

  • Compatibility question for iweb '08

    i really want to be able to use the new iweb '08 to be able to take advantage of the new features on it, but i am running on an ibook G4 1.2 ghz with 256 of RAM. would i be able to install iweb '08? i've installed programs and ran them, that said the