Using escape characters(\n,\t and etc) in JSP

Hi,
I need to format a jsp UI with out using any html code or CSS.
My end clients are having text based email utilities which does not support html or CSS. So I am generating a email template based on JSP by using session data for dynamic values.
Even though I am using escape char in the jsp it is not printing in new line. All information coming as a string in one shot with out formatting.
Code:
<%
footerContent.append("\r\nYou can visit the Store at");
footerContent.append(Global.getString("Store.Common.NewStoreURL"));
footerContent.append("If you have questions please email us at:"+Store.getContactInfo(GlobalConstants.EMAILADDDRESS)+"\r");
footerContent.append("or phone at "+Store.getContactInfo(GlobalConstants.PHONE));
%>
<%=footerContent.toString()%>

Tried using with given code still its showing like below. Also I want to use "tab" for cart items display.
Code fragment:
<%@ page contentType="text/plain; charset=UTF-8" language="java"%>
some initialization code
<%="***********************************************************"%>
<%
StringWriter footer = new StringWriter();
PrintWriter pw = new PrintWriter(footer);
pw.println();
pw.print("You can visit the Store at " +store.getURL());
pw.println("If you have questions please email us at:"+store.getContactInfo());
pw.println("or phone Order Administration at "+store.getContactInfo());
pw.print("Monday through Friday"+store.getOfficeHours());
pw.println("Thank you for visiting"+Global.getStoreString());
String result = footer.getBuffer().toString();
%>
<%=result.toString()%>
<%="***********************************************************"%>
Out put :
"*********************************************************** You can visit the Store at @STORE_URL@If you have questions please email us at:[email protected] or phone Order Administration at 111 Monday through FridayMonday - Friday: 6:00 AM to 5:00 PM Pacific TimeThank you for visiting@COMPANY_URL@ ***********************************************************

