Weird JSTL variable appearing in my logs.

I have a JSP that uses JSTL to display a request variable. The variable does display properly - however i see this error in logs:
<Feb 6, 2009 3:08:14 PM CST> <Error> <HTTP> <BEA-101214> <Included resource or file "/uc/content/Welcome Back Jon Doe!!!" not found from requested resource "/uc/content/myhome.jsp".>
This "Welcome Back Jon Doe!!!" is the variable value in the request.
Any ideas what causes this?
I am using exclipse 3.4 running on WebLogic 9.2.
Thanks

Here is the import:
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
Here is the <div> tag that contains the JSTL.
<div id="top">
     <a href="/gen/sites/iptv?pid=8528" id="logo"></a>
     <span id="top-title"></span>
     <c:out value="${map['introduction']}" />
</div>map is the name of the HashMap stored in the HttpRequest, and 'introduction' is the key in the HashMap that contains the test "Welcome back Jon Doe!!!"
Thanks

Similar Messages

  • Updated to OS X 10.9.2 now a weird grey box appears in the upper corner.

    Weird. Updated to OS X 10.9.2 and now a weird grey box appears in the upper right corner.See here: http://d.pr/i/pp3n
    Restart does not fix. Quit finder does not fix. Thoughts anyone?
    ~chris

    Try the solution posted by melosaris here: https://discussions.apple.com/message/23475967#23475967.

  • Accessing a JSTL variable in a JSP Scriptlet (need to replace string )

    I have
    <c:set var="myVar" value="..." />
    I need to replace single quotes and double quotes to be escaped because I pass them into javascript functions and set them as ID for div sections
    ... onclick ="func('${myVar}')" ..
    <div id="${myVar}">
    but if the string contains ' single quotes it messes up the javascript or double quotes messes up the ID portion of the HTML tag
    I know there is the JSTL function fn but I can't figure out how to do it properly in JSTL
    <c:set var="myVar"
    value="${fn:replace(myVar, "'", "\"")"/>
    But that gets tricky since the value portion is enclosed in quotes
    So I was thinking of using a Scriptlet part instead.

A: Accessing a JSTL variable in a JSP Scriptlet (need to replace string )

escaping quotes within quotes within quotes.... ARGH!
Recipe for a headache if ever there was one.
However you must be strong and resist the temptations of the dark side (Scriptlet code)
My suggestion for cleaning this up - write your own static function for escaping javascript strings.
public static String escapeJavascriptString(String s){
  return .......
}Then define the function in a tld:
<function>
    <description>
      Escapes a string for javascript purposes
    </description>
    <name>escapeJavascript</name>
    <function-class>com.mypackage.ELFunctions</function-class>
    <function-signature>java.lang.String escapeJavascript(java.lang.String)</function-signature>
    <example>
      <c:out value="${myfunc:escapeJavascript(name)}">
    </example>
  </function>Cheers,
evnafets

escaping quotes within quotes within quotes.... ARGH!
Recipe for a headache if ever there was one.
However you must be strong and resist the temptations of the dark side (Scriptlet code)
My suggestion for cleaning this up - write your own static function for escaping javascript strings.
public static String escapeJavascriptString(String s){
  return .......
}Then define the function in a tld:
<function>
    <description>
      Escapes a string for javascript purposes
    </description>
    <name>escapeJavascript</name>
    <function-class>com.mypackage.ELFunctions</function-class>
    <function-signature>java.lang.String escapeJavascript(java.lang.String)</function-signature>
    <example>
      <c:out value="${myfunc:escapeJavascript(name)}">
    </example>
  </function>Cheers,
