Problem with % signs in key value url parameter pairs

Hi,
Tomcat 5.5.9
Java Version 1.5
I'm having a little difficulty passing a certain key value pair via a URL to the processing component of my web application.
If I submit a value for lets say parameter 'product_name' and that value starts with a % sign then the value is passed to my processing component as 'null' if I remove the % sign the value is correctly received.
Anyone come accross this on a Tomcat server?
The data has to be tagged onto the URL rather than as a form 'Post', as it is used to create and populate a popup window.
Thanks in advance.

So the % is used in URLs to mark certain escape sequences, so when you put it in you value, it thinks that the value is actually an escape sequence, and probably translates poorly on the opposite side.
You will actually need to use the escape sequence for the % sign to get it work correctly. I don't recall the actual escape value, but:
If you use JSTL to put together the URL for you, you shouldn't have a problem, the values will be escapes:
<c:url var="popupAddress" url="http://www.mydomain.com/myapp/mupage.jsp">
  <c:param name="product_name" value="%Whatever"/>
</c:url>
<script type="text/javascript">
  document.open("<c:out value="${popupAddress}"/>","Popup");
</script>

Similar Messages

  • I have a new hard drive and itunes and my computer (windows XP) no longer recognise my ipod. I also had the problem with the registry keys not being present but this has now been fixed. However i can no longer link my ipod up with itunes.

    When I first tried itunes with my new hard drive there was the problem with the registry keys but something also flagged up about needing a signed driver. Is this anything to do with why Itunes and my computer no longer recognises when my ipod is linked up? Whatever i try under 'devices' my ipod is never available to sync up. If anyone can help I would be most grateful.

    Thanks for your reply. Unfortunately this has not worked. I didn't have quicktime to begin with so I don't know if that makes a difference? After following the instructions, I get the "registry keys missing" problem appear again (which I've subsequently fixed again) and then when I connected the ipod I got the following message - 'Device driver software was not successfully installed'.
    I've tried windows update but this doesn't do anything as '...the service is not running'.
    Any suggestions?

  • Problem with the volume keys on my keyboard.

    Hey everybody,
    I have a problem with the volume keys on my keyboard. This started a couple days ago and I can't seem to figure out how to fix it. When I press the volume up or down buttons, the graphic appears on the screen as it normally would, but has no effect on the volume of the sound coming out of my speakers.  Therefore, the only way to change the volume of music or whatever I am listening to is to use the volume control within the program/website itself (itunes, youtube, etc.) Even changing the volume on the volume icon at the menu bar on top of the screen does nothing.  If anyone has an idea of how to go about solving this issue, I would greatly appreciate it. Thanks!

    First look into the Preference > Sound > Outpur whether internal Speakers are choosen.
    The only Preference to delete I can discover is com.apple.systempreferences.plist in your home Library folder. You can try to move it out to the desktop for example, not to loose all your settings. Restart and see whether the problem still persists. If you don't know how to do this here some Terminal (Applications > Utilities) commands. Enter them by copy and paste followed by <enter>
    mv ~/Library/Preferences/com.apple.systempreferences.plist ~/Desktop/
    restart
    to get it back:
    mv ~/Desktop/com.apple.systempreferences.plist  ~/Library/Preferences/
    confirm with "y" if you are asked to replace this file.
    marek

  • Problem with signing in to folio builder, indesign.

    I have created an app that I would like to publish, but I can not sign in via the folio builder. I have done this many times before, but today I only get the grey weel when I try to sign in. Im am stuck an can not publish my app. How can I get this to work?

    Hi Christophe
    Yes, I can log into the account on digitalpublishing.acrobat.com with out
    any problems.
    No, it does not work to delete the OOBE folder. I have tried that twice. I
    am rather sad about this. Don't know what to do
    2014-11-28 11:21 GMT+01:00 Christophe_Jossic <[email protected]>:
        Problem with signing in to folio builder, indesign.  created by
    Christophe_Jossic <https://forums.adobe.com/people/Christophe_Jossic> in *Digital
    Publishing Suite* - View the full discussion
    <https://forums.adobe.com/message/6968931#6968931>

  • Problem with sign in Skype.

    Hey, just have a problem with signing into my Skype account.
    When I try to sign in, its works for 10 seconds and after that signed out automatically (with message: You have been signed out). I tried to reinstall it and restart laptop, but nothing changed. Also changed password via skype official site...nothing(
    What else can I do, to make it works?
    Mac OS version 10.9.4 and skype version Version 6.19 (450).
    Thanks in advance)

    This is the Resolution for this issue:
    1. End all the Skype process from Task manager
    2. Delete the Skype folder from %appdata% and %temp%
    3. Go to Program Data> Run> type C:\programData
    4. Delete the Skype folder from Program Data.         
    5. Re-launch skype and try again.
    If one of my replies has adequately addressed your issue, please click on the “Accept as Solution” button. If you found a post useful then please "Give Kudos" at the bottom of my post, so that this information can benefit others.

  • Hi my name Abukar I had an old apple ID and I had problem with signing it so I decided to make a new apple ID with a new email address, so how can I link with two apple IDs and how can I get back all my previous apps that I purchased before, I cloud stuff

    Hi my name Abukar I had an old apple ID and I had problem with signing it so I decided to make a new apple ID with a new email address, so how can I link with two apple IDs and how can I get back all my previous apps that I purchased before, I cloud stuff

    It is not possible to do that.
    Allan

  • Stacked 100% bar chart - Problem with datatips for zero value data points

    I have a stacked 100% bar chart that shows datatips in Flex 4.   However, I don't want it to show datatips for
    data points with zero values.   Flex 4 shows the datatip for a zero value data point on the left side of a bar if the data point is not the first in the series.
    Here's the code that illustrates this problem.    Of particular concern is the July bar.    Because of the zero value data point problem, it's not possible to see the datatip for "aaa".
    Any ideas on how we can hide/remove the datatips for zero value data points ?        Thanks.
    <?xml version="1.0"?>
    <s:Application
    xmlns:fx="
    http://ns.adobe.com/mxml/2009"xmlns:mx="
    library://ns.adobe.com/flex/mx"xmlns:s="
    library://ns.adobe.com/flex/spark"creationComplete="initApp()"
    height="
    1050" width="600">
    <s:layout>
    <s:VerticalLayout/>
    </s:layout>
    <fx:Script><![CDATA[ 
    import mx.collections.ArrayCollection;[
    Bindable] 
    private var yearlyData:ArrayCollection = new ArrayCollection([{month:
    "Aug", a:1, b:10, c:1, d:10, e:0},{month:
    "July", a:1, b:10, c:10, d:10, e:0},{month:
    "June", a:10, b:10, c:10, d:10, e:0},{month:
    "May", a:10, b:10, c:10, d:0, e:10},{month:
    "April", a:10, b:10, c:0, d:10, e:10},{month:
    "March", a:10, b:0, c:10, d:10, e:10},{month:
    "February", a:0, b:10, c:10, d:10, e:10},{month:
    "January", a:10, b:10, c:10, d:10, e:10}]);
    private function initApp():void {}
    ]]>
    </fx:Script>
    <s:Panel title="Stacked Bar Chart - Problems with DataTips for Zero Value Items" id="panel1">
    <s:layout>
    <s:HorizontalLayout/>
    </s:layout>
    <mx:BarChart id="myChart" type="stacked"dataProvider="
    {yearlyData}" showDataTips="true">
    <mx:verticalAxis>
     <mx:CategoryAxis categoryField="month"/>
     </mx:verticalAxis>
     <mx:series>
     <mx:BarSeries
    xField="a"displayName="
    aaa"/>
     <mx:BarSeries
    xField="b"displayName="
    bbb"/>
     <mx:BarSeries
    xField="c"displayName="
    ccc"/>
     <mx:BarSeries
    xField="d"displayName="
    ddd"/>
     <mx:BarSeries
    xField="e"displayName="
    eee"/>
     </mx:series>
     </mx:BarChart>
     <mx:Legend dataProvider="{myChart}"/>
     </s:Panel>
     <s:RichText width="700">
     <s:br></s:br>
     <s:p fontWeight="bold">The problem:</s:p>
     <s:p>Datatips for zero value data points appear on left side of bar (if data point is not the first point in series).</s:p>
     <s:br></s:br>
     <s:p fontWeight="bold">For example:</s:p>
     <s:p>1) For "June", eee = 0, mouse over the left side of the bar to see a datatip for "eee". Not good.</s:p>
     <s:br></s:br>
     <s:p>2) For "July", eee = 0 and aaa = 1, can't see the datatip for "aaa", instead "eee" shows. Real bad.</s:p>
     <s:br></s:br>
     <s:p>3) For "Feb", aaa = 0, datatip for "aaa" (first point) does not show. This is good.</s:p>
     <s:br></s:br>
     <s:p>4) For "Mar", bbb = 0, datatip for "bbb" shows on the left side of the bar. Not good.</s:p>
     <s:br></s:br>
     <s:p fontWeight="bold">Challenge:</s:p>
     <s:p>How can we hide/remove datatips for zero value data points?</s:p>
     <s:br></s:br>
     </s:RichText></s:Application>

    FYI.
    Still have the issue after upgrading to the latest Flex Builder 4.0.1 with SDK 4.1.0 build 16076.   
    Posted this as a bug in the Adobe Flex Bug and Issue Management system.     JIRA
    http://bugs.adobe.com/jira/browse/FLEXDMV-2478
    Which is a clone of a similar issue with Flex 3 ...
    http://bugs.adobe.com/jira/browse/FLEXDMV-1984

  • Problems with Signed jar

    I am having a problem with signed jar and deploy in html
    get this error on the page
    self signed
    /dist/testfx.html
    JavaFX application could not launch due to system configuration. See java.com/javafx for troubleshooting information.Unsigned jar works perfectly but has security and permission issues when using classes.
    This was working in beta 45

    Can you post an example project that demonstrates the problem? There were changes to the ant tasks and netbeans support around B45 that could cause problems depending on which version of the SDK and NetBeans you have. Similarly, if you wrote ant scripts prior to B44 and then use them with a later build you could have problems. And of course, if you're producing the Jar file and deployment artifacts without using the provided ant tasks (for example, using the normal ant jar task) you'll have problems.
    I've verified that this works as expected in the FX 2.0 GA release using ant from the command line, and with the NetBeans 7.1 beta release using the FX 2.0 GA release.

  • Problem with Sting Primary Key

    I have probleme with Sting Primary Key
    when i create new row
    System.out.println("is new:" + acct.getEntityState());
    show 1 - this row is not new
    why?

    Hi,
    I was unable to reproduce this behavior on OWM 10.1.0.8. It appears that you have a SR open for this issue, so I would suggest to continue with that process.
    Regards,
    Ben

  • Problem with push email key and adding mailbox

    There seems to be a strange problem with the email key. I added my gmail account initially but then i deleted it. I don't see any mailbox in the email setup, but i still receive notification on recieving a new email. But when I press the push email key on the home screen to open my inbox, it takes me to the email setup. I tried adding a mailbox, but when i select "add mailbox" the screen becomes whitish and nothing happens.
    I need to add my gmail account again. Please help me with this. Thanks!

    1. Predictive text can only be enabled in alphanumeric keypad, but from testing the QuickOffice 6 on the 5800 (same app used for both phones), It cannot use predictive text. Its not in the typing options. Furthermore, if you would be using the qwerty keyboard on the mini, predictive text AFAIK cannot be used.
    2. If using "vodaphone live" is giving an error in ALL applications, then it is not the fault of your phone but of the "vodaphone live" settings not being compatible to your phone. I assumed that it was only for email that it did not work. A similar case was one on T-mobile, wherein the T-mobile GPRS settings were incorrect which leads to the same issue as you do. The fix was to configure GPRS settings manually. You can also take it to vodaphone for them to configure it themselves.
    3. As I said, unless we find out what is different from the files that can play and cannot I cannot help you. Its not like I can check the files themselves. You can try attaching two each of the working files and non working files here for some of us to test on our phones.
    If you find my post helpful please click the green star on the left under the avatar. Thanks.

  • Keyboard problem with T410 - Control Key

    I have a problem with the control keys on the keyboard of T410.
    I swapped my X200 keyboard over to T410 to check if it is software or hardware issues.  With the X200 keyboard, the 'Ctrl' key is not working.  With the T410 keyboard, 'e', 'd', 'c' and 'Ctrl' keys are not working.

    Welcome to the forum!
    I believe that X200 and T410 keyboards are mapped differently in BIOS.
    Can you find another T410/T510 keyboard to test with?
    Cheers,
    George
    In daily use: R60F, R500F, T61, T410
    Collecting dust: T60
    Enjoying retirement: A31p, T42p,
    Non-ThinkPads: Panasonic CF-31 & CF-52, HP 8760W
    Starting Thursday, 08/14/2014 I'll be away from the forums until further notice. Please do NOT send private messages since I won't be able to read them. Thank you.

  • Bug: problems with the Escape key

    Hi all,
    In an attempt to get around real estate problems, I set my Dell 24" monitor in portrait mode. Logic 8 behaves as it should most of the time. However, there appears to be a problem with the Escape key. Most of the time, the Tools menu doesn't appear until you mouse out of the editing areas (eg into the menu area above the piano roll).
    Clearly, Logic should just take its resolution and screen dimensions from the OS but there appears to be a problem in extreme portrait mode.
    I'll report this but wanted to check that I'm not being an absolute and total plonker first. Anybody confirm this behaviour?
    Thanks!
    Pete

    that sounds like a memory issue. have you tried reorganizing memory?

  • Keyboard problems with the "z" key

    Hello everyone, I have problems with my "z" key.Recently, it is sufficent to touch the key without pressing to write the z.Unfortunately that happens also when I want to use the "t" or "u" next to it. I hope you can help me with this problem and can tell me what to do.Thanks in advance for your answers (and sorry for my bad english). greetings, bina90

    Try to reset the device by pressing hold of the home and power button for 15-20 seconds and letting of when the Apple logo appears.

  • Problem with Crystal Reports not displaying all parameter values

    Hello,
    A co-worker of mine is developing a report in Crystal version 11.5.8.826.  One of the requirements from his user is that they would like to select from a list of users for applicable criteria to appear in the report.  He created a parameter with a dynamic list of values, entered prompt group text, selected "existing" as the data source (and chose the corresponding field from the table).  This dropped the UserID field into the "value" field in the table and linked the table to the parameter.  We selected "allow multiple values" as "true" and "allow discrete values" as "true". 
    Here is the problem.  When Crystal prompts us to select the parameters, it doesn't show all of the applicable list of users (it shows 8 out of 12 users).  When we run the query in a standalone sql generating tool (Toad or Golden), we see the full list of users.  Crystal Reports appears to be filtering the selection list of users for some unknown reason.  We have tried changing most every option that we could find within the parameter, but no luck. 
    The problem definitely appears to lie within the parameter- if we run the report without the parameter, we see the full list of users.  Once we add the parameter and attempt to select one or many users, the problem appears.
    Any thoughts?  What am I missing?  Any help is appreciated.
    thanks,
    Noel

    I'll answer my own question in case somebody is curious or happens to find this message via google or another search engine.  See this link.  You need to set your upper threshold within your Registry Editor.
    http://www.crystalreportsbook.com/Forum/forum_posts.asp?TID=8029

  • Problem with Pop up key list of values

    I have been looking at a problem with key popup list of values. I have some sql in a report region :
    select <columns>,"HTMLDB_ITEM.POPUPKEY_FROM_QUERY (47,resource_id,'select last_name,resource_id from rm_resource',30) "resource" ,
    <other columns> from
    <table name>
    now, when I select the value from the pop up it gets returned to the wrong row. Everything appears to be one row out of sync, so selecting an item for row 3 gets returned to row 2. Row 10 returns to row 9 etc.
    Looking at the code that is generated it appears to have messed up the sequences - I end up with two "genList0_f48_0" functions being generated.
    Any ideas why this happens?

    http://htmldb.oracle.com/pls/otn/f?p=37683:39
    On the page there are four records. selecting an Item from pop up in the last row gets placed in the row above.
    If you look at the javascript that gets run on the first two lines they both have the code "javascript:genList0_f21_0()" the third line has
    "javascript:genList0_f21_1()" when it should be "javascript:genList0_f21_2()"
    Hope this makes sense.

