Where to place tld,tag class files to create a small custom tag

hi ,
please any one help me to create a small custom plugin wothout using JSTL

Your TLD will reside in the WEB-INF/ directory, whereas your tag class will be put into WEB-INF/classes/ directory, depending on your package it'll live in a directory somewhere under that. Of course, you could also put the TLD and tag class into a JAR file and place that under WEB-INF/lib/

Similar Messages

  • For WebLogic 5.1, where should I put my class files for my JavaBeans?

    With JBuilder4, I have built an application with JSP and a few Java Beans (Those JavaBeans are instantiated in those JSP files). There are no EJBs. The package name is called 'onlinetrade'. I have tested the application on JBuilder's web server, it works pretty well.
    Now I am moving this application to WegLogic 5.1. I have encountered a problem with WebLogic 5.1
    and do not know where I should place my JavaBean class files --
    Originally, the JSP files for my application are in package path-- ..onlinetrade\jsp
    and the class files for my beans are in the package path -- ..onlinetrade\jsp\bean\*.class
    Now, with WebLogic 5.1,
    1) I have put my JSP files in
    C:\weblogic\myserver\public_html\onlinetrade\jsp
    2) I have created subdirectory and put my bean class files in
    C:\weblogic\myserver\classfiles\onlinetrade\jsp\bean
    When I started weblogic and the first page - login.jsp page can be up and accessed. But when I login and forward to another JSP page called 'controller.jsp', where a bean is instantiated, I got the following error
    Compilation of 'C:\weblogic\myserver\classfiles\jsp_servlet\_onlinetrade\_jsp\__controller.java' failed:
    C:\weblogic\myserver\classfiles\jsp_servlet\_onlinetrade\_jsp\__controller.java:210: cannot access jsp_servlet._onlinetrade._jsp.registerBean
    probably occurred due to an error in /onlinetrade/jsp/controller.jsp line 53:
    registerBean registerBeanInstance = new registerBean();
    I know the javac is working, and a java file is created upon the JSP page, but the problem is -- the bean class files cannot be found!!!
    Where should I create the package path and put my bean class file so that my JSP pages can pick them up?
    Any help is greatly appreciated!
    Thanks.
    --Tim

    I have mine in WEB-INF/classes

  • How can I copy part of a larger PDF file and create a smaller one?

    How can I copy part of a larger PDF file and create a smaller one?

    Hi,
    Copy the content of PDF file in Adobe Reader and paset it to MS Word then create PDF file from the Word file.
    This may not work for all PDF files as some PDF files are not created correctly or some content cannot be copied.
    Acrobat XI Pro has features to extract/delete/crop pages in PDF files and you can download it from www.adobe.com(Trial version- 30 days free). Or you can upgrade your subscription to Acrobat Plus and see more information at https://www.acrobat.com/acrobatplus/en/home.html
    Hisami

  • Where to place a bean class in Tomcat 5.0

    Hi,
    I wrote a bean class and calling the bean class in the JSP file using
    the useBean tag. I am encountring an INTERNAL SERVER ERROR.
    At present i have placed my jsp-file,source-file, and class-file in
    jsp-examples folder. Did i place any files in the wrong place?????????
    Can any one help me with the solution!!!!!!!!!!!!!!!!!!!!

    hi,
    thank you vey much. i was successful in executing the jsp when i placed the bean class in the WEB-INF\classes folder.
    juli

  • Where to keep the java class file which is being used from a form?

    Hi,
    Actually I am developing a form which has a bean area and the data will be displayed in the bean area in the form of grid. And I will register this form with apps and will run the from Oracle apps. I want to know that there is a java class file that is being refered by the form, where should this java class file be placed and is there any other places where any changes are required so that the form runs correctly from the Oracle apps and can find the java class file.
    I am very thankful to each and everyone who will be able answer this question of my.

    do you mean decompiling? there are tons of java decompilers available out there, what exactly are you trying to do here?

  • Where to store the servlet class files ?

    If, I store the class files for servlets under WEB-INF/classes folder,
              i get file not found exception while using WL 6.1 sp2. But, if i store
              the class file under DefaultWebApp folder, it works fine.
              Any help about where to store the class files for servlets would be
              great help.
              Thanks.
              hiren
              

    Copy Servlet in DefaultWebApp/Web-Inf/classes directory.
              Configure Servlet in web.xml deployment descriptor.
              <servlet>
              <servlet-name></servlet-name>
              <servlet-class></servlet-class>
              </servlet>
              <servlet>
              <servlet-name></servlet-name>
              <servlet-class></servlet-class>
              </servlet>
              <servlet-mapping>
              <servlet-name></servlet-name>
              <url-pattern></url-pattern>
              </servlet-mapping>
              hiren dossani wrote:
              > If, I store the class files for servlets under WEB-INF/classes folder,
              > i get file not found exception while using WL 6.1 sp2. But, if i store
              > the class file under DefaultWebApp folder, it works fine.
              > Any help about where to store the class files for servlets would be
              > great help.
              >
              > Thanks.
              >
              > --
              > hiren
              

  • Where can i find my class files??

    i'm looking into a jsp file, and it imports a class named MailSequia.MailerBean. I get errors about certain class, i would like to know where it 's sopoused to be this class, is it in classpath?? or where it should be??

    If it's in a jsp file on a server the class files are located in the
    WEB-INF/classes/yourPackage/yourClass directory.

  • Where to place xml and xsd files in Tomcat

    Hi,
    This is rather a stupid question but I am totally new to JAXP technology and i wanted to know is there a specific location where i need to store the xml and xsd files i created?. And how would i mention the target name space for the xsd file? I am usinf eclipse IDE and Tomcat 5.5.
    Thanks for the patiance.

    Is the question so stupid that no one even want to try to reply?

  • Trying to access methods from a .class file by creating instance of class

    Hey all,
    I'm hoping you can help. I've been given a file "Input.class" with methods such as readInt(), readString(), etc. I have tried creating instances of this class to make use of it, but I receive the error "cannot find symbol : class Input".
    If you could help at all, I would greatly appreciate it.
    Here's my code. The first is the base program, the second is the driver.
    import java.util.*;
    public class CarObject
         private String makeType = "";
         private String modelType = "";
         private int yearOfRelease = 0;
         private double numOfMiles = 0.0;
         public void setFilmTitle(String make)
              makeType = make;
         public void setMediaType(String model)
              modelType = model;
         public void setYearOfRelease(int year)
              yearOfRelease = year;
         public void setNumOfMiles(double miles)
              numOfMiles = miles;
         public String getMakeType()
              return makeType;
         public String getModelType()
              return modelType;
         public int getYearOfRelease()
              return yearOfRelease;
         public double getNumOfMiles()
              return numOfMiles;
    The program is used by a rental car company and the object takes on desired attributes.
    import java.util.*;
    public class TestCarObject
         static Scanner keyboard = new Scanner(System.in);
         public static void main(String[] args)
              System.out.println("Please answer the following questions regarding your rental car order.");
              Input carinput = new Input();
              String makeType = carinput.readString("Enter your desired make of car: ");          
              String modelType = carinput.readString("Enter your desired model of car: ");
              int yearOfRelease = carinput.readInt("Enter the oldest acceptable year of release to rent: ");
              double numOfMiles = carinput.readDouble("Enter the highest acceptable number of miles: ");
              System.out.println("Make: " + makeType);
              System.out.println("Model: " + makeType);
              System.out.println("Year: " + makeType);
              System.out.println("Mileage: " + makeType);
    }

    No, I don't know the package name....Is there a way
    to import the Input.class by itself without importing
    the entire packge?
    I tried extending the driver program too...It didn't
    work either...
    Message was edited by:
    BoxMan56How do you know you have a class called Input.class ?
    You got a jar file which contains it ? or just a simple .class file ?
    You have to set the classpath in either case.
    But for the former, you should also need to explicitly telling which package containing the class file you looking for (i.e. Input.class)
    e.g. java.util.Vector which is a class called Vector inside java.util package.
    You don't have to import the whole package, but you should tell which package this class belongs to.

  • Strip classes actually  used in a jar file to create a smaller jar file?

    I am creating a applet using java3d and the jar files add up to over 4meg ( j3dcore.jar j3dutils.jar vecmath.jar). Is there a way you can strip out only the classes your applet uses and create a smaller jar file so that the download isn't as big? Currently takes a long while for the applet to start because it downloads the Java 3D library in its entirety.

    Most likely those classes that you use also use other classes that you don't use ...

  • Too many class files are creating.....

    Hi,
    I am using SwingUtilities.invokeLater() method to update my JTextPane.it is working fine but it is creating number of class files depends upon how many times i am calling SwingUtilities.invokeLater() method....In my application i am calling SwingUtilities.invokeLater() method 5 times so it is creating 5 class files.
    So pl let me know the solution to avoid the same.............thnx

    In my application i am calling
    g SwingUtilities.invokeLater() method 5 times so it
    is creating 5 class files.
    So pl let me know the solution to avoid the
    same............So why is this a problem?

  • Where do I find the OS files to create Recovery CD?

    Dear Sirs,
    I want to reinstall the Notebook. Where do I find the windows Files (to burn them) on the hard disk?
    I only find the Tools CD from Toshiba.
    But not any folder concerning the Operating system
    Perhaps someone can help me
    Greetings
    Patrick

    Hello Patrick
    With your unit is also delivered RECOVEY media. This DVD contains operating system and stuff you need. Using this media you will set notebook to factory settings.
    If you use it to install OS again HDD will be formatted and you will lose all your data. Because of that back up all important data before you start with recovering procedure.
    If you need more assistance please write again.

  • Where to place my java bean files in iplanet Webserver  6.0

    Hi,
    I have installed SunOne iPlanet webserver 6.0 (Not Application Server). I have written very simple jsp program, that will instance a java bean (not EJB).and say Hello world. I have written test.jsp I have placed under c:\iplanet\servers\docs (root webdirectory). Where do i need to place helloBean.java file in iplanet webserver 6.0. Even i have created WEB-INF\classes & WEB-INF\lib folder under c:\iplanet\servers\docs I have created a .war file, that also put in classpath of iplanet. Finally i am getting here message that, helloBean.not found, when i see the error log file. Do i need to create jar / war file to do this simple program ?
    Please answer me, i am very much interest on this.
    Thank a lot
    Regards
    - Thilip

    Hi,
    Thanks for your immediate reply. Still, i am getting the same problem. I have gone through your instruction.
    i have placed my jsp file in c:/iplanet/servers/docs folder
    i have placed my bean file in c:/iplanet/servers/docs/firstBean folder
    Also mentioned in JVM classpath as like this
    c:/iplanet/servers/docs/firstBean
    But i am getter error msg that firstBean.databaseBean class not found.
    Please suggest me to do any other neccessary step ?
    Please inform me.
    Thanks in advance.
    Regards
    - Thilip

  • Help! Where to place a struts WAR file?

    OK, all I have to do to get the struts-blank/index.jsp to come up in Tomcat was
    simply copy the struts-blank.war to the Tomcat webapps directory.
    What do I need to do in WebLogic?
    I tried to place it where it seems like it should go like this:
    bea
    ---->user_projects
    ------->domains
    ---------->mydomain
    ------------->appliations
    ---------------->this_applications_name
    struts-blank.war placed under here --^
    I then deployed it (from admin console) and it says it is successful as follows:
    Description: [Deployer:149026]Deploy application struts-blank on myserver.
    A description of this task.
    Status: Deploy Successful
    The status of this task.
    Begin Time: Tue Dec 23 10:35:58 CST 2003
    The time this task was started.
    End Time: Tue Dec 23 10:36:08 CST 2003
    The time this task was completed.
    No exceptions were reported.
    I then tried to access the index.jsp (which I could from Tomcat) like this:
    http://localhost:7001/this_applications_name/struts-blank/index.jsp
    I get the old Error 404 message.
    So, what do I need to do to get the WAR to be understood by WebLogic? It was
    so simple in Tomcat, and I have other WAR files being used by WebLogic OK, but
    just not struts!
    What in the world am I doing wrong?
    Thanks!
    Darrin

    In weblogic.xml specify the context-root of the web application.
    <context-root>this_applications_name</context-root>
    Request index.jsp with
    http://localhost:7001/this_applications_name/struts-blank/index.jsp
    "Darrin" <[email protected]> wrote:
    >
    OK, all I have to do to get the struts-blank/index.jsp to come up in
    Tomcat was
    simply copy the struts-blank.war to the Tomcat webapps directory.
    What do I need to do in WebLogic?
    I tried to place it where it seems like it should go like this:
    bea
    ---->user_projects
    ------->domains
    ---------->mydomain
    ------------->appliations
    ---------------->this_applications_name
    struts-blank.war placed under here --^
    I then deployed it (from admin console) and it says it is successful
    as follows:
    Description: [Deployer:149026]Deploy application struts-blank on myserver.
    A description of this task.
    Status: Deploy Successful
    The status of this task.
    Begin Time: Tue Dec 23 10:35:58 CST 2003
    The time this task was started.
    End Time: Tue Dec 23 10:36:08 CST 2003
    The time this task was completed.
    No exceptions were reported.
    I then tried to access the index.jsp (which I could from Tomcat) like
    this:
    http://localhost:7001/this_applications_name/struts-blank/index.jsp
    I get the old Error 404 message.
    So, what do I need to do to get the WAR to be understood by WebLogic?
    It was
    so simple in Tomcat, and I have other WAR files being used by WebLogic
    OK, but
    just not struts!
    What in the world am I doing wrong?
    Thanks!
    Darrin

  • Where to put .class file of a servlet to run it on Tomcat 4.0

    where do i put my .class file of my servlet or maybe the .java one too in order to run it using Tomcat 4.0
    thanks in advance

    i got it by accident a while ago.. hehe
    thank you for trying to help thou :)
    ivo

