That JSTL question...

...but I think I already did what I see what is always suggested in the searches I've performed.
I get this error when I try to load my simple page testform.jsp
org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application
Here's the complete contents of testform.jsp:
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html><head></head><body>
${param.argle == "bargle"}
<form name="form1" method="post" action="testform.jsp">
     <input type="hidden" name="argle" value="bargle" />
     <input type="submit" name="submit" value="submit" />
</form></body>
it should be noted that if I remove the taglib directive the page works fine (the EL returns false before clicking the form button, and returns true if you have clicked the button).
The directory structure:
[tomcat's webapps directory]\playground
---testform.jsp
---\WEB-INF
------\lib
---------jstl.jar
---------standard.jar
In other words, the jstl and standard jar files are in the WEB-INF\lib directory like I understand they should be. I've looked at the tld files inside the jar. They are using http://java.sun.com/jsp/jstl/core as the uri
I have tried this exact scenario using both Tomcat 7 and Tomcat 5.5.
so, the question is,... what am I doing wrong?
Edited by: 861734 on May 26, 2011 9:28 AM

I haven't made a web.xml. I was under the belief that to use the core taglib you didn't need it. Am I mistaken?

Similar Messages

  • I am trying to download a movie in iTunes and I was asked two security questions. They are different form the questions I chose and whenever I exit and try again, I see that the questions change every time. How can I reset the questions?

    I am trying to download a movie in iTunes and I was asked two security questions. They are different form the questions I chose and whenever I exit and try again, I see that the questions change every time. How can I reset the questions?

    From a Kappy  post
    The Best Alternatives for Security Questions and Rescue Mail
    1.  Send Apple an email request at: Apple - Support - iTunes Store - Contact Us.
    2.  Call Apple Support in your country: Customer Service: Contact Apple support.
    3.  Rescue email address and how to reset Apple ID security questions.
    An alternative to using the security questions is to use 2-step verification:
    Two-step verification FAQ Get answers to frequently asked questions about two-step verification for Apple ID.

  • What does mean that a question mark continually shows up in place of the Document Folder on the desktop?

    What does mean that a question mark continually shows up in place of the Document Folder on the desktop?

    Welcome to Apple Support Communities
    It means that this folder couldn't be found. Drag it off the Dock, and then, open a Finder window, go to the folder that contains it and drag it to the Dock, so it will show up

  • That SSID Question Again

    The question is not "how do I do it" - because I know the answer to that.
    The question is "why is it so difficult to find the answer?"
    Just in case anyone is struggling, this is how to do it with OSX 10.9 and an HP Photosmart C4380:
    1) Reset wireless settings on the printer (see manual for how to do that).
    2) Print the network configuration settings now you have reset them; they should tell you it is in ad-hoc network mode and they should tell you the "URL" and the wireless network name. Mine was "hpsetup". You will need that in a moment.
    3) With the controlling computer, join the ad-hoc network using your wireless settings - I am guessing you know how to join different wireless networks with your computer.
    4) Open the URL from step 2 in a web browser. You are now in control of the printer.
    5) Under "Networking" go to the "Advanced" tab. Enter the SSID you want to use, select "infrastructure" and enter the WEP key or whatever is appropriate for your network.
    6) Note that when you press "Apply", the printer changes the nwtwork to which it is connected. That means the page you're looking at appears to crash. Which technically it has, as the server just disappeared from your computer's universe. Don't worry.
    7) Print the network configuration settings again and check it has in fact joined your network of choice. If it hasn't, go back to step 1. Nothing else will do - you must go back to step 1 and try again.
    8) Presuming you were successful in step 7, rejoin the main network with your computer.
    9) Add the newly connected printer to the list of available printers, since it has now become visible. Again I am presuming you know how to do that, but if you don't there are many versions of instructions for that available on Google.
    So again, I repeat my question. Why was it so difficult to get instructions on that little dance involving reset - ad-hoc network - enter information - apply? Changing SSID for your home network is very common.
    Why so difficult to find, HP?

    SET PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32 \Wbem;C:\WINDOWS;C:\WINDOWS\COMMAND;C:\J2SDK-1_4_2_04/bin <=====
    Can someone please help. I think a step-by-step would work ,because now I'm prettymuch fed up with trying. Tell me what to do, and where to do ,please.
    Javac is in the folder:
    C:\j2sdk1.4.2_04\bin <======
    Your path says 1_4_2_04/bin
    Should be 1.4.2_04/bin

  • Basic JSTL question

    Hi, just trying to get to grip with JSTL (although part of me thinks that if the application is to be wholly devloped/mainatined by java programmers they dontr offer much.)
    can someone point me to what Im doing wrong.
    I have a list of dataitems that I can iterate through and print out their attribute
    <c:forEach items="${model.dataitems}" var="dataitem">
         <c:out value="${dataitem.name}"/>
    </c:forEach>But how do I print out the number of dataitems I tried
    <c:out value="${model.dataitems.size()}
    <c:out value="${model.dataitems.size}and neither worked

    That depends on what server/version of JSTL you are using.
    On a JSP2.0 server (Tomcat 5) using JSTL 1.1, then you can use the function library:
    <c:out value="${fn:length(model.dataitems)}"/>In the older JSP1.0 needed for JSP 1.x servers, the function library is not available. If you need the total before the finish of the loop, then you are stuck with either using a scriptlet or writing your own tag (or utility bean) around it.
    If you only need to use the total size of the collection after iteration, you could use the varStatus attribute in the c:forEach loop to get the count:
    <c:set var="count" scope="page" value="${0}"/>
    <c:forEach ... varStatus="status">
      <c:set var="count" value="${status.count}"/>
    </c:forEach>
    Number of Items in the Collection: <c:out value="${count}"/>
    package webutils;
    public class UtilBean {
      private java.util.Collection collection;
      public void setCollection(java.util.Collection c) { collection = c; }
      public int getSizeOfCollection() { return (collection != null) ? collection.size() : 0; }
      <jsp:useBean id="utilBean" class="webutils.UtilBean"/>
      <c:set target="utilBean" property="collection" value="${model.dataitems}"/>
      Number of Items: <c:out value="${utilBean.sizeOfCollection}"/>Not the prettiest of sollutions but that is why they cam up with function libraries in JSTL 1.1...

  • Forget that last question...

    What I meant to ask was can I buy 3G access thru apple instead of thru AT&amp;T? I heard that the Apple data plan expires when the data is used up where as AT&amp;T's plan automatically renews every month even if there is data left.

    As I said in your other post;
    Apple is not a telecom, Apple does not supply 3G service. If Applewere selling a data plan it would be someone else's dayta plan and itwould be by the other party's terms.

  • Very simple jstl question

    I for the life of me have not been able to find the answer to this very simple question, googling and looking at various documentation. What is the difference between accessing properties using $ or #? Is there a difference?
    Thanks

    Read on this excellent explanation about the unified EL: http://java.sun.com/products/jsp/reference/techart/unifiedEL.html

  • JSP 2.0 and JSTL question

    Hi,
    I'd just like to ask if anyone could suggest a good site with tutorias about JSP 2.0 and more specific about requesting and manipulating attributes.
    It is easy to do so by using servlets withn something like:
    ArrayList mylist = (ArrayList)request.getAttribute("mylist");
    and use it with an iterator.
    ...but I'd like to learn how I can request and manipulate ArrayLists in JSP using JSTL.
    thanks in advance,
    mike

    All you should need are the <%@ taglib %> and the jar files in your web-inf/lib directory.
    Nothing is required in web.xml for it to work.
    Make sure you are using the JSTL 1.1 taglib URIs though: http://java.sun.com/jsp/jstl/core.
    They look a lot like the old ones, but include /jsp now as well.
    Does the EL evaluate inside a tag? eg <c:out value="${application.servletContextName}"/>
    Couple of things to try
    EL evaluation may be disabled: Put this at the top of your page:
    <%@ page isELIgnored=false %>
    Check your web.xml for something like this (disables EL in pages)
    <jsp-property-group>
    <url-pattern>*.jsp</url-pattern>
    <el-ignored>true</el-ignored>
    </jsp-property-group>
    What version of the DTD are you using for web.xml? According to the JSP spec, if it is less than 2.3, and you haven't specified handling of the EL, it is ignored.
    Relevant bits of the JSP2.0 spec: JSP3.3.2, JSP 1.10.1
    Can you post some code which isn't working?
    Cheers,
    evnafets

  • That GPS question (N80)

    IS there a definitive yes on any GPS software that works with the N80 ?
    And what compatible GPS module ?
    Thanks.

    yes that is, if you are not experiencing other problems (out of memory etc) you want to get rid of more than you want to have navigation software
    Route66 should work on the N80 (however it's removed from the compatibility list due to 0617-issues (which is the standard firmware for all new N80s)), and I'm using a tomtom bluetooth gps with nav4all (another working navigation thing, but you have to pay for GPRS/3G to get the route), which is working fine, except for the disconnection problems.

  • JSTL Question

    Hi Guys,
    I have an ArrayList of HashMaps that i wish to iterate over using
    <c:forEach> tag. How can i do that?
    thanks for any help
    -navjot

    JSTL uses attributes, in fact the pageContext.findAttribute() method. Store your Map in an attribute, for instance:
    <%
    // scripting
    pageContext.setAttribute("myMap", myMap);
    %>
    <c:forEach items="${myMap}" var="singleItem">
      <c:out value="${singleItem.whatever}"/>
    </c:forEach>

  • Auto sync and more music that fits questions...

    OK I have about 120 GB of music in iTunes via my Mac and an external HD. IF I want to sync up to a 60GB iPod on auto rather than manual, will it load up the iPod in order, say alpha until the iPod is full ( so maybe it stops at the letter N for instance) OR will it "sample" from the entire iTunes library so I may get partial artists or albums-sort of a random sync load???

    You will get a message that the iPod cannot be updated because there is not enough free space to hold all of the songs. Your iPod will not be updated.
    If you want to fill up your iPod, create a smart playlist that meets your wishes and check:
    'Limit to - 60 GB - selected by random (or another choice)
    You may have to lower the figure '60' and leave 1 or 2 GB 'spare'.
    Hope this helps.
    M

  • Dilemma To App or not To App Is that the Question ask ask ?

    Edited to add clarification    Since  I'm on that subject I thought I use this thread also to asked an opinion.
    when first applied for the U.S Business Perk. Last Month on 7/20.my credit report was on freeze except TU (now I learned they pull EX for me.)
     I called back they requested for me to unfreeze all my CR. I figured  I'll just open a personal checking account with US.bank  to build a relationship learning what others have had experiences with U.S Bank and hoping to place me in a better position had a lot on my plate at the time strong contemplations for approval with them, and quite honestly i think it helped a tad, During filling out the app asked if I wanted to apply for a personal  visa I thought it over to myself, since I had to unlock all my CR I might as well apply i felt it was good logic  go for the for the whole package.  my EX they pulled  only do a SP. on there personal checking, Note: I frozen all those 3rd party other outside data CRA, I didn't not want any problems since I've heard and learned they also pull other 3rd party CR,
    My Thoughts was to tried to get U.S Bank  to use that same hp ,from my the checking/visa app for the businesses CC, but was told they need it reopen (

    Dan A wrote:
    My client doesn't have vnc configured and I am concerned that if there is a network blip or other kind of connection interruption while my upgrade is happening, I will be forced to trash the upgrade, restore from backup and start again.
    My client refuses to countenance this - they say they have never used vnc and don't want to start now.Your client shows ignorance. VNC is not a security risk.
    It depends on HOW it is used. As is the case with almost every single piece of s/w that you expose on a network.
    If X11 is directly used on the network, using VNC in a similar fashion is not less secure. And is a lot more robust and a lot faster.
    If the issue is not exposing VNC directly to the public network, VNC can be tunnelled.
    Start vncserver on the server. Display 1 will be by default on port 5901. It also binds (by default) to all IPs on that server, including localhost. If the server is hardened (or even default iptables activated), port 5901 is automatically firewalled and not accessible via the server's public network interfaces.
    However, it will be available on localhost.
    Create a local tunnel from your client to server. E.g. ssh -L 5901:localhost:5901 root@ora-server*
    Your localhost connections on port 5901 will be passed to ora-server - where this server passes it to localhost:5901, the VNC server display.
    Next run vncviewer localhost:1* on your client. And you are connected to the VNC server display via a secure and encrypted ssh tunnel.
    2 commands needed on your side to create a secure connection to a VNC server on target platform that itself is not directly exposed to any external network.

  • Is that hard question???

    how can i take parameters from my applet and pass it to ASP.NET code????

    I did a search and came up with some links:
    http://forum.java.sun.com/thread.jsp?forum=31&thread=337518
    http://forum.java.sun.com/thread.jsp?forum=31&thread=315919
    http://forum.java.sun.com/thread.jsp?forum=31&thread=401953
    http://forum.java.sun.com/thread.jsp?forum=31&thread=326415

  • Newbie question: JSP x JSTL (Will JSTL kill JSP?)

    Hi,
    I'm newbie in java development and know I'm learning about jsp and jstl.
    I'm reading some articles about jstl, but my doubt remains...
    Was jstl create to kill jsp in apresentation layer?
    Please, if possible, show me an example that I really need use jsp instead of jstl?
    What kind of things can't I do with jstl?
    Thanks a lot

    Ranieri wrote:
    I'm sorry, my question wasn't very clear.
    When I said JSP, I wanted say Scriptlet...
    My central point is that Scriptlet is very confortable for me at the moment...
    So, I don't see a motive to change:
    <% if (1 == 2) }....
    to
    <c:if test="1 eq 2">...Lots of motive to change.
    Now... you can say that jstl is more easy, Or you can say that JSTL is easier.
    but if a big number of people start to use it, it will increase and will turn another programming language...It sounds like you think this is a new thing. JSTL has been around for a very long time. 2001 vintage. It's already here, dude.
    Besides, it's not a programming language per se. There will be other tag libraries, but those are custom. JSTL as written hasn't changed in years. The standard won't expand.
    So, why create another programming language if we have Scriptlet to do the same?Like I said before, scriptlets were the mistake. They're unreadable, ugly, and encourage putting logic in JSPs. Very bad, indeed.
    %

  • How can I report people that are harassing me on my question?

    I posted a question on how to fix a problem that I had with my iPhone. When a person posted me talked about dealing with an employer to solve the problem. No it don't matter how I read it I asked why did they assume that without asking me if I even had a job that the phone was used for. After that the harassment started as if they were defending their friend and I was cruel to them. I did get an answer to my problem but the harassment keep going on and on and on even one wrote that because of that one question I shouldn't be able to post anymore questions when I would need it.
    How can I report this to someone? Who else have these people harassed? Would these people be addressed that they shouldn't be behaving like this?

    Sorry, but the poster before Bee, and Bee herself did not write anything that could be construed as harassment. If those posts deeply hurt you (as well as the original post that set you off) then I would strongly suggest that the Internet is NOT a place you should spend any time as your feelings are going to constantly get hurt. In fact, I'd suggest avoiding all contact with other people as much as possible if KiltedTim hurt you with his post.
    As has been repeatedly explained, he merely asked because that is another avenue that could cause the Camera app to be removed, and he went on to explain how this happens. There is nothing personal in it, we don't care how you got your phone, where you work, what type of job you have, etc. He did care enough to join in and give another possibility as to why your camera icon was missing. If you do a search of these threads you will find that more than a few people have decided to put their work account on their personal iPhone and the profile installed on their iPhone by personnel at their workplace changes features on the iPhone.
    Again, if this, and the answers here, deeply hurt you, pull the cable from the Internet immediately.

Maybe you are looking for

  • Error Occured when trying to progress through the workflow

    Tried to move a project from one stage to the next in the workflow and an error popped up saying, Workflow: Workflow Terminated An error has occurred in the workflow. Now when you open the project in PWA instead of seeing the image of the workflow th

  • Opening Balances in Report Painter Report

    Dear All, We have created a Cash Flow Statement using Report Painter. We are getting all the current year transactional figures correct but we are not getting the Opening balances. We have defined 3 columns as below: 1. Fiscal year 2. Balance Sheet 3

  • BI 4.0 server and client apps coexistence

    Hi SAP experts, we have installed BI 4.0 SP02 FP03 (Win 2008) for one of our customer with AS JAVA Netweaver 7.3 (Linux) application server. Customer is now requesting to install the BI 4.0 SP02 FP03 client tools and rich clients on the server where

  • Music Background in Slideshow

    I have taken the Flash Slideshow template and altered it to fit my design. I would like to add three songs to play continuously in the background. The problem is, I can only loop one song at a time. How can I loop three songs to play as long as the s

  • Keep getting "Application Moved" message when opening some programs

    When I right click on a file type and chose the app to open it with, I will often get an "Application Moved" pop up box. I enter in my password to update the location but the next time I go and open that same app via a document, I get the same error