Trouble with c:out in jstl

I am trying to use JSTL but it is not working very well.
For instance, <c:out value="${4+4}"/> writes out 4+4
instead of 8. Any idea what is going on?
Message was edited by:
tanitm

One highly possible reason is that the EL is not evaluating.
EL - expression language is whatever is inside ${.... }
One of the main reasons why EL doesn't evaluate is if the configuration is not set up properly.
You didn't mention which version of JSTL, I'm assuming JSTL 1.1
For JSTL 1.1 , your Webserver (a.k.a container) should be based on Servlet 2.4 spec, check the following
1) servlet.jar version should be 2.4 or higher - look for the version inside the Manifest.MF file inside the jar file
2) web.xml should conform to the servlet 2.4 version, so inside your web.xml make sure you have the following exactly as it appears below:
<web-app version="2.4"
         xmlns="http://java.sun.com/xml/ns/j2ee"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">3) Check your taglibrary directive inside the JSP file, it should be as follows if you are using JSTL 1.1
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>All of the above checks are for JSTL 1.1 , for previous versions of JSTL 1.0 the solution is different.
If you are using JSTL 1.0 I recommend that you upgrade it to 1.1 as , 1.1 is significantly better.
Message was edited by:
appy77

Similar Messages

  • Troubles with playing out from Final Cut Studio to a camera

    hello!
    have troubles when playing out to a DV camcorder. i 've got a mac mini intel, final cut studio and 2 sony DV cameras with dv in.
    capturing works fine, but when i put the captured movie to the timeline, then on both cameras there are 4 small bars (2 vertical, 2 horizontal), which shows some content of the captured files. the rest of the display stays black. looks very strange.
    tried to reinstall quicktime, tried to erase quicktime receipts and quicktime settings.. it worked then, but just for one time. after restarting the mac the same problem occured.
    thanks for your help!!
    mac mini intel   Mac OS X (10.4.7)   2 GB ram, external iomega harddrive

    stopped working again...
    gettin stupid with that stuff!!
    shot a pic to show you how it looks:
    http://service.gmx.net/de/cgi/thumbnail?CUSTOMERNO=4448322&t=de505972624.1156586 439.bbaf00f6&jobid=&nobg=1&folder=%2FMeine+Bilder%2F&file=FCS%2Dproblem%2Ejpg&si ze=1575x1100

  • Trouble with Check Out process

    I've never come across this issue but my client is saying that they are having trouble checking out on their website. I have tried and have no problems.
    This is what they have come back:
    The issue is that while Brightsparks themselves may not have made changes,
    the people Brightsparks use for the payment part of things, HAVE made
    changes.  https://pggwpromoshop.worldsecuresystems.com, used to resolve to
    202.176.14.137.  Today, it resolves to 54.252.148.183.
    Would it be possible for you to confirm with World Secure Systems that this
    is a permanent change?  Gen-I charge us for these changes, so we like to
    minimise them as much as possible.
    Brightsparks is me in the above statement.
    I have absolutely no idea what they are getting at and why they would have any troubles checking out. Does anyone have an idea or can point me in the right direction?
    Thanks in advance,
    Kirsty

    Hi Kirst, there was big migrations over the year and the final parts for the AU datacentre was very recently, there was a message directly in the admin for a week before this happened.
    Everything has changed. You can find the information and posts about it on the blog that have happaned over the last few months.
    This is the latest:
    http://www.businesscatalyst.com/bc-blog/phase-2-australian-datacenter-migration-october-19 th-2013
    IF Brightsparks the people that made your website? They should have been aware of all this and keep up to date on the system they use.

  • Trouble With Left Outer Join

    I'm kind of new to using left outer joins, so I don't know if I'm doing it quite right. Right now there's only one table that may or may not have a corresponding record, so I'm only using left outer join on it. I get the error ORA-00904: "A"."SGBSTDN_PIDM": invalid identifier right now when I try to run my query. This gives me the impression that I need to use left outer join on all the tables in my FROM clause. Any suggestions on what I need to do?
    /*Get those students not awarded ACG1 yet with an entry in shrlgpa*/
    SELECT spriden_id id, spriden_last_name||', '||spriden_first_name name, sgbstdn_styp_code student_type,
    sorhsch_graduation_date hsch_grad_date,shrlgpa_hours_earned hours_earned,rorenrl_finaid_adj_hr hours_enrolled,
    0 AS disbursement_to_date, 0 AS offer_amt, 0 AS current_disbursement,
    rnvand0_unmet_need unmet_need, 'N' AS awarded
    FROM RCRESAR,RCRAPP1,SORHSCH,RORHSDT,SGBSTDN A,SORLCUR, shrlgpa, rorstat, ROBINST, spriden
    ,rnvand0
    LEFT OUTER JOIN rorenrl ON (A.sgbstdn_pidm = rorenrl_pidm)
    WHERE (RCRESAR_PELL_ELGBL = 'Y')
        AND  SORHSCH_GRADUATION_DATE>'01-JAN-2006'
        AND  RCRAPP1_CITZ_IND IN ('1','2')
        AND  RCRAPP1_CURR_REC_IND='Y'
        /*Possible change once rigorous curr. decided AND (RORHSDT_AP_IB_COURSES = 'Y' OR RORHSDT_REQ_COURSES='Y')*/
        AND RORHSDT_REQ_COURSES='Y'
        AND sgbstdn_stst_code = 'AS'
        AND  SGBSTDN_STYP_CODE IN ('F','H','T')
        AND (SORLCUR_DEGC_CODE LIKE 'B%' OR SORLCUR_DEGC_CODE LIKE 'A%'
        OR SORLCUR_DEGC_CODE = 'UND')
        AND sorlcur_seqno = (SELECT MAX(sorlcur_seqno)
                              FROM sorlcur
                              WHERE sorlcur_pidm = A.sgbstdn_pidm
                              AND sorlcur_term_code = &enrollment_term)
        AND  SORLCUR_CACT_CODE='ACTIVE' 
        AND rorenrl_term_code = &enrollment_term
        AND shrlgpa_hours_earned BETWEEN 0 AND 29
        AND shrlgpa_gpa_type_ind = 'O'
        AND rorstat_pckg_comp_date IS NOT NULL
        AND  A.SGBSTDN_TERM_CODE_EFF = (SELECT MAX(B.SGBSTDN_TERM_CODE_EFF)
                                                                            FROM SGBSTDN B
                                                                             WHERE B.SGBSTDN_PIDM = A.SGBSTDN_PIDM
                                                                             AND sgbstdn_term_code_eff <= &enrollment_term
        AND NOT EXISTS (SELECT 'X'
                                        FROM RPRAWRD
                                      WHERE RCRESAR_PIDM = RPRAWRD_PIDM
                                          AND RCRESAR_AIDY_CODE = RPRAWRD_AIDY_CODE
                                          AND RPRAWRD_FUND_CODE = 'ACG1')
         AND rorstat_pidm = rcresar_pidm
        AND spriden_pidm = rcresar_pidm
        AND  RCRAPP1_PIDM    = RCRESAR_PIDM 
        AND shrlgpa_pidm = rcresar_pidm
        AND  SORHSCH_PIDM   = RCRESAR_PIDM 
        AND  RORHSDT_PIDM   = RCRESAR_PIDM 
        AND  SGBSTDN_PIDM   = RCRESAR_PIDM    
        AND  SORLCUR_PIDM   = RCRESAR_PIDM 
        AND rnvand0_pidm = rorstat_pidm
        AND  RCRESAR_INFC_CODE = RCRAPP1_INFC_CODE 
        AND  RCRESAR_SEQ_NO      = RCRAPP1_SEQ_NO  
        AND  RCRAPP1_AIDY_CODE = RCRESAR_AIDY_CODE
        AND ROBINST_AIDY_CODE = RCRESAR_AIDY_CODE
        AND  RCRESAR_AIDY_CODE = '&AIDY_CODE'
        AND rorstat_aidy_code = rcresar_aidy_code
        AND rnvand0_aidy_code = rcresar_aidy_code
        AND spriden_change_ind IS NULL
        ORDER BY name

    Frank Kulash wrote:
    Hi
    blackhole82 wrote:
    Yeah I realized that I was probably mixing styles after it wouldn't work. What you suggested does execute, so I assume it's right even though I'm not getting any rows at the moment. Don't assume it's correct: verify it
    I suggest re-writing the query using all ANSI syntax.
    Start with just two tables. Make sure that join is working.
    When you have something that works perfectly with just those tables, then add one more table.
    So if I wanted to left outer join onto shrlgpa too I would just need to add that underneath the join for rorenrl before the , and SORLCUR?In your existing query, it looks like shrlgpa is only connected to rcresar, using an inner join. Do you want to change that?At any rate, the order of tables using the old doesn't matter. Using ANSI notation, however, a join condition can only reference tables that have already been named in the same group of ANSI-joined tables.
    So you would probably would have to re-arrange the FROM clause.
    Sorry, I don't understand exactly what you want to do, so I can't tell you exactly how to do it.
    Make you best guess, and try it.
    If it doesn't produce the results you want, and you can't figure out how to fix it, then post the query, some sample data, and the desired results. If you post just the revised query, and a description of the problem, I'll try to answer, but without the sample data and desired results I can't guarantee that I can.Well I'm getting rows and the data seems to go with the query I had before using the outer join except for the records that have no record on shrlgpa. It appears that by having the clauses
    AND shrlgpa_hours_earned BETWEEN 0 AND 29
    AND shrlgpa_gpa_type_ind = 'O'that those I'm trying to pull in with the left outer join are being eliminated. Is it possible to still limit the hours earned while pulling in those who do not have a record on shrlgpa? Before I was just using a UNION to accomplish this, but I thought that I might be able to fine tune the query to eliminate the need for another UNION.

  • I am having trouble with texting out.  I can receive but cannot send.  Any advice?  Carrier is ok.

    Hi!  I am having trouble texting out.  I can receive texts, but can't send any longer.  All settings are ok and carrier is ok.  Any advice?

    Hi text is a network service contact your network service provider . Cheers Brian

  • In the middle of a session foxfire comes up not responding a lot of the time if i am on the same page 5 minutes or more then i have trouble with get out [end now] some times i have to cut computer off manually please help this is annoying

    it does this when i stay on the page 5 minutes or and try to scroll up or down it shows 'not responding' then the boxs comes up with 'end now' or cancel'[return to windows to check on program] then it want let me end now display at program not responding at down i have to turn off manually this is windows xp compaq presario 2002 year model telphone hi speed internet provider google is search engine

    I personally like to Crop, and then use PNG for my screen-caps. If I need more images, say to show other Palettes, etc., then I do one each for those shots.
    We see a lot of full-screen caps posted, where aggressive JPEG is used, and nothing can be read. That is especially true with images, like Adobe Encore's Flow-chart, where there is a lot of text and linking being shown.
    Just my personal preferences.
    Hunt

  • Trouble with File Out rendering

    When rendering File Out nodes, Shake sometimes are not overwriting the existing file (when rendering multiple times..)
    How can I get Shake to overwrite the existing File Out file?

    It has been my experience that if Shake encounters an error writing to the FileOut (say if FCP has the file open), you encounter NO error message. Shake will spend the time rendering but never write out the file. In general, just prior to rendering, I delete the output at the finder level...
    Patrick

  • Trouble with audio out

    i just plugged in a 3,5 headphones into the macbook. everything worked fine. after i unplugged headphones, the internal speakers didn't came back. the port is now red illuminated and system preferences show "digital out". there is no chance to switch back to "internal speakers".
    restart didn't help. any other reset possibility or does it look like a hardware error?
    best,
    andi

    nothing helped. i did pmu and pram reset, installed a clean version os osx. nothing helped. after restart or opening the lid the jack is again red illuminated (i suppose it is laser for the digital out) and internal speakers are dead. i guess that the macbook thinks that there is a digital cable which of course is not.
    i guess it is a firmware related problem, cause when i am booting i can hear the start-up sound thru internal speakers and when os x is loaded, the speakers are dead.
    any more ideas?
    Macbook 2,0 Mac OS X (10.4.7)

  • The updated iPhoto program is cumbersome.  I am trying to create a Christmas card and can't figure out how to get the fold of the card on the left and not on the top of the card.  I had no trouble with this for the past two years.  Can someone help?

    The updated iPhoto program is cumbersome.  I am trying to create a Christmas card and can't figure out how to get the fold of the card on the left and not on the top of the card.  I had no trouble with this for the past two years.  Can someone help?

    Click on the Layout button lower right and choose a Vertical lyout from the dropdown

  • Trouble with reauthenticating NAC users after laptop is out of hibernation

    Hi,
    Have trouble with users logging back on to laptops that comes out of hibernate mode. NAC agent pops up saying " Client Access Server not available on the network"
    The current solution I have now is to run Kerbtray.exe too clear the kerberos tkts. which i believe is expired.User logs in fine after clearing.
    Is there any alternate permanent soln. in 4.7.2 ver
    Thanks in advance
    Satish

    One more point i forgot to mention
    Laptops have full disk encryption installed and encrypts the drive when it goes into hibernation .At the same time the sw port is set to move it to auth vlan after the link down trap is  received by the sw.
    thanks again
    Satish

  • Trouble with calculating fields. Can't select (check) fields. Also can't figure out what's wrong with a division field (percent) that I created. Keep getting the pop up that format of the field doesn't allow blah blah blah... Help!

    Trouble with calculating fields. Can't select (check) fields. Also can't figure out what's wrong with a division field (percent) that I created. Keep getting the pop up that format of the field doesn't allow blah blah blah... Help!

    1. Use the mouse to select the field and then press the space bar.
    2. A null string is the same as zero. What is the result for division by zero?

  • How can I figure out what my password is and keep it unlocked?  Every time I do a system update, it requires the password and sends me into cyber trouble with the remember my keychain access, requiring it every time I log in.  A real hassle to be avoided

    How can I find out what my password on the computer is?  I had to change it due to my teenagers helping themselves, and now every time there is a system update, I have to have the password, which I cannot remember or find.  It then wants it every time I log in and pops up Key Chain Access as well.  Very annoying.  I do not have the disc to reload it and fear I would loose everything on my computer as there is also trouble with the back up system.  Too many issues and not enough solutions.  Many thanks in advance!

    I do not have the disc to reload
    Why not?  You need your system dvds to troubleshoot & to reset/change passwords in view of your current OS listed in your  profile. 
    You can get replacement System Install & Restore CD/DVDs from Apple's Customer Support - in the US, (800) 767-2775 - for a nominal S&H fee. You'll need to have the model and/or serial number of your Mac available.
    If you're not in the US, you may need to go through the regional Apple Store that serves your location to find the contact number. Here's a list of links to all of those - http://store.apple.com/Catalog/US/Images/intlstoreroutingpage.html Another resource:  International Support Phone #s.
    ===============
    I have to have the password, which I cannot remember or find.
    When selecting passwords, make sure it's one that you will NEVER forget AND no one else can figure out. 
    Old school--- > Print it out & keep in a safe place.  A place that ONLY you know about AND never forget.
    New school---> Get a password manager utility.  Highly recommend 1Password which is shareware.  Do a Google search for free password managers.

  • Trouble with a Linkysys Wireless-N Router WRT-160W After a black out

    So like the subject says I am having trouble with the router. Last night there was a major storm in my town and the power and cable were out for hours. When it came back (it was only for about twenty minutes) the network was there but I was not able to connect to it from any of my computers. The desktop however that was hardlined to it works fine on the internet. I've tried restarting the modem the computers, and the router, pushing the reset buttons, even holding the reset button to the point it made the router act like its being used for the first time and creating a new network but I still can't connect to it. I only bot this router a couple of months ago so I'd hate to have to buy a new one.
    Any help would be appreciate.
    Thanks.

    Are you using Cable connection or DSL connection ?
    If you are using cable connection then follow this link and if you are using DSL connection then follow this link to configure your router. This should fix the issue for you.

  • HT4623 I am having trouble with my iPod 5th gen after iOS update. It's in recovery mode and iTunes keeps timing out when I try to restore it. What should I do???

    I am having trouble with my iPod 5th gen after iOS update. It's in recovery mode and iTunes keeps timing out when I try to restore it. What should I do??? If possible, I would also like to keep all of my data.

    Maybe this will help:
    Troubleshooting
    As with all clickwheel iPods, you can reset this iPod by first toggling the hold switch on and off and then simultaneously pressing the select (center) and menu buttons for approximately 5-10 seconds. This is a common fix should your iPod behave unexpectedly or lock up. Once reset, the iPod should display an Apple logo for a few seconds before showing the main menu. This procedure is similar to rebooting a computer and damages none of your music or data.

  • HELP. 3 years ago I purchased cs3. I had troubles with registering the serial number and used my university's suite instead, and (stupidly) did not sort it out. I am now wanting to subscribe to the online creative cloud with my cs3 discount. Is there any

    HELP. 3 years ago I purchased cs3. I had troubles with registering the serial number and used my university's suite instead, and (stupidly) did not sort it out. I am now wanting to subscribe to the online creative cloud with my cs3 discount. Is there any way to find / prove that I had purchased cs3 and locate a serial number? On my Adobe account it does not show my purchase of cs3 (I am guessing because of the trouble with registering my serial number). I have moved house 3 times since the purchase and am unable to locate the packaging or disk. Is there any way to prove my purchase without any serial number or showing under my Adobe account? Please help! Thanks

    The CS3 discount offer is only for retail online product, it does not include education or volume license purchases. Refer to Terms and Conditions | Adobe
    To check whether you had retail CS3 purchase, we need proof of purchase as well as serial number, without which the issue can not be resolved.
    Regards
    Rajshree

Maybe you are looking for