Maybe you are looking for

  • Bridge CS3 opens at wrong location

    My older versions of Bridge always opened wherever I last closed it. Now it picks a file and stays there for about a week until it shifts to another file for another week. It's a time waster for me to have to reopen the file every time. Any suggestio

  • Tcode FB01

    I m populating FB01 tcode...using BAPI BAPI_ACC_DOCUMENT_POST..in my flat file for populating Fb01..i have two fields vendor and account...but where r these fields in BAPI structure...but while entering values in FB01 i m entering both vendor and acc

  • Oracle HA Failover problem

    Hi, Just want to know if anyone has encountered problem starting multiple oracle instance on the same node under sun cluster. It complains it can not start listener for the new instance. We used different listener port/name for the new instance. Any

  • IPhoto 09  super super slow opening

    Since my upgrade to iPhoto 09, it takes several minutes to open... iPhoto 08 took only seconds. I have 2,578 photos in the library. But I am running a Mac Pro Dual Quad Core and 16GB of Ram. To wait several minutes (4 minutes, 38 seconds for the last

  • How is it my Mac computer next to my apple tv gets 25 Mbps and my apple tv has buffering issues?

    Does anyone have a problem where their Mac and Apple are co-located and the computer, via WiFi, receives 25 Mbps and the Apple TV has HUGE buffering problems? I like Apple products, but am frankly tired of the buffering issues with the Apple TV.  Whe