How do you run a boolean on a hashmap using JSTL?

I am trying to test a hashmap to see if it has a certain value using JSTL.
<jsp:useBean> id="something_map" class="java.util.HashMap" />
     <c:set target="${something_map}" property="submitted" value="goodbye" />
     ${something_map.submitted}
     <c:if test="{something_map.submitted == goodbye}">
     worked
     </c:if>
I am creating a hashmap with the jsp:useBean tag. i set the maps name to "something_map."
Then I made a key called submitted and set its value to goodbye.
When I display "something_map.submitted", it successfully displays "goodbye", but when I run the <c:if> and test to see if "something_map.submitted" is equal to "goodbye", it doesn't work. How do I run a boolean on the value of a hashmap?
p.s., i already tried using scope variables, but they don't work so well when they are updated several times over many pages.

cotton.m wrote:
>
Also, to the person who said that I left out a $, that was I typo. I have it in on the original code and it didn't make a difference.Well it's not the equals bit. JSTL is a scripting language not Java.Sorry for the red herring. It's been a geologic age since I've done anything JSP-ish. I wasn't sure how closely JSTL aligns with the Java to which it compiles.

Similar Messages

  • Is it possible to run host command from SAP environment? How do you run?

    Hi
    Is it possible to run host command from SAP environment? How do you run?
    Thank You

    Hello Subhash
    You will more details in the following thread:
    Re: How to define command for SXPG_COMMAND_EXECUTE
    Regards
      Uwe

  • How do you run apps on creative cloud? I can't seem to run them or see them on my desktop

    How do you run apps on creative cloud? I can't seem to run them or see them on my desktop

    Hi JasonLuong,
    You will have to go to www.creative.adobe.com and login with your Adobe Id on which you have purchased the subscription.
    You can go to the download center and then start downloading all the cc apps available. It will first download and install the Creative cloud desktop tool in your computer. This creative cloud desktop will show you the option to download all the CC programs, the updates, etc.
    Thanks
    Kapil Rupani

  • How do you run Adobe Reader with New Lions

    How do you run Adobe Reader with New Lions?

    Lion has Preview, you may not need Adobe Reader.
    Preview Help
    View your images and PDF documents, touch them up, annotate them, and share your comments.
    Regards,
    Colin R.

  • How do you run a Wagetype G/L report in SAP

    Hi SAP experts
    In SAP system,How do you run a Wagetype G/L report?
    regards
    Krishna

    Aarti
    Thanks for your answers,this was the report I was  looking for .
    Full points awarded to you .we can also use this transaction code directly
    PC00_M99_DKON
    regards
    krishna

  • How do you run a full virus scan

    How do you run a full virus scan on the Imac

    Take a look at this article:
    http://en.wikipedia.org/wiki/Phishing
    Running a virus scan would not help at all - someone got your email address and is now hoping you're dumb enough to use the links they provided and give them information so they can use your credit card or checking acount number, password, etc.
    I would change my user name and password immediately (if not sooner!!) - make it difficult to guess. Do it at least with the bank involved; however, to be safe, it wouldn't hurt doing it with others as well.

  • HT5246 How do you run the Flashback malware removal tool?

    How do you run the Flashback malware removal tool?
    Thanks

    I am away from my computer and it is somewhat awkward to reply on an iPad.
    > I had already done what softwater instructed. I've read that it deletes itself on other threads, but it's still in my Finder as a Device. That's what confused me, because it doesn't appear to have deleted itself.
    Sorry, I wasn't clear. That is not the tool. It is the .dmg image mounted to your desktop. Next to the name you will see a small eject icon. Click on it or highlight it and choose "Eject" from the appropriate Finder menu. Once that happens you can drag the .dmg file to the trash as it will not delete itself.
    > I only recently upgraded to Snow Leopard and then Lion, in quick succession. My understanding is that there were (are) variants that would have infected my computer prior to my upgrading my OS to Lion. Before the upgrade, they were Adobe, but afterward they were Java. Could it be that be that the pop-ups were/are some other variant?
    Difficult to say for certain. Apple says it deletes all the common variants but does not specify which and I haven't seen the results of any testing done to verify that it finds and deletes those. The only dialogs that appeared with the initial variants were for FlashPlayer. They are depicted in the descriptions for Flashback-A on F-Secures site if you want to take a look. There have been none that I am aware of for Java, so that is probably either a web page or application that needs Java to run giving you that alert.
    > If the Flashback malware removal tool didn't find anything and my Software Update is current, does that mean the vulnerability has been fixed? At least for now? I understand that I Software Update will prompt downloads in the future if and when it needs to be patched again.
    The vulnerability is in Java, nowhere else, so if you don't have it installed there was nothing to fix.
    If you download Java in the future it will be the latest version Apple has available at the time, which hopefully will not be subject to exploitation, yet...

  • From two given tables, how do you fetch the values from two columns using values from one column(get values from col.A if col.A is not null and get values from col.B if col.A is null)?

    From two given tables, how do you fetch the values from two columns using values from one column(get values from col.A if col.A is not null and get values from col.B if col.A is null)?

    Hi,
    Use NVL or COALESCE:
    NVL (col_a, col_b)
    Returns col_a if col_a is not NULL; otherwise, it returns col_b.
    Col_a and col_b must have similar (if not identical) datatypes; for example, if col_a is a DATE, then col_b can be another DATE or it can be a TIMESTAMP, but it can't be a VARCHAR2.
    For more about NVL and COALESCE, see the SQL Language manual: http://docs.oracle.com/cd/E11882_01/server.112/e26088/functions119.htm#sthref1310
    I hope this answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all tables involved, and also post the results you want from that data.
    Explain, using specific examples, how you get those results from that data.
    Always say which version of Oracle you're using (e.g., 11.2.0.2.0).
    See the forum FAQ: https://forums.oracle.com/message/9362002

  • How do you scan multiple pages to my computer using a C5580 all-in-one printer

    how do you scan multiple pages to my computer using an HP Photosmart C5580 all-in-one printer?

    Hi @carolpaige 
    I would be happy to help you scan multiple pages. What operating system, and version do you have? Mac or Windows?
    You will need to save your files as PDF, and when you choose the PDF format you will see an option to have all scanned pages saved as a single file. Knowing your operating system will help me to provide you with more detailed instructions.
    Please click the Thumbs up icon below to thank me for responding.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Sunshyn2005 - I work on behalf of HP

  • How do you install windows XP on macbook and use microsoft access

    how do you install windows XP on macbook and use microsoft access?

    there are two methods to intall windows on your macbook
    1st is through Parellel software
    2nd is through Boot camp.

  • How can you utilise the 30 pin VGA adapter used on the iPad 3 and iPhone 4S on the iPad 4 which uses a lightning connector?

    How can you utilise the 30 pin VGA adapter used on the iPad 3 and iPhone 4S on the iPad 4 which uses a lightning connector?

    See the following. Also take note below and from the linked page above that video mode is NOT supported:
    http://store.apple.com/us/product/MD823ZM/A/lightning-to-30-pin-adapter
    *Note below and from the linked page above that video mode is NOT supported*
    "This adapter lets you connect devices with a Lightning connector to many of your 30-pin accessories.* Supports analog audio output, USB audio, as well as syncing and charging. Video output not supported."

  • HT1918 how do you know what computers are authorized to use home share before i delete a computer

    how do you know what computers are authorzed to use an I tune account?

    Welcome to the Apple Community.
    There is no way to view a list of authorised computers. You can only tell a computer is authorised from that computer itself, from the store menu in iTunes.

  • Pop Up blocker exceptions are not saved in the browser for use, the next time the PC reboots. How do you save these exceptions for long term use?

    Pop Up blocker exceptions are not saved in the browser for use, the next time the PC reboots. How do you save these exceptions for long term use?

    In case you are using "Clear history when Firefox closes":
    *do not clear the Site Preferences
    *Tools > Options > Privacy > Firefox will: "Use custom settings for history": [X] "Clear history when Firefox closes" > Settings
    *https://support.mozilla.org/kb/remove-browsing-search-and-download-history
    Note that clearing "Site Preferences" clears all exceptions for cookies, images, pop-up windows, software installation, passwords, and other website specific data.
    If you have software like Advanced SystemCare (Surfing Protection feature) that might reset some files to older versions to protect these files against changes then check the settings or uninstall this software.

  • HT4211 how can you find out what kb are being used by what apps

    how can you find out what kb are being used by what apps there is always alot of kb being used even when I don't use my phone

    Go into settings , general, usage and it tells you what the apps use. If your refering to the memory storage of the apps.

  • How do you change the email address that was used to set up your ipod?

    How do you change the email address that was used to set up your ipod?

    Jus what do you want to accomplish? The Apple ID email address is used for variosu thing onthe iPod like:
    - For purchasing media. Srrings.iTunes and App stores. Sing out and sign into anoterh account
    - Settings>iCLoudl for iCloud account
    - Settings>FaceRome for Apple ID and where You can Be Reached At email address
    - Settings>Messages for Send And Receive email address.
    - Maybe for Game Center

