Help needed about JSTL

We have tomcat server, in which we are running some jsp files( which consists some bean classes). We want to convert those bean classes into jsp tag libraries.Even we have installed jakarta tag libraries , but we are unable to run jstl files. Help wanted urgently.
ThanX in advance.

Your note has two problems in it: (1) Custom tag libraries of your own making, and (2) Running JSTL. I'd like to address the second of the two.
I'm not sure what you downloaded from Jakarta. I'll assume that you're using JSTL 1.0.3 standard JSTL. (That's what I'm using.) The ZIP file I downloaded has a lib directory with 10 JARs in it. You'll need to put all 10 of them into your WEB-INF/lib directory for your app to use them.
You don't have to put a <taglib> in your web.xml, and you don't need to dig out any TLD files. The TLD files you need are already inside the standard.jar that you downloaded with the JSTL. You should not be trying to re-create what is already correct.
The pages that use the JSTL should have a tag like this near the top:
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>The uri attribute value must match the value in the c.tld file located inside standard.jar exactly:
<?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>
  <tlib-version>1.0</tlib-version>
  <jsp-version>1.2</jsp-version>
  <short-name>c</short-name>
  <uri>http://java.sun.com/jstl/core</uri>
<!-- etc. -->MOD

Similar Messages

  • Help needed with JSTL

    I need to access internal information of a certain object that I created from servlet.
    when I do this
    <h1><c:out value='${content}' /></h1>
    this one returns toString() value of the object.
    But I also need to access
    Object.getName(), Object.getDescription - which returns
    private String _name;
    private String _description; of the object.
    how can I do it?
    <h1><c:out value='${content.getName()}' /></h1>
    or
    <h1><c:out value='${content._name}' /></h1>
    didnt work?
    thanks

    firs,t thanks much for the help.
    but your answer is what's been confusing me about JSTL. which determines the value after name_of_the_object. ?
    none of the documents say whether it is public or private value of the class object, or name of the getter/setter(if i have getName(), then is it Name?).
    thanks again!

  • Help needed about using wifi

    Please can somebody tell me in words of one syllable exactly what I need to start using an ipad for surfing the internet?  I want to use it to access web pages while I'm out and about.  Do I need a contract with a phone carrier?  Does it need to be a mobile phone carrier?  Could I use my landline number if I have broadband access on that?
    I just can't work out whether I can use the ipad straight away without doing anything or whether I need to involve a mobile or landline/broadband supplier.
    Please help - I'm soo confused.

    a Local area network also called LAN network is what most people use in their house
    it's cables you connect 1 or more computers to get Internet and  access files from eachother
    wifi id 100% that!
    just without the cable
    you have wifi router with a password on
    you go into the settings on the ipad and choose the wifi router name on the list and type in the password
    and you're able to go online
    if you are not within reach of your wifi network you need to reply on public wifi networks if any are aviable where you are at the given time some would be free some would require you to pay them for service
    you only need to contact a phone carrier if you don't wish to use wifi because you have an ipad which along side wifi support 3g internet then you need to contact a carrier and get a micro sim and a contract
    if you already have an mobile phone which qualify as a smart phone you may be able to use that as a wifi hotspot to get on the internet using the phone but in some places this require you to pay extre to your phone contract

  • Help needed about thread priority

    Hello, could someone help me with the priorities in java? I got 10 levels in total(1-10), but I do need at least 20 levels for my multiple threads program.
    Thank you for your kind help in advance.

    First, let me apologize if I am incorrect, but it seems that the native Thread implementation restricts you to 10 priorities regardless.
    However, you can do just about anything you envision, but it will require some implementation on your part.
    You could implement a subclass of thread that contains your priority (which could be from 1-20). You could then maintain a ThreadManager that would store all running threads, and would accept requests to start and stop threads. The ThreadManager could make decisions about which threads to run, which to interrupt, which to sleep, etc., based on your priority value.
    This sounds like alot to swallow, but I'm sure it's doable if you understand threads.

  • Help needed about Nearline storage in BW 3.5.

    Hi Guys,
    Can you please provide me with some documents for implementing Nearline storage scenarios in BW 3.5.
    Thanks,
    Punkuj...

    Hi Punkuj,
    We use Nearline storage to store the data that is never been user or used very rarely.For example we have data for year 1960 in the data targets and now it is 2007.So mostly the management never uses this data or they uses them very rearly.So when we retrive the data from the data targets the DB unnecessarly reads the data every time when a report is generated on those targets.So to avoid this performance issue we store that kind of data in a seperate disk and we access that data using a multi provider when we need that in Report.This data is also known as Dormat data.
    Hope this will help you.
    Thanks and Regards
    SandeepKumar.G

  • Help needed about regex usage.

    hi all,
    i am kind of new to java.util.regex, and i can't solve this problem:
    i have a big string, that actually represents the text code of a method. in this method, i have an object, called, let's say "visitor" and i call several non static methods of it. i need to search this string and put into an ArrayList<String> all the occurrences of visitor, the method called, and its parameters.
    if i wasn't very clear, here is an example:
    the input string: "public void test_add()
              TemplateTestMethodVisitor visitor = new TemplateTestMethodVisitor(XMLArrayListTest.class);
              XMLArrayListComparer comparer = new XMLArrayListComparer();
              while(visitor.moveNext())
                   fillArrayList(visitor);
                   Exception exception = null;
                   try
                        _testedArray.add(visitor.getParameterAsInt("position"), ValueFactory.getMemberValue(visitor,
                                  visitor.getParameterAsString("type"), "ElementValue"));
                   catch(Exception e)
                        exception = e;
                   ExceptionValidator.validateException(visitor, exception);
                   if(exception != null)
                        continue;
                   VisitorAssert.assertEquals(visitor, "The content of the array list is not as expected.",
                             visitor.getResultAsCollectionData("List"), _testedArray, comparer);
    and i need to obtain an ArrayList<String> with {"visitor.moveNext()", "visitor.getParameterAsInt("position")" , "visitor.getParameterAsString("type")", "visitor.getResultAsCollectionData("List")"}. and it would be very helpful for me to do this using regex, but i can't think of a right pattern...
    thank you all.

    import java.io.*;
    import java.util.regex.*;
    public class TestRegexp {
      public static void main(String[] argv) {
        Pattern p = Pattern.compile("visitor\\..*?\\(.*?\\)");
        try {
          BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
          String line;
          while((line = in.readLine()) != null) {
            Matcher m = p.matcher(line);
            while(m.find()) {
              System.out.println(m.group());
        } catch(IOException e) {
          e.printStackTrace();
    }

  • Help needed about Financial 11i installation

    Hi
    i m try to Install Financial 11i my stand alone PC.i m using Windows Xp with services Pack 2 & install all need software . i m getting error any one help me how can i remove that errorss.
    command : cmd.exe /c F:\Uninstall Oracle Financial\Stage11i\startCD\Disk1\rapidwiz\bin\adchkutl.cmd D:\cygwin\bin D:\v98
    There was an error while running the command - cmd.exe /c F:\Uninstall Oracle Financial\Stage11i\startCD\Disk1\rapidwiz\bin\adchkutl.cmd D:\cygwin\bin D:\v98
    'F:\Uninstall' is not recognized as an internal or external command,
    operable program or batch file.
    RW-50011: Error: - System Utilities Availability test has returned an error: 1
    MtierInfoPanel
    command : cmd.exe /c F:\Uninstall Oracle Financial\Stage11i\startCD\Disk1\rapidwiz\bin\checkOS.cmd
    There was an error while running the command - cmd.exe /c F:\Uninstall Oracle Financial\Stage11i\startCD\Disk1\rapidwiz\bin\checkOS.cmd
    'F:\Uninstall' is not recognized as an internal or external command,
    operable program or batch file.
    RW-50011: Error: - Operating System patch/version test has returned an error: 1
    O/S User and Group Check
    command : cmd.exe /c F:\Uninstall Oracle Financial\Stage11i\startCD\Disk1\rapidwiz\bin\adchkutl.cmd D:\cygwin\bin D:\v98
    There was an error while running the command - cmd.exe /c F:\Uninstall Oracle Financial\Stage11i\startCD\Disk1\rapidwiz\bin\adchkutl.cmd D:\cygwin\bin D:\v98
    'F:\Uninstall' is not recognized as an internal or external command,
    operable program or batch file.
    RW-50011: Error: - System Utilities Availability test has returned an error: 1
    RW-10001: Rapidinstall wizard has detected that your configuration has errors. You must resolve these issues before continuing.
    Returning to wizard after Install Check Failed warning.
    Thanks
    Rizwan Shafiq

    Do not use any directory name which contains spaces (i.e. F:\Uninstall Oracle Financial). Change the directory name to be (F:\Stage11i), clean up your previous installation and start over again.
    The same thing is applicable to (VC++, MKS, Cygwin ..etc)
    It should work then.

  • Help needed about x200s

    Hi people, I want to buy a x200s CTO in Australia. I don't like the ugly line on top cover of the machine. Also I want LED. I called the Lenovo Australia. They told me that every machine except SL has next generation roll cage and the x200s has the ugly line. It does not have the LED, even for the wxga+ panel.
    Can anyone tell me whether they produce different x200s? I mean in US, they have LED, Next Generation ThinkPad Roll Cage technology utilizes a carbon-fiber/ glass-fiber top cove, etc. But they sell different machines in Australia?
    I am confused. Hope someone can help me.
    Thanks in advance!

    Thanks, I really appreciate your contribution.
    Must the IPsec licenses be from cisco? Can I use openVPN licenses? The design will be hub and spoke because the be5000 will seat in HQ but the operation will be a mesh operation where the branches can also call each other using VoIP.
    There will be 20 SIP6941 IP Phones in HQ and 6 each in all the six branches.
    The PSTN connectivity if via FXO in all sites. 8 PSTN lines via FXO in HQ, 4 each in branches via FXO
    I have looked at be5000 and it fits my application more than be3000. the total number of IP Phones is 56. I think using 2900 series ISR makes things less cumbersome at the branches.
    Please I need to know if i am limited to using cisco ipsec vpn or i can use openVPN (my choice).
    Many thanks for your help and timely advice. I appreciate it.
    regards

  • Help needed about PDF - java

    Hi everybody,
    I just need to know if it's possible (and has been done already :) ) to take a pdf file and, using java, extract all the text boxes of it so that I can then be able to position them in a java application layout (using Swing).
    I need to do that to extract all the information of the text:
    - size of the page
    - position of the text box
    - size of the text
    - font
    - color
    - other attributes
    That's a subject that has already been discussed a lot, but I couldn't find a clear answer to that question in the forum.
    I really need your help, because I already spent a lot of time searching for that, and now I start wondering if it's really possible...
    Thanks a lot in advance for your help.
    Myriam.

    Hi Carlosbenfeito!
    Thanks a lot for your answer!
    I don't know if the pdf document is a pdf form... The only thing I know is that the pdf file I will have to extract the data from will be generated from a Quark document...
    I will try to find out more.
    In the same time, do you know where exactly I can find this Adobe jar? I had a look on their website, but I didn't find it...
    Thanks for your help.
    Myriam

  • Help needed about database xtra

    hi!
    I need to know a best Database Xtra which i can use for MS
    Access database or SQL Server database and which works for MAc as
    well as Windows OS.Please also let me know how do i plug in a step
    by step information and also how to use the methods of Xtras.
    Please help me regarding this.
    Thank you all in advance.
    MS Access

    I'm not sure if its 100% compatible with SQL server database
    but Valentina database xtra is the best
    its also the fastest. But it uses its own database file
    format and allows you to run SQL queries pretty good.

  • Help needed about Xorg.

    Hi guys.
    I'm became really confused about this xorg.
    I would like to get my videocard working 100%
    I'm about to build a Mediecenter, and got and hauppaugePVR 500 - But that's only for recording the TV ??? or is it also for wieving tv?
    I have also a normal graphiccard with S-video out on. Wich one of these shold be connected to the TV. When I used the normal card - there's a lot of interference/stribes on the screen.
    But is it made that you also use the Hauppauge to watch tv on?
    And how do I configure xorg to handle the tv-out. I've look in other threads about this - but have not figured it out . Can someone please tell me more.

    peque wrote:And how do I configure xorg to handle the tv-out. I've look in other threads about this - but have not figured it out . Can someone please tell me more.
    Maybe this xorg sample helps:
    http://people.os-zen.net/shadowhand/configs/xorg.conf

  • Help needed about character counting

    I need to count the characters in a file and I can do it
    though I need to specify which letter is the most significant,
    I couldn't find a good way of programming it,
    can anybody help?
    Thank you

    I hope it makes sense and I hope you can helpSure. Have a look at the following little class:public class CharCount implements Comparable {
       private char chr; // the character itself
       private int freq; // the number of times it occurred
       public CharCount(char chr) { this.chr= chr; }
       public char getChar() { return char; }
       public void inc() { freq++; }
       public boolean equals(Object obj) { return compareTo(obj) == 0; }
       public int hashCode() { return char+freq; }
       public int compareTo(Object obj) {
          CharCount that= (CharCount)obj;
          if (this.freq < that.freq) return -1;
          if (this.freq > that.freq) return  1;
          return this.chr-that.chr;
       public String toString() { return ""+chr; }
    }... most of this class is just the obligatory hullabaloo except for the
    compareTo method: if 'a' occurs more often than 'b', 'a' is considered
    larger. if both frequencies are equal it considers 'b' larger than 'a'
    lexicographically.
    Next we implement a map that uses a Character as its key and
    a CharCount as the associated value. This class can count all
    characters being fed to it:public class CharConsumer {
       private Map map= new HashMap();
       public void feed(char chr) {
          Character key= new Character(chr);
          CharCount cc= map.get(key);
          if (cc == null)
             map.put(key, cc= new CharCount(chr));
          cc.inc();
       public SortedSet getCharacters() {
          return new TreeSet(map.values());
    }... this class just updates the map when it receives another character.
    The trickery-dickery can be found in the last method which can all be
    explained if you read the corresponding API documentation.
    kind regards,
    Jos

  • Beginner,help needed with JSTL.

    Hello,
    I just started on JSP.I have a simple code to query a table:
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
    <%@ taglib prefix="sql" uri="http://java.sun.com/jsp/jstl/sql" %>
    <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
    <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
    <sql:setDataSource var="example" scope="application"
    driver="oracle.jdbc.driver.OracleDriver"
    url="jdbc:oracle:thin:@192.168.2.1:1521:oracle"
    user="xyz"
    password="abc"
    />
    <sql:query var="empDbInfo" dataSource="${example}">
    select * from ss.emp
    </sql:query>
    <table>
    <tr>
    <c:forEach items="${empDbInfo.columnNames}" var="colName">
    <th><u>${fn:escapeXml(colName)}&nbsp&nbsp&nbsp</u></th>
    </c:forEach>
    </tr>
    <c:forEach items="${empDbInfo.rowsByIndex}" var="row">
    <tr>
    <c:forEach items="${row}" var="column">
    <td>${fn:escapeXml(column)}</td>
    </c:forEach>
    </tr>
    </c:forEach>
    </table>
    The table has been define in "ss" schema within oracle.This is the result of same query in SQL Plus:
    select * from ss.emp;
    N NAME
    1 h
    The output html that I get is just:
    N NAME
    and no values.
    Why dont the values come?I;ve tried different things,but no luck..please help me on this.Thanks.

    What do you see when you view source on the generated page?
    Does it produce the <tr> tags?
    Does it produce <td> tags?
    Try generating some HTML comments, and then view source.
    <!-- starting the forEach loop -->
    <c:forEach items="${empDbInfo.rowsByIndex}" var="row" varStatus="status">
      <!-- row ${status.count} -->
    <tr>
    <c:forEach items="${row}" var="column">
    <td>${fn:escapeXml(column)}</td>
    </c:forEach>
    </tr>
    </c:forEach>
    There were {fn:length(empDbInfo.rowsByIndex)} rows returned.Hope this helps,
    evnafets

  • Help needed with JSTL fmt:message encoding

    I'm using a greek resource bundle like
    <fmt:setLocale value="el"/>
    <fmt:setBundle basename="i18n.messages"/>
    I used UTF-8 for both the bundle file and JSP response encoding, but the values never prints out in the JSP response properly. If any non-english user can share some insight here, i'd really appreciate it...
    Thanks,
    Manos

    Have you considered using unicode for presentation. It might not be the prettiest way to do things, however, when I needed to present non-english characters. I would send them to JSP as a collection of unicode characters and than translate each one into character based on the desired locale.
    Hope it helps.

  • Major help needed about OS lion

    i noticed that the battery for my macbook is draining insanely fast, ive tried several solutions and none of them has been helping. currently im trying to caliberate my battery besides that i tried a few other solutions which dont help at all or ive done it wrong...
    can anyone please help me solve this issue?

    i did, the only thing running is safari, itunes and finder , ram used is 1,7gb...
    btw, allan do you know how to reset the battery, i mean the ctrl,option,shift solution i have no idea how it works i tried it 3 times still the same battery life.

Maybe you are looking for

  • Adobe Media Encoder unavailable in Photoshop CC?

    Hi - when I attempt to render an animation in Photoshop CC I am finding the Adobe Media Encoder option greyed out. The only available option is to render a Photoshop Image Sequence. In CS5 I was able to use the Media Encoder to render Quicktime movie

  • Apple id on multiple devices

    Hi All, I've just updated/changed my apple id and password using my Macbook but my other devices(iphone/ipad) keep showing my old apple id and i am unable to change it and of course my new and old password does not work. Can you help me please

  • Save data for online pdf

    Hi! Don´t know if I doing this to complex, but I would like to work in an online pdf, and be able to save data - and on open i load the xml file. flow 1) start form - lets say it has 10 fields 2) fill out 5 fields and save data - export/submit it to

  • Search Results as in SDN

    Hello Gurus, I want the search results to be displayed exactly like we have in SDN. I mean search result should be displayed in the same window rather than opening a new window. Also when click on a document that document should open in the same wind

  • IPad - Unable to restore

    Hello, I had to restore my iPad and while that does happen, I then get locked into a sync that stops at importing photos. The sync bar is moving but never resolves. So I am unable to restore. These are the steps. 1) Change Find My iPad to off 2) Pres