Not able to use JSTL tags

Hi
I am not able to use any tag in jstl. I have tried c:out,c:forEach,c:if etc. I have done mapping in the web.xml for the c.tld. I have tried the same code in eclipse and IBM websphere and Rational also but i am getting the error
Custom tag attribute test cannot be runtime expression. value: "[${userType eq 'member'}]"
i thought that it may be something related to configuratioin problem but now I am working in IBM rational and it has support for JSP 2.0. one thing more, I read in the HeadFirst servlets and JSP book that we needn't do any mapping for tlds etc in jsp 2.0. So please elaborate more and tell me the exact reason for my problem.
I will really appreciate the guy who answers me as soon as possible.
my persona email id is [email protected]
Thanking in advance!

Custom tag attribute test cannot be runtime expression. value: "[${userType eq 'member'}]"You say you are using a JSP2.0 container?
This message usually indicates that you are using JSTL1.0 with a JSP2.0 container.
Make sure you are using JSTL1.1 (seperate download), and are importing it with the correct URI
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
(note the subtle addition of the /jsp in there to distinguish it from JSTL1.0)
As has been said, remove all those tlds and entries in web.xml.
All of the tld can be found in the META-INF directory of standard.jar.
Your web container should find them all there, provided you use the "standard URI"

Similar Messages

  • Posting huge data on to JSP page using JSTL tags

    Hi,
    I have one application where I have to post huge data (approximately 2000 rows of data) into JSP page. I am using JSTL tags and running on Tomcat 5.
    It is taking almost 20 to 25 seconds to load the entire page.
    Is it the optimal time to load or it could be improved?
    Please let me know.
    Thanks,
    --Subbu.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Hi Evnafets,
    Thank you for the response.
    Here are the tasks I am doing to display the data on JSP.
    0. We are running on Tomcat 5 and the memory size is 1024MB (1GB).
    1. Getting the data - I am not performing any database queries. The data is stored in the static cache memory. So the server side response is so quick - less than a milli second.
    2. Using Java beans to pass data to the presentation layer (JSP).
    3. 10 'if' conditions and 2 'for' loops and 2 'choose' statements are being used in the JSP page while displaying the data.
    4. Along with the above, there are 4 javascript files are being used.
    5. The jsp file size after rendering the data, is aprox. 160 kb
    Hope this information helps you to understand the problem.
    Thanks,
    --Subbu.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Problem in using JSTL tag libs

    Hi there,
    I am trying to use JSTL tag libs in my web app, but i get the following error message:
    org.apache.jasper.JasperException: /index.jsp(22,0) According to TLD or attribute directive in tag file, attribute test does not accept any expressions
    as it might be clear i am using Tomcat and line 22 of the code for index.jsp is:
    <c:if test="${user.role > 0 }">
    Please help my identify whats wrong in there. I suspect that it is because of my web.xml file, but i am not sure.
    thanx in advance,
    Capitan Haddock

    try to use gt instead of >

  • Is it possible todeclare primitive variable by using JSTL tag

    Hi friends..........
    I have to use jstl tags in my project , so i have to know how to declare primitive variables with jstl tag. Is it possible with <c:set > jstl tag........
    Hope i get the answer...........
    Thanks in advance...............

    JSTL variables are attributes in the page, request, session and application scopes.
    As such, they can only be objects, because you can't store a primitive value as an attribute.
    However you shouldn't need to declare primitive variables. You should hardly need to declare any variables.
    JSTL is not a programming language. It is a language to aid the display of a JSP. Therefore most of its attention is geared towards outputting things, with a much lesser concern on setting them.
    Cheers,
    evnafets

  • I am getting a pop up on my iPhone 4S asking password of my iCloud even though I feed the password but still keep on asking the same thing every second so I am not able to use my iPhone.

    I am getting a pop up on my iPhone 4S asking password of my iCloud even though I feed the password but still keep on asking the same thing every second so I am not able to use my iPhone.at various times it asks different passwords.

    Curretly, there is an iCloud blackout.  It started this morning around 2AM California time (Pacific), 5AM New York (Eastern).  A lot of people have been having issues all day, including me.  No iCloud services are online.  Even Find My iPhone is down.

  • I bought new i phone 5 3 days back, after that asked for new update which is 6.1.4, after updating my iphone i am not able to use cellular data services. I called up data provider, they says its the problem with new software update. There is no option add

    I bought new i phone 5 3 days back, after that asked for new update which is 6.1.4, after updating my iphone i am not able to use cellular data services. I called up data provider, they says its the problem with new software update. There is no option add APN. Now when i switch to safari its showing you are not subscribed for cellular data. But I am able to use data on other phone.
    Will you please help me in this regard?
    Another issue, since i bought my new iphone there is dust inside back main camera.
    Your advises are highly appreciated.

    Hey Shaiju isac,
    I'd take a look at the following article, it'll guide you though steps to you troubleshoot cellular data issues on your iPhone:
    iPhone: Troubleshooting a cellular data connection
    http://support.apple.com/kb/ts3780
    Cheers,
    David

  • After upgrading to Lion, not able to use Quicken 2007.  Get the following message: PowerPC applications are no longer supported.  Anyone has a solution?

    After upgrading to Lion, not able to use a PowerPC Application (Quicken 2007).  Any solution?

    Quicken Essentials 2010 has less features than Quciken 2007.  Keeping track of investments is one feature I need and Quicken Essentials does not include that function.  I may have to consider others financial software, such as iBank4, Money4, iFinance, and Money Well.

  • TS1398 After upgrade to iOS 6 i am not able to use wifi.

    Connected, but no wifi traffic (at home).
    After upgrade to iOS 6 i am not able to use wifi. I am connected to my home wifi but no trafic is coming through (safari, skype, twitter, app store). I have even tried recovery of my iPhone 4S using iTunes as well as using iPhone. But without effect.
    Can not connect at all (at work).
    Thank you for helpfull advice.
    Vladimir
    Please do not give me advice like:
    switch proxy to auto
    turn the flight mode on and off
    turn the iphone on and off
    release the ip
    recovery the network settings
    recovery firmware
    I have tried all these, but did not work.
    PS to apple:
    I really did not expect this kind of trouble. If I would want to waste my time "repairing my device", I would buy an android phone!!!!!!

    This helped me solve the problem:
    I have changed the security from TKIP to AES and now my wifi works fine /sofar/.
    Targat

  • My mac's launchpad is working but i am not able to use the apps that are provided in the launchpad

    my mac's launchpad is working but i am not able to use the apps that are provided in the launchpad

    Well, everything that you have bought with her Apple ID prior to getting your own Apple ID is forever hers. Apple will not transfer content from one ID to another. But in the case of the Mac, contact iTunes Customer Service and request that they send your issue to the Account Security Team and ask that the Mac be released form your mother's account so you may register it with your account. Then you can accept the iLife apps into your account for any future updates.
    iTunes Support -
    http://www.apple.com/support/itunes/

  • Im not able to use facetime at all. Do some countries have restrictions. Can anyone help me out ? I use a Mac Book pro retina display with OSx Mountain lion

    Im not able to use facetime at all. Do some countries have restrictions. Can anyone help me out ? I use a Mac Book pro retina display with OSx Mountain lion.

    FaceTime for Mac: Troubleshooting FaceTime

  • HT1351 I have a apple ipod touch but recently I restored all the settings, as well as the applications. But now I am not able to add songs to it. There is blank screen that shows the symbol like to connect to itunes first. I'm not able to use that... Plea

    I have a apple ipod touch but recently I restored all the settings, as well as the applications. But now I am not able to add songs to it. There is blank screen that shows the symbol like to connect to itunes first. I'm not able to use that... Please help

    The iPod's firmware is corrupt. You'll need to restore it again in iTunes. If necessary, place the iPod in recovery mode for iTunes to recognize the device. Use the instructions in this Apple support document to walk you through the process of placing the iPod Touch into recovery mode.
    iOS: Unable to update or restore
    B-rock

  • Is anybody else still not able to use the App Store? I can't download nor update any apps. I have an IPhone 5 device not currently updated to iOS 7 as my partner also has an iPhone 5 running iOS 7 and it seems to have some issues at the moment.

    Is anybody else still not able to use the App Store? I can't download nor update any apps. I have an IPhone 5 device not currently updated to iOS 7 as my partner also has an iPhone 5 running iOS 7 and it seems to have some issues at the moment.

    Hi Tech5Apple,
    Thanks for visiting Apple Support Communities.
    If you continue to see unexpected behavior when accessing the iTunes Store, the troubleshooting steps in this article can help:
    Can't connect to the iTunes Store
    http://support.apple.com/kb/ts1368
    All the best,
    Jeremy

  • Not able to use my money

    In iTunes I have an account balance that I am not able to use. I tried to buy different items and it wont allow it, but I can buy "FREE" ones. Is there a min amount that I am requaired to have in my account? OR is there some other reason why I am not able to spend out of my account. I used a 50 gift card and spent all but 6 bucks. Now its requiering a credit card or gift card code. But I still have a balance.

    I tried to buy different items and it wont allow it
    Are you attempting to purchase items from teh iTunes Apps store?
    If you ar ein Canada, you cannot use gift card balance to purchase apps.
    You can only purchase songs, videos or movies with a gift card.
    You need a CC to purchase apps in Canada.

  • Not able to use facebook on my blackberry 8520.

    Still no revert received regarding my earlier post. Not able to use facebook on my blackberry 8520.

    If you can access Facebook while on Wifi at home, but you are unable to access it while away running on your carrier's 2G network, I could phone your carrier.  You have already completed the Cellular Data troubleshooting for the iPhone, so any limitations keeping your from connecting to Facebook over cellular will have to be answered by your carrier.

  • Not able to use new attribute in set defination

    Experts,
    I have created one custom variable employeestatus. Did the binding with 'user' object and also added in MPR 'Synchronization: Synchronization account controls users it synchronizes'..
    However I am still not able to use the new attribute in Set definition.
    Error says access denied.
    Please suggest.
    Thanks,
    Mann

    Hi,
    You need to add it to one of FilterPermission objects (depending on what you need either Administrator Filter Permission or Non-Administrator Filter Permission).
    Go to All Resources, locate Filter Permission, open one of them and add your attribute to the Allowed
    Attributes under Permitted Filter Attributes tab.
    Regards, P

Maybe you are looking for