Maybe you are looking for

  • ALV report run In background gives 2 spool numbers

    Hi , The ALV report which I am running in Background gives me 2 spool numbers after the Job is created in sm37. I am just executing my ALV report by running it in backgroung procressing, but I get 2 spool one has all the correct data of the ALV and 1

  • What happens to my iphone stuff stored in my icloud account when my iphone is reset or restored to factory settings?

    I've been researching how unwanted spyware can impact personal iphone usage. I understand - First iphone must've had a JailBreak happen then a spyware app downloaded, installed and activated for iphone to be compromised but no one has described how t

  • Error while starting performance analyzer

    I've tried to run the performance analyzer in a simple C project and I've got this error message: "...***Error: log dos not show target starting" Any ideas of how can I fix it? Thanks in advance Rodrigo Tripodi

  • Any hope for...

    ... Lion's (Mac OS 10.7) *native* full-screen mode in LR? or, as usual with Adobe, it will maybe come when 10.8 is out? :-p (10.7 has been released two months ago and developer builds have been available for more than *eight months*!) thanks ;-)

  • WLC 7.6.130.0 and PI 2.1 Compatability

    Hi, Does PI 2.1 (Patch 2.1.2)  supports WLC (5508) version 7.6.130.0 ? From the compatibility table here http://www.cisco.com/c/en/us/td/docs/wireless/compatibility/matrix/compatibility-matrix.html#52734 , this version is not listed. The listed versi