Code display

          Hi,
          I am having a problem while displaying a .jsp file in the browser.
          when i am adding %00 at the end of the URL that includes jsp file,
          my entire source code is getting displayed.
          It is running fine with ordinary url,
          http://www.mydomain.com/mycontent.jsp
          when I enter URL like the one shown below
          http://www.mydomain.com/mycontent.jsp%00
          The full source code of the the my content.jsp is getting disclosed
          in the browser. Is there any work around for not showing the source
          code . Thanks in advance.
          srinivas
          

This is fixed in 510 SP9 (will be out in 2 weeks).
          If this is a show-stopper contact [email protected] and reference CR040314
          Kumar
          Srinivas wrote:
          > Hi,
          > I am having a problem while displaying a .jsp file in the browser.
          > when i am adding %00 at the end of the URL that includes jsp file,
          > my entire source code is getting displayed.
          > It is running fine with ordinary url,
          > http://www.mydomain.com/mycontent.jsp
          >
          > when I enter URL like the one shown below
          > http://www.mydomain.com/mycontent.jsp%00
          >
          > The full source code of the the my content.jsp is getting disclosed
          > in the browser. Is there any work around for not showing the source
          > code . Thanks in advance.
          >
          > srinivas
          

Similar Messages

  • HTML code displays on one line in browser view source

    Hi,
    In Dreamweaver, my HTML code displays returns, spaces, etc. However, in the view source option in a browser (Firefox in particular), all the code is displayed on one single line. I only found about this because I was having problems with my Google Ads not displaying. (A Google customer service person helped me to find a workaround for this since I still haven't figured how to get my code to display correctly.) So I have gone to Preferences in DW and changed my Code Format Line Break type. The result is the same with each of the three options: the code is all on one line when you check it under view source in a browser. (The server is Linux.)
    Does anyone know how to fix this? Also, I think I know how this happened in the first place. I copied my code to TextEdit for a quick backup the other day, and then I pasted it back to DW. Bad idea? Is the only way to get the code back to normal to re-write it in a new HTML file in DW?

    Pssh. Problem solved, but I'm not quite sure how. I did go back and try to clean up some redundant CSS and other things, but the HTML/CSS validator still shows that I have this one invalid <header> tag (www.nextmontenegro.com), but since that was written as part of the DW template, I just left it. Weird. Anyway, the code flows down the page now.
    Thanks for the quick replies and helpful hints:-)

  • HTML-Code displayed instead of value

    To color cells of a report column I entered some code code in "HTML Expression" of a column.
    e.g. the cell INT_DATE should be green if the value of INT_FA is "A", and if it is not "A",
    then - depending on the value of INT_DATE and TAGDAT - the
    cell value INT_DATE should be red or black. This works fine:
    <script language="javascript">
    if ( '#INT_FA#' == 'A' )
    document.writeln('<font color=#33CC33>#INT_DATE#</font>')
    else
    if ( '#INT_DATE#' > '#TAGDAT#' )
    { document.writeln('<font color=#FF0000>#INT_DATE#</font>') }
    else
    { document.writeln('<font color=#000000>#INT_DATE#</font>') }
    </script>
    But for another column INT_FA the similar code produces code display in the tabular cell !!!
    The code is:
    <script language="javascript">
    if ( '#INT_FA#' == 'A' )
    document.writeln('<font color=#33CC33>#INT_FA#</font>')
    else
    if ( '#INT_DATE#' > '#TAGDAT#' )
    { document.writeln('<font color=#FF0000>#INT_FA#</font>') }
    else
    { document.writeln('<font color=#000000>#INT_FA#</font>') }
    </script>
    Any idea why ?
    Heinz

    To color cells of a report column I entered some code code in "HTML Expression" of a column.
    e.g. the cell INT_DATE should be green if the value of INT_FA is "A", and if it is not "A",
    then - depending on the value of INT_DATE and TAGDAT - the
    cell value INT_DATE should be red or black. This works fine (everywhere you see "fon" replace it by "font" !!!)
    <script language="javascript">
    if ( '#INT_FA#' == 'A' )
    document.writeln('<fon color=#33CC33>#INT_DATE#</fon>')
    else
    if ( '#INT_DATE#' > '#TAGDAT#' )
    { document.writeln('<fon color=#FF0000>#INT_DATE#</fon>') }
    else
    { document.writeln('<fon color=#000000>#INT_DATE#</fon>') }
    </script>
    But for another column INT_FA the similar code produces code display in the tabular cell !!!
    The code is:
    <script language="javascript">
    if ( '#INT_FA#' == 'A' )
    document.writeln('<fon color=#33CC33>#INT_FA#</fon>')
    else
    if ( '#INT_DATE#' > '#TAGDAT#' )
    { document.writeln('<fon color=#FF0000>#INT_FA#</fon>') }
    else
    { document.writeln('<fon color=#000000>#INT_FA#</fon>') }
    </script>
    Any idea why ?
    Heinz

  • HTML code displayed in browser

    when viewing the jsp pages from remote network, we are having a problem. The page ends abruptly and the html tags like <td width="30" > are displayed on the browser. the content of the page also ends at the point of html code display. the server console shows no error. Not sure if it is some network or server issue. Please help.

    posting & quot(no space between & and quot) its getting replaced by " so everywhere there is a space between & and <quot/lt/gt/amp) strip that while using.
    HTML reserved characters are & quot; & amp; & lt; & gt; for ", &, <, > respectively.
    while writing such characters, do not directly put < , > &, " use the chars shown above.
    for help here is the utility method that will put the desired chars:
         public static String escapeHTML(String value)
            if (value == null) return "";
            StringBuffer strval = new StringBuffer();
            for (int i = 0; i < value.length(); i++)
                  char ch = value.charAt(i);
                  switch (ch)
                       case '"': strval.append("& quot;"); break;
                       case '&': strval.append("& amp;"); break;
                       case '<': strval.append("& lt;"); break;
                       case '>': strval.append("& gt;"); break;
                       default:
                            if (ch > 126)
                                 strval.append("&#" + String.valueOf(ch) + ";");
                            else
                                 strval.append(ch);
                            break;
             return strval.toString();
         }

  • WebForm currency code display issue

    User is still be able to see the currency code displaying on his form after un checking 'display multiple currencies' option in form options. This option was checked before.... I am not seeing the code, but the user can...I verified if there is any user specific preference setting... but can't find anything...
    Any advise on what could be the reason for this... We are on 9.3.x
    Thanks...

    Sometimes this can happen when you have Dynamic Calc Member on the form and that Dynamic Calc formula on that member hasn't got "HSP_InputValue" specified in the formula. i.e its running the calc for all rates in the HSP_Rates dimension
    Thanks
    Anthony

  • Change the XP revision code displayed using winver

    Hi
    I need be able to display/change the XP revision code displayed when running 'winver.exe' under Embedded 2009 Standard. Does anyone know which component/setting I can use to change the revision code (or part of it) to my own version number?
    I have no control over the program that will run on the system, so I need a way of having a revision code that can be displayed to a standard user using standard windows mechanisms, either computer properties or 'winver.exe'
    Many thanks
    Steve W

    You can create an C:\WINDOWS\system32\OEMINFO.INI file, this information will be shown in the "System" control panel the file may look like this:
    [General]
    Manufacturer = Your company name
    Model = MyDevice 1000, SW V1.00
    SupportURL = http://www.yoursite.com
    [OEMSpecific]
    OEM1=Your company name
    I don't think that there is a (official, of course) way to change the versions shown in winver.exe.

  • Ascii to '\' code display

    Hi!
    just spent a day and a half to write a program that converts text in '\' code display to understandable text...but realised that I will receive my data in ascii instead. Is there a quick and easy way to convert between these two?
    Attachments:
    TextConverter1.jpg ‏273 KB
    TextConverter2.jpg ‏265 KB

    Hi!
    Sorry but I can't make it work any way, I think that the problem is that I've got the string by email, I then copy pasted it into a normal display in LabVIEW, it then looked like '\' code display. But when I vahe the same data in ascii and changes the display like you told me to, it doesent work. So Im not realy sure what cinde of data have, I will include my vi's, they are a bit messy so i doubt thet they will help you..
    Attachments:
    KeyBoard.vi ‏57 KB
    TextConverter.vi ‏22 KB

  • Hi... some code displays when i open a web page... i copied the info... can i submit and ask what is happening?

    150129... this has been displaying often when i open a webpage in firefox... i have to close the page & reopen it to get it to display without this... whats going on??
    In address bar: https://sc1.checkpoint.com/dev/abine/scripts/inject.js
    Displayed:
    (function () {
    // tell toolbar that inject was successful
    dntPageEvents("hello");
    // return if already injected
    if (window.dntToolbarClicked) return;
    function sendPageEvent(action, params, callback) {
    var documentElement = document.documentElement;
    var element = document.createElement("DNTPDataElement");
    element.setAttribute("action", action);
    if (params) {
    element.setAttribute("param", "[\"" + params + "\"]");
    element.style.display = 'none';
    documentElement.appendChild(element);
    var fn = function () {
    if (callback)
    callback(element.innerHTML);
    element.parentNode.removeChild(element);
    if (!document.addEventListener) { // IE8
    documentElement.DNTPPageEventResponse = 0;
    var listener = function(event){
    if (event.propertyName === 'DNTPPageEventResponse') {
    documentElement.detachEvent('onpropertychange', listener);
    setTimeout(fn, 0);
    documentElement.attachEvent('onpropertychange', listener);
    var triggerEvent = function (retry) {
    var triggerElement = document.getElementById('DNTPPageEvent');
    if (!triggerElement) {
    if (retry < 40)
    setTimeout(function(){triggerEvent(retry+1)}, 50);
    return;
    triggerElement.setAttribute('element', element);
    triggerElement.click();
    triggerEvent(0);
    } else {
    if (document.all) { // IE9
    element.onclick = fn;
    var evt = document.createEvent("CustomEvent");
    evt.initCustomEvent("DNTPPageEvent", true, true, null);
    } else { // all other browsers
    element.addEventListener('click', fn, true);
    var evt = document.createEvent("Events");
    evt.initEvent("DNTPPageEvent", true, false);
    setTimeout(function () {
    element.dispatchEvent(evt);
    }, 50);
    function iconChange(e) {
    e = e || event;
    var target = e.target || e.srcElement;
    var data = target.innerHTML;
    var timer = setInterval(function () {
    try {
    if (typeof dntPageEvents == "function") {
    clearInterval(timer);
    dntPageEvents(data);
    }catch (e) { }
    }, 50);
    var listener = document.createElement('div');
    listener.setAttribute('id', 'zaIconChangeListener');
    listener.setAttribute('dntpIgnore', 'true');
    listener.style.display = 'none';
    document.documentElement.appendChild(listener);
    if (listener.addEventListener)
    listener.addEventListener('click', iconChange, true);
    else if (listener.attachEvent)
    listener.attachEvent('onclick', iconChange);
    window.dntToolbarClicked = function (pos) {
    sendPageEvent('toolbarClicked', pos);
    sendPageEvent('refreshIcon');
    window.dntUpdateIcon = function () {
    sendPageEvent('refreshIcon');
    sendPageEvent('refreshIcon');
    })();

    ''james_s [[#question-1044118|said]]''
    <blockquote>
    150129... this has been displaying often when i open a webpage in firefox... i have to close the page & reopen it to get it to display without this... whats going on??
    In address bar: https://sc1.checkpoint.com/dev/abine/scripts/inject.js
    Displayed:
    (function () {
    // tell toolbar that inject was successful
    dntPageEvents("hello");
    // return if already injected
    if (window.dntToolbarClicked) return;
    function sendPageEvent(action, params, callback) {
    var documentElement = document.documentElement;
    var element = document.createElement("DNTPDataElement");
    element.setAttribute("action", action);
    if (params) {
    element.setAttribute("param", "[\"" + params + "\"]");
    element.style.display = 'none';
    documentElement.appendChild(element);
    var fn = function () {
    if (callback)
    callback(element.innerHTML);
    element.parentNode.removeChild(element);
    if (!document.addEventListener) { // IE8
    documentElement.DNTPPageEventResponse = 0;
    var listener = function(event){
    if (event.propertyName === 'DNTPPageEventResponse') {
    documentElement.detachEvent('onpropertychange', listener);
    setTimeout(fn, 0);
    documentElement.attachEvent('onpropertychange', listener);
    var triggerEvent = function (retry) {
    var triggerElement = document.getElementById('DNTPPageEvent');
    if (!triggerElement) {
    if (retry < 40)
    setTimeout(function(){triggerEvent(retry+1)}, 50);
    return;
    triggerElement.setAttribute('element', element);
    triggerElement.click();
    triggerEvent(0);
    } else {
    if (document.all) { // IE9
    element.onclick = fn;
    var evt = document.createEvent("CustomEvent");
    evt.initCustomEvent("DNTPPageEvent", true, true, null);
    } else { // all other browsers
    element.addEventListener('click', fn, true);
    var evt = document.createEvent("Events");
    evt.initEvent("DNTPPageEvent", true, false);
    setTimeout(function () {
    element.dispatchEvent(evt);
    }, 50);
    function iconChange(e) {
    e = e || event;
    var target = e.target || e.srcElement;
    var data = target.innerHTML;
    var timer = setInterval(function () {
    try {
    if (typeof dntPageEvents == "function") {
    clearInterval(timer);
    dntPageEvents(data);
    }catch (e) { }
    }, 50);
    var listener = document.createElement('div');
    listener.setAttribute('id', 'zaIconChangeListener');
    listener.setAttribute('dntpIgnore', 'true');
    listener.style.display = 'none';
    document.documentElement.appendChild(listener);
    if (listener.addEventListener)
    listener.addEventListener('click', iconChange, true);
    else if (listener.attachEvent)
    listener.attachEvent('onclick', iconChange);
    window.dntToolbarClicked = function (pos) {
    sendPageEvent('toolbarClicked', pos);
    sendPageEvent('refreshIcon');
    window.dntUpdateIcon = function () {
    sendPageEvent('refreshIcon');
    sendPageEvent('refreshIcon');
    </blockquote>
    REPLY TO ANSWERS:
    yes, i use blur and a couple of other security and ad blocker add-ons.
    actually, just now, it was the "firefox help" screen that always displays the code.
    based on info provided by cor-el, i started disabling add-ons... I use zonealarm firewall and antivirus which installs its own toolbar... when i disabled blur & other add-ons in turn, the problem continued... when i disabled the zonealarm toolbar, the problem stopped.
    so im going to surmise that its the zonealarm toolbar causing the problem... ill uninstall it
    great product in firefox... been using it for years... like everything about it... and now the support too!
    thank you for the help.... cheers!!

  • If my code displays a recordset, how can I limit the number of results to display?

    I have the code below:
    <div id="content">
        <table width="998" border="0" cellspacing="4" id="stuff">
            <?php do { ?>
              <tr>
                <td><?php echo $row_Recordset1['name']; ?></td>
    </tr>
    <?php } while ($row_Recordset1 = mysql_fetch_assoc($Recordset1)); ?>
    </table>
          <div id="spryTable" spry:region="ds1">
            <table align="center">
              <tr>
                <th spry:sort="name"> </th>
              </tr>
              <tr spry:repeat="ds1" spry:setrow="ds1" spry:hover="hover" spry:select="selected">
               <td height="40" align="center">{name}</td>
               <td height="40" align="center">{name}</td>
              </tr>
              </table>
          </div>
    At the moment the green line prints the names in one column of a table, and the orange line prints the same list again.
    The problem is, I want half the names to be printed in one column and the other half of names to be displayed in the other column.
    Can someone show me how to set the php code to do this? I've been trying various things for a while now without success.
    Thank you.

    I am assuming that you have created a SpryHTMLDataSet from the table produced from the PHP-code.
    To display the result in two columns, use CSS as follows
    <!DOCTYPE HTML>
    <html xmlns:spry="http://ns.adobe.com/spry">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>Untitled Document</title>
    <script src="SpryAssets/xpath.js" type="text/javascript"></script>
    <script src="SpryAssets/SpryData.js" type="text/javascript"></script>
    <script type="text/javascript">
    var ds1 = new Spry.Data.XMLDataSet("employees.xml", "employees/employee");
    </script>
    <style>
    .RowContainer {
        width: 400px;
    .RowColumn {
        width: 50%;
        float: left;
    </style>
    </head>
    <body>
    <div spry:region="ds1">
      <div spry:repeat="ds1" class="RowContainer">
        <div class="RowColumn">{firstname} {lastname}</div>
      </div>
    </div>
    </body>
    </html>
    In the example above I have use a SpryXMLDataSet but the principle remains the same. The used XML file is as follows
    <?xml version="1.0" encoding="iso-8859-1"?>
    <employees>
        <employee id="123456">
            <lastname>Smith</lastname>
            <firstname>Edward</firstname>
            <joinDate>2009-10-01</joinDate>
        </employee>
        <employee id="127937">
            <lastname>Johnson</lastname>
            <firstname>Neil</firstname>
            <joinDate>2011-03-06</joinDate>
        </employee>
        <employee id="126474">
            <lastname>Williams</lastname>
            <firstname>Steve</firstname>
            <joinDate>2011-03-20</joinDate>
        </employee>
        <employee id="120585">
            <lastname>Jones</lastname>
            <firstname>John</firstname>
            <joinDate>2010-12-13</joinDate>
        </employee>
        <employee id="127493">
            <lastname>Brown</lastname>
            <firstname>Joe</firstname>
            <joinDate>2011-01-01</joinDate>
        </employee>
    </employees>
    Gramps

  • Time Code displayed on an External Monitor? Is this possible?

    I'm sure this is a dumb question, but is there a way to view your FC time code on your footage through your external monitor? I selected the show time code overlays from the viewer but it only shows up on the monitor on the computer screen and then goes a way when you play a clip. Is there something I’m missing that will allow me to watch the time code on playback, and on an external monitor? Thanks.

    BIG TIME...by Digital Heaven:
    http://www.digital-heaven.co.uk/bigtime/
    This will allow you to have TC display on one of your computer monitors. You cannot have it display on an external monitor...not on any NLE I know of. Not unless you are outputting to a deck and you have TC on the deck (the SUPER out on the back) routed to the monitor.
    Shane

  • Open items of all company codes displaying in vendor or customer payment

    Hi
    I am doing the open item posting for vendors with F-53, But it is showing all the open items of the Extended  vendor in the other company codes. I want to only display one company code open items.
    Please suggest me how to remove that option.
    I am now using the selection criteria for that.
    Thanks

    Hi Vikram,
    For your requirement i am giving the solution as below.
    In F-53 select process open item button, once you filled the fields
    then all line item will appear.There you should select overview button there,then select choose process open item button. now you can give the company code in that screen which one you want.
    next select process open items
    May be this information is useful to you
    Regards
    Surya

  • Incoming calls: Country code displaying wrong

    No idea why this has started happening.  I have two iPhones, one a Malaysia number and one a Thailand number.
    I am in Malaysia now and had two friends of mine call me from Thailand yesterday but despite their numbers being in my phone book, correctly formatted, the phone did not display their names.  Not only did it not display their names it replaced the correct dialling code for Thailand (+66) with the Malaysia code (+60).  Having done some digging the only thing that it seems might be responsible is the International Dial Assist, which I have now turned off.  But I'd have thought IDA would be to assist with dialling, not screwing up the numbers of incoming calls from callers whose numbers are CORRECTLY listed in the Contacts with the CORRECT international code.
    Seems like yet another useless feature that you have to dig around to disable if you want an iPhone to just work.  Why on earth would I would the international code of my contact replaced by the domestic code of my home country???  More and more time I seem to be spending with IOS devices these days just to get them to do what I want!!
    Not impressed at all.  Anyone else come across this useless bug (feature)?

    Caller ID is a carrier feature. The phone can only display what is sent by your carrier. Contact them and report the problem.

  • In PLDs,How do u get Bank Name from Bank code displayed in Payment means

    Hello Experts
    Have an issues with getting bank name which is displayed in the payment means when designing an PLD and viewed in print previews
    i tried but i got the code of the bank name but iam not able to get the bank name
    please help me out in this
    will be waiting for ur reply
    With Regards
    Shankar
    Edited by: Shanker Thodupunoori on Apr 21, 2009 10:23 AM
    Edited by: Shanker Thodupunoori on Apr 21, 2009 10:31 AM

    hi,
    Create database field frm table ODSC - column type - Bank Name,Relate To Bank Code field.
    Jeyakanthan

  • FBL3N: reason code display

    Hi guys
    I'd like to add reason code to the selection screen of FBL3N.
    But it isn't displayed in the list available. While it is in the list available of FBL1N.
    How can I make it selectable on screen FBL3N?
    Should I config something in O7F8? how to do it?
    Thanks

    For some reason I can't display the link.
    I follow the steps in another thread:Add username field to dynamic selection in FBL1N
    1. Executed Transaction SE36
    2. Selected logical database KDF (for FBL1N)
    3. Then Menu -> Extras -> selection views
    4. Selected origins of the view SAP.
    5. Then i selected Table of BKPF, Table fields of USNAM and functional group as 03.
    6. Then saved the changes.
    and make the same changes as you gave me. But still doesn't work.
    In that thread, they finally mentioned notes 310886,1171560 which I don't have ID to logon......
    Please help me.

  • Reason code display FBL3N

    Dear Experts,
    We are updating reason codes while posting FI documents, but reason code details are not displaying in FBL3N transaction, we changed the layout but still reason code details are not appearing. Please let me know how get these details in FBL3N transaction code.
    Other wise any alternative transaction is available to display these details for each document?
    Regards
    Babu.

    Hello,
    You should add standard fields to FBL*N report with using customizing step below.
    SPRO -> Financial Accounting (New) -> General Ledger Accounting (New) -> Master Data -> G/L Accounts -> Line Items -> Define Special Fields for Line Item Display
    Otherwise, you can add additional fields with using business transaction event 00001650.
    But if you want to activate addition operation, you must run RFPOSXEXTEND program via SE38 transaction. This program generate structure for FBL*N reports.
    Regards,
    Burak

  • Project Code Display

    HI,
    In Purchase Requisition & PO we are able to get only the network of the project in Account assignment tab. The client wants to display the Project code in Header in PR & PO. Can this be done.
    Thanks,
    Karthik.T.V

    HI ,
    The new Field can be Configured in the T code in the Se80.
    Search by Program --SAPLMEGUI
    Screen Number--1225/ 1229
    in the T code at the screen Layout option,Just Pick up one feild in Communication tab (1225) linke our ref or your ref,or in the additional tab collective NUmber(1229) and Map in such a way that the Project Definition defined in PROJ-PSPID ,values POP up in this Feild.
    If you are not acceptable with these fields
    Just create a new in the same and define its values..
    Regards
    Anjanna.

Maybe you are looking for