Similar Messages

  • Given filename or path contains Unicode or double-byte characters.Retry using ASCII characters for filename and path What does this mean? it happen when I publish an OAM

    Given file name or path contains Unicode or double-byte characters. Retry using ASCII characters for filename and path
    What does this mean? It is happening when I try to publish an OAM for Dreamweaver.
    Also: How can I specify the browser in Edge Animate? It is just going wherever. Are there no Preferences for Edge Animate?
    BTW. Just call it Edge. Seriously. Do you call it Illustrator Draw? Photoshop Retouching?

    No, my file name is mainContent.oam
    My project name is mainContent.an
    This error happens when I try to import into Dreamweaver. Sorry, I wasn't clear on that earlier.
    I thought maybe it was because I had saved my image as a png. So re-saved as a svg, still get the error.
    DO I have a setting is Dreamweaver CC that is wrong? Should I try this in Dreamweaver CS6? I might try that next.
    Why is this program so difficult? I know Flash. I know After Effects. I can work the timeline part just great. It's always in the export that I have problems.
    On a MacPro, 10.7.
    Are you an Adobe person or just a nice helper?

  • How can I use escaped-characters in an option

    I have the following code that is used to retrieve city-names including parent-child relations from a database and place them in an array:
    <%@ page contentType="application/x-javascript" %>
    <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
    <%@ taglib prefix="sql" uri="http://java.sun.com/jstl/sql" %>
    <sql:setDataSource dataSource="jdbc/KADOS" var="Raak" scope="session" />
    <sql:query var="bewaringSQL" dataSource="${Raak}">
    SELECT bewaringcode, vestigingsplaats FROM BEWARING order by vestigingsplaats
    </sql:query>
    bewaringen = new Array(
    <c:forEach items="${bewaringSQL.rows}" var="plaats" varStatus="s" >
    new Array( "<c:out value="${plaats.BEWARINGCODE}" />",
    "<c:out value="${plaats.VESTIGINGSPLAATS}" />" )
    <c:if test="${not s.last}">,</c:if>
    </c:forEach>
    i=0;
    <c:forEach items="${bewaringSQL.rows}" var="plaats" varStatus="s" >
    <sql:query var="bewaringGemSQL" dataSource="${Raak}" sql="SELECT KADGEMCODE, KGMNAAM FROM KADGEMEENTE where BEWARINGCODE=? order by KGMNAAM">
    <sql:param value="${plaats.BEWARINGCODE}" />
    </sql:query>
    tmp = new Array(
    <c:forEach items="${bewaringGemSQL.rows}" var="gem" varStatus="s" >
    new Array( "<c:out value="${gem.KGMNAAM}" />",
    "<c:out value="${gem.KADGEMCODE}" />" )
    <c:if test="${not s.last}">,</c:if>
    </c:forEach>
    bewaringen[2] = tmp;
    i = i+1;
    </c:forEach>
    function bewaringenList(selectCtrl, itemArray) {
    for (i=0; i<itemArray.length; i++) {
    selectCtrl.options[i] = new Option(itemArray[i][1]);
    selectCtrl.options[i].value = itemArray[i][0];
    function setList(selectCtrl, itemArray) {
    for (i=selectCtrl.options.length; i>=0; i--) {
    selectCtrl.options[i] = null;
    for (i=0; i<itemArray.length; i++) {
    optie = filter(itemArray[i][0]);
    selectCtrl.options[i] = new Option(optie);
    selectCtrl.options[i].value = itemArray[i][1];
    function filter( invoer) {
    retour = invoer;
    retour = retour.replace("'", "\'");
    return retour;
    The function 'bewaringenList' populates a <SELECT> with parent-names and
    "setList(document.VraagForm.gemSelect, bewaringen[this.selectedIndex][2]);" populates the depending <SELECT> with child-names.
    Some names contain single quotes (like "&#039;t Zandt") and are displayd in the select-box as "&#039t Zandt".
    I expected that the quotes could be replaced by escape-characters by 'filter(invoer)' but this does not work.
    Is there a generic way to show these characters?
    Ben

    I don't understand why but this filter solved the problem:
    function filter( invoer) {
    retour = invoer;
    retour = retour.replace("&#039;", "'");
    return retour;

  • Prevent using special characters in file and folder names?

    I've recently begun adding windows clients to my network. In doing so, I've found that on my file shares from OS X server, the windows clients are unable to see files and folders which have names containing special characters such as / ? < > \ : * | ”
    Unfortunately my accounting department has been creating files with these characters in their names for several years. I would like to find if there is a way to prevent them from using a defined set of characters in the file and folder names to prevent them from "accidentally" doing so in the future.
    I've found that by turning off streams support on SMB in OS X server, that my windows clients can at least see that a file or folder should exist, albeit with a corrupted file name. Removing the special characters from these names allows the proper name to become visible and the file accessible.
    Any info would be greatly appreciated.

    (_seb_) wrote:
    > Gary White wrote:
    >> On Sun, 19 Nov 2006 19:15:04 +0100, "(_seb_)"
    <[email protected]> wrote:
    >>
    >>> "ça alors: it's a déjà-vu"
    >>>
    >>> How can I encode this so it's valid as a
    directory name, yet can be
    >>> displayed as intended when the name is output to
    the page.
    >>> urlencode() does not do the job, neither does
    htmlentities()...
    >>
    >>
    >> What's wrong with:
    >>
    >> $l="ça alors: it's a déjà-vu";
    >> print urlencode($l)."<br>\n";
    >> print htmlspecialchars($l);
    >>
    >> Gary
    >
    >
    > I know that, but what is the name of the directory? It
    has to be a real
    > directory name, not a string stored somewhere.
    >
    > What's a valid encoding for a directory named "ça
    alors: it's a
    > déjà-vu"? I can call a folder like this on my
    Mac, but it won't work on
    > any server...
    >
    >
    >
    PS: basically it's not a url encoding issue.
    I can url encode "ça alors: it's a déjà-vu",
    and pass it in a url query string. But my issue is not
    with an url query string, it's with an actual URL, that is,
    the actual name of the directory. It
    can't be "ça alors: it's a déjà-vu". But I
    want to allow the user to name their directory like that
    if they want. So I need a way to encode this into characters
    that can be used for an actual
    directory on the server.
    seb ( [email protected])
    http://webtrans1.com | high-end web
    design
    Downloads: Slide Show, Directory Browser, Mailing List

  • Managing escape characters in SQL and Java

    Hello All,
    How can I manage special characters(ESPECIALLY single quotes) in my select statements?? If I have to query the database for the rows with name O'brain for example, I am writing a query
    String SQL = "SELECT Name FROM MyTable where Name like 'O/'brain%' {escape '/'}";
    But this is not working for me. I am using Sybase database. Can anyone help me out with this ?? I don't want to use prepared statements.
    Thanks & Regards,
    Sarada.

    This might sort you out:
    http://jregex.sourceforge.net/gstarted.html#appendix-d

  • How to use escape characters in expdp

    Hi All,
    Am exporting the dump by using expdp as follows
    expdp XXXXX/YYYYYY schemas=XXXXX INCLUDE=TABLE:\"LIKE('EXT_%')\" directory=DUMPDIR1 dumpfile=XXXXX_18-Dec-2012.dmp logfile=exp_XXXXX_18-2012.log
    rocessing object type SCHEMA_EXPORT/TABLE/TABLE
    Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX
    Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
    Processing object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
    Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT
    Processing object type SCHEMA_EXPORT/TABLE/TRIGGER
    Processing object type SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
    . . exported "XXXXX"."EXT_COLLATERAL"                     556.5 KB    2543 rows
    . . exported "XXXXX"."EXT_CUSTOMER"                       184.1 KB    1210 rows
    . . exported "XXXXX"."EXT_ACCOUNT"                        142.8 KB    1116 rows
    . . exported "XXXXX"."EXT_CUSTOMER_IDENTIFICATION"        126.6 KB    1210 rows
    . . exported "XXXXX"."EXT_LN_ACCOUNT"                     111.3 KB     965 rows
    . . exported "XXXXX"."EXT_LN_ACCT_DISBRSMNT_EVENT"        102.5 KB     965 rows
    . . exported "XXXXX"."EXT_PERSON"                         108.7 KB    1210 rows
    . . exported "XXXXX"."EXT_DP_ACCOUNT_SUMMARY"             77.92 KB     151 rows
    . . exported "XXXXX"."EXT_LN_ACCOUNT_DISBURSEMENT"        100.4 KB     965 rows
    . . exported "XXXXX"."EXTENSION_BASIS_TYPE_REF"           5.296 KB       3 rows
    . . exported "XXXXX"."EXTERNAL_BANK"                      11.23 KB      40 rows
    . . exported "XXXXX"."EXTERNAL_BANK$AUD"                  12.73 KB      42 rows
    . . exported "XXXXX"."EXTRACTION_SVCE_REF"                5.289 KB       2 rows
    . . exported "XXXXX"."EXT_DP_ACCOUNT"                     24.64 KB     151 rows
    . . exported "XXXXX"."EXT_DP_ACCOUNT_INTEREST"            37.72 KB     151 rows
    . . exported "XXXXX"."EXTERNAL_SMS"                           0 KB       0 rows
    . . exported "XXXXX"."EXT_ACCOUNT_BLOCK"                      0 KB       0 rows
    . . exported "XXXXX"."EXT_ACCOUNT_CHARGE"                     0 KB       0 rows
    . . exported "XXXXX"."EXT_ACCOUNT_CHARGE_SUMMARY"             0 KB       0 rows
    . . exported "XXXXX"."EXT_ACCOUNT_CHARGE_TIER"                0 KB       0 rows
    . . exported "XXXXX"."EXT_ACCOUNT_CHEQUE_BOOK_ORDER"          0 KB       0 rows
    . . exported "XXXXX"."EXT_ACCOUNT_CHEQUE_INVENTORY"           0 KB       0 rows
    . . exported "XXXXX"."EXT_ACCOUNT_RELATIONSHIP"               0 KB       0 rowsit export fine.. But my requirement is needs to export tables start with EXT_%
    here expdp exports all table starting with EXT% how to specifies escape character in export option.
    excepted result
    . . exported "XXXXX"."EXT_COLLATERAL"                     556.5 KB    2543 rows
    . . exported "XXXXX"."EXT_CUSTOMER"                       184.1 KB    1210 rows
    . . exported "XXXXX"."EXT_ACCOUNT"                        142.8 KB    1116 rows
    . . exported "XXXXX"."EXT_CUSTOMER_IDENTIFICATION"        126.6 KB    1210 rows
    . . exported "XXXXX"."EXT_LN_ACCOUNT"                     111.3 KB     965 rows
    . . exported "XXXXX"."EXT_LN_ACCT_DISBRSMNT_EVENT"        102.5 KB     965 rows
    . . exported "XXXXX"."EXT_PERSON"                         108.7 KB    1210 rows
    . . exported "XXXXX"."EXT_DP_ACCOUNT_SUMMARY"             77.92 KB     151 rows
    . . exported "XXXXX"."EXT_LN_ACCOUNT_DISBURSEMENT"        100.4 KB     965 rows
    . . exported "XXXXX"."EXT_DP_ACCOUNT"                     24.64 KB     151 rows
    . . exported "XXXXX"."EXT_DP_ACCOUNT_INTEREST"            37.72 KB     151 rows
    . . exported "XXXXX"."EXT_ACCOUNT_BLOCK"                      0 KB       0 rows
    . . exported "XXXXX"."EXT_ACCOUNT_CHARGE"                     0 KB       0 rows
    . . exported "XXXXX"."EXT_ACCOUNT_CHARGE_SUMMARY"             0 KB       0 rows
    . . exported "XXXXX"."EXT_ACCOUNT_CHARGE_TIER"                0 KB       0 rows
    . . exported "XXXXX"."EXT_ACCOUNT_CHEQUE_BOOK_ORDER"          0 KB       0 rows
    . . exported "XXXXX"."EXT_ACCOUNT_CHEQUE_INVENTORY"           0 KB       0 rows
    . . exported "XXXXX"."EXT_ACCOUNT_RELATIONSHIP"               0 KB       0 rowsThanks
    Sami.

    expdp XXXXX/YYYYYY schemas=XXXXX INCLUDE=TABLE:\"LIKE('EXT\\_%')\" directory=DUMPDIR1 dumpfile=XXXXX_18-Dec-2012.dmp logfile=exp_XXXXX_18-2012.log
    or
    expdp XXXXX/YYYYYY schemas=XXXXX INCLUDE=TABLE:\"LIKE('EXT\_%')\" directory=DUMPDIR1 dumpfile=XXXXX_18-Dec-2012.dmp logfile=exp_XXXXX_18-2012.log its not working which gives the following error
    Estimate in progress using BLOCKS method...
    Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
    Total estimation using BLOCKS method: 0 KB
    ORA-39165: Schema XXXXX was not found.
    ORA-39168: Object path TABLE was not found.
    ORA-31655: no data or metadata objects selected for job
    Job "XXXXX"."SYS_EXPORT_SCHEMA_01" completed with 3 error(s) at 10:30:13when i gives EXCLUDE option then it working but it also exporting all tables
    expdp XXXXX/YYYYYY  schemas=XXXXX EXCLUDE=TABLE:\"LIKE('EXT\\_%')\" directory=DUMPDIR1 dumpfile=XXXXX_19-Dec-2012.dmp logfile=exp_XXXXX_19-Dec-2012.log
    Estimate in progress using BLOCKS method...
    Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
    Total estimation using BLOCKS method: 133.1 MB
    Processing object type SCHEMA_EXPORT/USER
    Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
    Processing object type SCHEMA_EXPORT/ROLE_GRANT
    Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
    Processing object type SCHEMA_EXPORT/TABLESPACE_QUOTA
    Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
    Processing object type SCHEMA_EXPORT/SEQUENCE/SEQUENCE
    Processing object type SCHEMA_EXPORT/TABLE/TABLE
    Processing object type SCHEMA_EXPORT/TABLE/GRANT/OWNER_GRANT/OBJECT_GRANT
    Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX
    Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
    Processing object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
    Processing object type SCHEMA_EXPORT/TABLE/COMMENT
    Processing object type SCHEMA_EXPORT/PACKAGE/PACKAGE_SPECany idea or suggestion?
    Thanks
    Sami

  • Escape codes for substring and bold????

    i am writing a servlet to process a form i made with HTML.
    The servlet works with the form data and sends an e-mail.
    I use escape characters for returns, tabs and stuff like that. Is there a code to BOLD or SUPERSCRIPT a peice of the output?
    THANKS!

    The HTML code for bold is <b>bold</b>, if that's what you were asking. And there's <sub> too. If you weren't asking that, what were you asking?

  • Issue with escaping characters and php

    Greetings,
    We are working on a web page using php and Oracle. We have troubles dealing with the diferent escaping characters when inserting/retrieving data (magic quotes is on but adding the backslash doesn't help :( ).
    We would like to know the correct way of dealing with those characters ( ' " / /n ...).
    Thank you in advance,
    Sincerely,
    Oriol Nonell

    Do NOT use addslashes/stripslashes to escape your queries. I use this function to do the escaping:
    function escapeSQL($string, $wildcard=false)
    $result = str_replace("'","''",$string);
    if ($wildcard == true) $result = str_replace("%","%%",$result);
    return $result;
    It basically replaces ' with ''.
    If you set $wildcard to false, then '%' is considered to be an actual '%' (for 'like' expressions). If you set it to true, a % is escaped to %% too.

  • Escape characters using Oracle JDBC

    We use Oracle JDBC driver to do some operations on an Oracle 9i database, and ran into some problems with escape characters. Basically we'd like to escape the _ and % characters.
    The following two example statements both work:
    ResultSet rs = stmt.executeQuery("select * from identifier_protein where upper(IDENTIFIER_ACCNO) like 'NM\\_%' escape '\\' ");
    ResultSet rs = stmt.executeQuery("select * from identifier_protein where upper(IDENTIFIER_ACCNO) like 'NM\\_%' {escape '\\' }");
    However, when we have multiple query terms and the "escape" clause doesn't immediately follows EACH "like" clause, we got errors saying the sql statement does not end properly. One such example is the following:
    ResultSet rs = stmt.executeQuery("select * from identifier_protein where upper(IDENTIFIER_ACCNO) like 'NM\\_%' and creator = 'ABC' {escape '\\'} ");
    If we put an "escape" clause following each "like" clause, then it works.
    My question is, is there a smart way of letting JDBC knows that you want to use an escape character everywhere in the query? We often do very complicated dynamic queries, frequently with table joins and boolean logic and subqueries with tons of query terms. Trying to add the escape clause to each "like" clause is very painful. Any help is highly appreciated. Thanks!
    BL

    I'd use PreparedStatements, if you're not already. Let the JDBC driver escape things properly for you. That's what the setString() and setDate() methods are all about.

  • HT3965 I bought my children ipad minis and they signed up using my apple id...I have created their own apple id now how do I switch their devices from my id to theirs so all of my contacts, pictures, and etc are gone from their devices

    I bought my children ipad mini's...I signed them up using my apple id not realizing all of my calander, pictures, contacts and etc would show up on thier devices. I now want to switch them to their own apple id (which I have now created) but it won't let me erase my apple id on the device to change it...How can I change the apple id on the device?

    Create a new IDs for them:
    On the iPod go to
    - Settings>Messages>Send and receive and sign out your ID and sign into their ID. Make sure that only their ID email address is listed.
    - Settings>FaceTime sign out of your ID and sign into theirs. Make sure that under You can be reached at only their ID email address is listed
    - Settings>iCloud and sign out and sign in with theirs
    - Settings>iTunes and App Store and sign out your ID and sign into theirs.
    - Apps are locked to the account that purchased them.
    - To update apps you have to sign into the account that purchased the apps. If you have apps that need updating purchased from more than one account you have to update them one at a time until the remaining apps were purchased from one account.

  • HT4356 I'm using my iPod and an Epson XP-810 printer to print pages from websites and emails and etc.  How do I print just 1 page out of 14 pages .  I don't see any settings on my iPod and can't find settings on the printer .   Can someone help with this

    I'm using my iPod and an Epson XP-810 printer to print pages from websites and emails and etc. 
    How do I print just 1 page out of 14 pages . 
    I don't see any settings on my iPod and can't find settings on the printer .  
    Can someone help with this problem

    Google show that you have to cut what you want to print and then paste it into a new app and print from that app.
    http://www.ipadforums.net/new-member-introductions-site-assistance/63145-printin g-one-page-ipad-2-a.html

  • I want to upgrade my phone to the 4 or 4s.  My macs are still running Tiger.  If I bought an iPad 2, could I sync everything to it from the 4 without using a Mac at all, and then be able to iCloud my calendar and contacts, etc?

    I want to upgrade my phone to the 4 or 4s.  My macs are still running Tiger.  If I bought an iPad 2, could I sync everything to it from the 4 without using a Mac at all, and then be able to iCloud my calendar and contacts, etc?

    Radiation Mac wrote:
    And you must be using a recent version of iTunes on your iMac in order to activate the iPad,  So, no.
    You don't need a computer to activate a new iOS device anymore. Anything with iOS 5 can be activated over a WiFi network (or cellular if that applies).

  • Hi   I have Mountain Line with Safari 6.0.2. I used to open Facebook, Youtube, Twitter etc. and everytime I select "Stay signed in" "Remember my password" etc. but it doesn't save my passwords and everytime I have to sign in again. I never sign out from t

    Hi
    I have Mountain Line with Safari 6.0.2. I used to open Facebook, Youtube, Twitter etc. and everytime I select "Stay signed in" "Remember my password" etc. but it doesn't save my passwords and everytime I have to sign in again. I never sign out from these websites but when I open it next time, it requires username & password.
    Does anybody know the problem & solution, plz help. I also found disk erros and reaoired permissiomn and the restarted and did disk utlty again and repaired the same disk errors and then did a restart and still does not remember passwords or ask me. Did all this still no luck it saved apple login on here and saved gmail account but others one it used to save does no longer.here is what i did below and still no luck.
    Instructions
    Set Your Passwords Preferences
    1
    Open up your Safari Web browser and choose 'Preferences' from the Safari pull down menu
    2
    Click on the heading 'AutoFill.'
    Click on the box next to 'User Names and Passwords.'
    4
    Close the 'Preferences' window.
    Save Your Passwords
    5
    Go to a Web page that requires a password and enter in your chosen password. Safari will then ask if you would like to save this password.
    6
    Click on the button 'Yes' in order to save the password.
    7
    Complete steps 1 and 2 for any other passwords that you want Safari to remember.
    Manage Your Passwords
    8
    Go to the 'AutoFill' section in the Safari Preferences window.
    9
    Click on the 'Edit' button to the right of where it says 'User Names and Passwords.' This will bring up a window displaying all of the passwords and usernames that you have authorized Safari to save.
    10
    Click on a password listing and push the 'Remove' button in order to delete the password from Safari's memory.
    11
    Choose 'Remove All' in order to delete all of the saved passwords.
    12

    I suggest that you run software update, after which you should have Safari 6.0.5 - then check Safari - Preferences - Privacy & see that 'Block cookies' is not set to Always.
    Failing that - switch Safari extensions Off via Safari - Preferences - Extensions & test again

  • I there, my question is quite simple, I would like to know if the "apple remote control" can be used with a mac mini and , if so, it can be used to control also the "logic pro" functions (e.g. record, start, stop etc). Thks a lot, Danilo

    I there, my question is quite simple, I would like to know if the "apple remote control" can be used with a mac mini and , if so, it can be used to control also the "logic pro" functions (e.g. record, start, stop etc). Thks a lot, Danilo

    Good work, thanks for the report.

  • I am using photoshop cc 2014.2 And when I use save for Web it gives me a dialog box that says it is using Latin characters I've never seen this before. Does anyone have an answer for this problem or do I need to go back to the older version of Photoshop.

    I'm using Photoshop cc 2014.21 I you save for Web and dialog box comes up that says that Photoshop is using Latin characters and that servers cannot recognize Latin characters in webpages and you may have trouble viewing these pages does anyone have an answer for this problem?

    What Firefox version is currently installed on the computer?
    You can find the full version of the current current Firefox release (37.0.2) in all languages and all operating systems here:
    *https://www.mozilla.org/en-US/firefox/all/
    If you have a very old Firefox version then you could consider to uninstall that version to clean up existing registry keys (especial the uninstall key).
    Make sure NOT to remove "personal data" when you uninstall Firefox, because that will remove all profile folders and you lose personal data like bookmarks and passwords including data in profiles created by other Firefox versions.
    Check the Firefox program folder and remove the Firefox program folder if there are still files left in it.
    *(32 bit Windows) "C:\Program Files\Mozilla Firefox\"
    *(64 bit Windows) "C:\Program Files (x86)\Mozilla Firefox\"
    It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    *http://kb.mozillazine.org/Uninstalling_Firefox
    Your bookmarks and other personal data are stored in the Firefox profile folder and won't be affected by an uninstall and (re)install, but make sure NOT to remove personal data when you uninstall Firefox as that will remove all Firefox profile folders and you lose your personal data.
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    *http://kb.mozillazine.org/Profile_backup
    *http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Clean_reinstall

Maybe you are looking for