Maybe you are looking for

  • Changing proposed delivery date in sales order for one specific sales org

    Hi All, I want to change proposed delivery date in sales order automatically for one specific sales org only without changing lead time in VOV8. For that can I use MV45AFZZ. But it is asking access key to make changes. Is there any other user exit fo

  • Change content-disposition in email attachment

    I am using apex_mail (in Apex 4.1) to send emails with an attachment. v_mail_id := apex_mail.send(          p_to  => '[email protected]'          ...etc... apex_mail.add_attachment( p_mail_id    => v_mail_id                          ,p_attachment =>

  • BI7.0_WAD3.X - Pie Chart- Always shows 2 decimal point

    Hi, <u>Info:</u> <u> BI 7.0, Stack 10, FE 1100, WAD 3.X</u> <u><b>Problem 1: (Pie Chart) :</b></u> : a. I am unable to  make the Pie chart show percentage in one decimal point. (EG:  56.3%). b. The Pie chart does not have the selection to show both v

  • Problem with alv filter

    Hi all, I have a problem when i filter ALV column, which has data type  BELNR (FI doc No). I input in filter FI doc: 40000007 (8 char long, w/o zero ahead), then i get the empty result. The really one i want to get is a ALV line with FI doc = '400000

  • Lost my bookmarks when I updated, this is a real pain

    Lost all my bookmarks when I updated foxfire as you requested, this is creating a real problem.