evnafets

  • Using JSTL variables in JSP or Javascript. Possible ?

    Hi All,
    Is it possible to share or use the variables which are declared are used by JSTL in JSP expression or scriplet code and in Java Script.
    Example:
    This Works:
    <fmt:set var="test" value="JSTL" />
    <fmt:out value="${test}" />
    But, this gives error:
    <% out.println(test) %>
    And passing the value of variable 'test' to Java Script code also gives error.
    How to use JSTL variables in JSP and in Javascript ?
    Yours,
    Sankar.B

    By default, JSTL variables are kept in servlet
    attributes. Default is to store it in the page
    context. You can make it request/session/application
    scope as required by an attribute of the set tag.Hi there,
    Can anyone advise how to access JSP variables in JSTL?
    Can it be done as the same method through request/session/application scope?
    Thnks...

  • Help: Weird letter 'C' appeared top of N95 Screen

    Hi,
    The stranges thing happened to me. In any other screen then the media menu. A C (Dark angainst a white background) appeared at the top of my screen. it is unclear to me why it is there and how to get rid of it. A reboot removes it but, it comes back again after a while.
    Does anyone have a suggestion?
    Regards,
    Oranki

    Hi Oranki
    I just got a n95 and bluetooth keyboard.
    I get a "C" on a white background at the top of the screen when I use the keyboards Caps lock function and a similar "N" for Num lock.
    If you use a bluetooth keyboard I suspect this is the cause of the "Weird letter 'C' appeared top of N95 Screen".
    Hope this helps.

  • A weird circle is appearing on my photos

    A weird circle is appearing on all of my photos that I take.
    It's really odd and gets annoying after a while. I've been on holiday recently and they're litterally EVERYWHERE. Same size and same spot.
    It's not the LCD and it's not the lens (from what I can see).
    http://min.us/mvbnwMN#1
    (The example album)
    It happens everywhere.. Even when it's dark!
    Should I send this back to Apple?
    I'm also having trouble with cracks above the 'silent mode rocker', there's a crack in the plastic there.

    Doubt it's the weather conditions then but it's still possible something like that could have affected it at one point so don't be suprised if they check the white tabs are still white at the bottom of the headphone jack and inside the 30-pin dock connector. They turn red due to moisture.  One other thing, it  could simply be a tiny piece of dust on the inside of the camera lens or on the sensor.  This could be really hard to spot too except in the photographs.  The main issues with the camera that I'm familiar with is a green or bluish tint in photographs which can happen under certain lighting conditions...
    You shouldn't need insurance to sort this out though, since it should be covered under the manufacturer warranty if it's less than a year old.  Plus, I have a friend who purchased an iPhone 4 from Vodafone but had problems with it and took it to the Genius bar in the local Apple Store. He had the original box and everything and they just swapped it out for another brand new phone. He had his since September last year.
    Good luck sorting it out, enjoy your holiday and let us know the outcome.

  • Weird characters sometimes appears on Japanese website

    Hello there,
    I have a macbook pro. When I go on some Japanese websites, there're full of weird characters sometimes appears. It doesn't happen everytime. How can I fix it? I appreciate your time in advance.

    bonybunny wrote:
    Here's one of example of the site http://www9.ocn.ne.jp/~zennsaku/syasinn.htm for you to see what I meant.
    In that case the author used obsolete software from the 1990's to create the site and omitted the required code to tell the browser to use Shift-JIS encoding.

  • When trying to log into my MacBook, the message 'your startup disc is full' appears, then I log in

    How can I clear space when no icons appear after I log in to my MacBook?

    What size internal drive do you have and how much of it is used?

  • SRM7 PCW SC BUS212 saved event doesnt appear in event log

    I'm coming from FI workflow background and anytime a doc is created, I get a created event in the event log.  This is how I determine why a particular workflow didnt start.  In swetypv, a custom workflow is bound to BUS2121.SAVED and the workflow starts when a new SC is created.  But when I look at the event log, no SAVED event is there.  I went back several months and I see only CHANGED and DELETED events for BUS2121.  Why would the SAVED events trigger the workflow but not appear in the log?

    The first line in the Step History tab says (Sub) workflow created.
    I looked at a couple of my FI workflows and they say start event received.  I have never paid any attention to that before.

  • Component inspectable variables appearing order / listOffset

    Hello everyone,
    I'm creating a custom Flash component, but I can't figure out how to "sort" my inspectable variables so that they appear in the component inspector panel in the order I want.
    I tried:
    [Inspectable (name="Z-name", defaultValue="", environment=Flash, listOffset=0)]
    [Inspectable (name="A-name", defaultValue="", environment=Flash, listOffset=1)]
    I always get them sorted alphabetically, so the A-name variable appears first.
    Does anyone have any idea how to change the variables order int the Flash component inspector panel?
    Thanks in advance,
    Maciej,
    Poland.

    > Component............ "NI (network interface)" 
    > Place................ "SAP-Server sapgrp_R3P_00 on host prdbpl2 (wp 0)" 
    > Version.............. 37 
    > Error code........... "-16" 
    > Error text........... "verify own hostname (sapgrp) failed" 
    > Description.......... "NiIMyAdrVerify" 
    > System call.......... " " 
    > Module............... "nixxi.cpp" 
    > Line................. 3161 
    you need to add the hostname in to the \windows\system32\drivers\etc\hosts file and restart your system.
    Markus

  • JSTL variables

    Hello All,
    Need help , I'm new to JSTL. My page works fine on my local machine.
    I uploaded it to a hosting site
    and the JSTL variables show instead of it's content.
    for example, I see on the page :
    ${cfList.ClientID} ${cfList.LName} ${cfList.Address}
    instead of the content of ClientID,LName and Address
    I have jstl.jar and standard.jar in the directory /public_html/WEB-INF/lib/
    Please Help what could be the cause for this.

    Maybe you have to ensure you are running such a container before you worry about where you put the files. You've got it back to front.

  • Assigning a JSTL variable to a ariable in scriptlet

    Hi
    how do i assign a JSTL to a variable in Scriptlet?
    Regards
    Abhinav

    You can do this:
    <% request.setAttribute("x", "hello"); %>
    <c:out value="${x}"/>or if you want to go from JSTL to scriplet you can:
    <c:set var="testvar" value="hello" scope="request"/>
    <%= request.getAttribute("testvar") %>Both of these will output "hello"
    <c:set> defaults to the page scope, so you could substitute pageContext for request and get the same results (remove scope="request" first though).
    Karl

  • How to use jstl variable in a jsp page

    Hi all,
    I am new to JSTL and i want to access the value of jstl in jsp.
    when i use the tag like below it is displaying the value ""
    <c:out value="${ack}"/>
    But as ack is string, i want to convert it into int. and i have written like
    <c:set var="ackvalue" value="${ack}"/>
    and int ack = Integer.parseInt(ackvalue);
    But it is showing error like varialbe can not be resolved: ackvalue
    can anybody please help me regarding this?
    Waiting for your warm response.
    Thanks in advance

    Hi,
    Thanks for your immediate reply.
    I am able to display the ackvalue when i am using
    <c:set var="ackvalue" value="${ack}"/>
    and <c:out value="${ackvalue}"/>
    But my actual requirement is to use the ack value in
    switch statement. if i can assign the value to a
    String variable, then it si easy for me to proceed.
    Please help me in this regard.
    Thanks,You can use the c:choose, c:when and c:otherwise tags
    <c:choose>
        <c:when test = "${ackvalue == 1}">
               //do stuff
        </c:when>
        <c:when test = "${ackvalue == 2}">
               //do some other stuff
        </c:when>   
       <c:otherwise>
              //stuff
        </c:otherwise>
    </c:choose>ram.

  • Dates appear different in log file vs. debug page for Deferred Task

    I added a deferred task and in the log file, the date appeared correctly as
    Mon Dec 15 16:34:11 PST 2008
    But when I viewed the user in the debug page, the date appeared as
    <Date>2008-12-16T00:34:11.430Z</Date>
    I called an external java class that return a Date object
    <Action id='0' application='com.waveset.session.WorkflowServices'>
    <Argument name='op' value='addDeferredTask'/>
    <Argument name='date'>
    <invoke name='addWeekDays' class='MyDateUtil'/>
    </Argument>
    </Action>
    Do you have any ideas?

    IDM commonly stores dates in a Java or JDBC date format (which is what your debug date is) but often formats the date differently for log files and for web pages. It's annoying if you're trying to line two different outputs up.

  • GDM does not appear back after logging out from Gnome.

    Hello,
    I am tryingout Archlinux for the first time. I am able to goto run level 5 and after booting I get the GDM login screen. I can log in to Gnome. But when I log out from Gnome, GDM does not appear, but I get a black screen. Then, the only way to come out is to press the reset button.
    What may be the problem?
    Thanks for your help.
    Anand

    it may depend on how ur running gdm, (possibly with -*no-daemon option) .. in which case it'd prolly werk if u removed it...
    although i'd recommend using rc.conf instead as it's a lot cleaner...
    to use /etc/rc.conf
    add gdm to the DAEMONS;
    mine = "DAEMONS=(gdm @syslog-ng @network @alsa @httpd)"
    that starts gdm(in daemon mode), then starts syslog-ng,net*,alsa and apache in the background .. save me about 6 seconds when i background em.
    then you need to change the default runlevel in /etc/inittab to 3 (not 5)

  • Maybe you are looking for

    • How to disable Ethernet Port on 2003 Airport Extreme Base Station

      I have a roommate who does not help with the cable bill. He is always plugging his computer into the ethernet port of the Airport base station (no wireless card in his computer). The Base Station sit on top of the cable box in the living where its pl

    • Load failed in production 0_fi_ar_4

      Value 'VAT special ' (hex. '56004100540020007300700065006300690061006C00 ') of characteristic 0REF_K Please help. Thanks Rita

    • NI SQL database changing name of field

      I'm connected to a NI database. I want to change the name of a field. Can I just change the database scheme, or is there something more to be done?

    • What has itunes done to my song names??

      After upgrading to the new 7.0.1, everything was working fine and so I popped in my iPod. After it was done updating, hundreds of my song names had been turned into squares, literally.. I really dont want to go through and figure out what every singl

    • Still no support for XMLType ?

      I've downloaded the latest version (1.0.0.15.57), but I still can't view or edit XML columns - they all show as SYS.XMLTYPE. Is XMLType still not fully supported ? Thanks, Andy.