Wrong URL

Hi
I am quite new to this forum, have created several webpages for my friends, with their names. So all they have to do is to enter their name in the welcome screen and click submit, this should take them to their respective pages (e.g www.jery.salan.com) Now instead of this, Its taking me to www.salan.com/www.jery.salan.com.
The code used is as below. Can anyone help me out of this mess
<html>
<head>
<title>Script</title>
<script language="javascript">
var cn;
var strurl;
function disp(objFrm)
cn=objFrm.cn.value;
strurl="www."+cn+".salan.com";
document.write("<a href="+strurl+">Click Here</a>");
</script>
</head>
<body>
<form name="frm">
Enter your Name::<input type=text name="cn"><br>
<br>
<input type="button" value="submit" onClick="disp(this.form)">
</form>
<br>
</body>
</html>
Thanks
Still a Learner

I don't know whether this might help or not. Because from my understanding you want the strurl to open a url base on the given input text.
function disp(objFrm)
cn = objFrm.cn.value;
strurl = "www."+cn+".com";
document.write("<a href='http://"+strurl+"'>Click Here</a>");
}

Similar Messages

  • The Web Dynpro application was called up with the wrong URL parameters

    Hi all,
    I am using the systems below:
    ERP STACK :16
    EHP : 4
    EHP SP Stack :4
    EA-HR * : 604(SP12)
    SAP-HR * :604(SP12)
    XSS JAVA components : SAP ESS 603 SP05
    SAP MSS 600 SP16
    PCUI_GP 603 SP05
    Business Package : BP ERP05 ESS 1.41 SP04
    BP ERP05 MSS 1.41 SP04
    BP ERP05 COMMON PARTS 1.41 SP04
    I am getting below error after clicking on the appraisal document:
    App. Called Up Incorrectly
    The Web Dynpro application was called up with the wrong URL parameters.
    Note
    Enter the URL parameters and their use.
    You can find more information on the functions that you can perform in the catalog for appraisal templates in the Implementation Guide (IMG) for Objective Setting and Appraisals under Edit Forms.
    I already applied the below notes also:
    1468466 Performance Management Launchpad Configuration
    1463821 Performance Management Portal Configuration
    1416756 OBN Configuration in Performance Management
    1408243 Configuration for object-based navigation
    Plz advise me??
    Thanks,
    Anumit

    can you paste the exact error. also you can take a HTTP trace and see which resourse or UWL is being launched!

  • Office Web - wrong URL

    Hello everyone,
    I getting some error messages from my Office Web App server showing that is being accessed trough the wrong URL. I setup the server to be accessed trough HTTPS for internal and external trough
    the same public domain. However there is still something making the server being accessed trough the FQN instead trough my public domain name. I also have my public domain name pointing to my Office Web App server on the DNS server. I'm able to open documents
    using Office Web on SharePoint without any problem in most of the workstation. However at least one computer is giving me an error when I try to open a document from Office Web App, "run into a problem".
    Below is how I setup Sharepoint 2013 and my Office Web App 2013 and the error log:
    Thanks
    Office web server:
    New-OfficeWebAppsFarm –InternalUrl “https://app.contosco.com” -ExternalUrl https://app.contosco.com –CertificateName
    "app.contosco.com" –EditingEnabled
    Sharepoint server:
    New-SPWOPIBinding –ServerName "app.contosco.com"​
    Log Error:
    Log Name:      Microsoft Office Web Apps
    Source:        Office Web Apps Monitoring
    Date:          2/27/2014 2:39:54 PM
    Event ID:      1011
    Task Category: (4)
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      officeweb.contosco.local
    Description:
    <?xml version="1.0" encoding="utf-16"?>
    <HealthReport xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <HealthMessage>BroadcastServicesWatchdog_Wfe reported status for BroadcastServices_Host in category '4'. Reported status: Contacting Present_2_0.asmx
    failed with an exception: An error occurred while making the HTTP request to https://officewebserver.contosco.local/m/Present_2_0.asmx.
    This could be due to the fact that the server certificate is not configured properly with HTTP.SYS in the HTTPS case. This could also be caused by a mismatch of the security binding between the client and the server.</HealthMessage>
    </HealthReport>
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Office Web Apps Monitoring" />
        <EventID Qualifiers="0">1011</EventID>
        <Level>2</Level>
        <Task>4</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2014-02-27T19:39:54.000000000Z" />
        <EventRecordID>4537339</EventRecordID>
        <Channel>Microsoft Office Web Apps</Channel>
        <Computer>officeweb.contosco.local</Computer>
        <Security />
      </System>
      <EventData>
        <Data>&lt;?xml version="1.0" encoding="utf-16"?&gt;
    &lt;HealthReport xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi=";
      &lt;HealthMessage&gt;BroadcastServicesWatchdog_Wfe reported status for BroadcastServices_Host in category '4'. Reported status: Contacting Present_2_0.asmx
    failed with an exception: An error occurred while making the HTTP request to https://officewebserver.contosco.local/m/Present_2_0.asmx.
    This could be due to the fact that the server certificate is not configured properly with HTTP.SYS in the HTTPS case. This could also be caused by a mismatch of the security binding between the client and the server.&lt;/HealthMessage&gt;
    &lt;/HealthReport&gt;</Data>
      </EventData>
    </Event>
    flavio

    Hi,
    According to your description, my understanding is that the Office Web Apps cannot render the documents.
    The error message is very common, please check the Event Viewer and ULS log to get a detailed error description.
    Here is a similar issue link for you to take a look:
    http://www.wictorwilen.se/office-web-apps-2013-excel-web-app-ran-into-a-problem---not-rendering-excel-files
    Thanks,
    Victoria
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Victoria Xia
    TechNet Community Support

  • Wrong URL in Web Dynpro Application explorer

    Dear Team,
    The Web Dynpro Application explorer is showing wrong URL:
    URL             HTTP://server2.domainname.COM:1090/sap/bc/webdynpro/sap/zz_pt_hello
    And this is not a correct URL.
    Where as the actual URL should be :
    https://server1.domainname.com:8030/sap/bc/webdynpro/sap/zz_pt_hello
    But when I test the service,  /default_host/sap/bc/webdynpro/sap/zz_pt_hello,  in sicf t-code, the test works successfully with the desired URL i.e. https://server1.domainname.com:8030/sap/bc/webdynpro/sap/zz_pt_hello.
    the profile parameter: icm/host_name_full   has value server1.domainname.com.
    Please guide me to resolve this problem.
    regards

    Hi,
    The hostname for the application server is checked by the following parameters in this order. Can you please verify that the SAPLOCALHOSTFULL is the correct hostname.
    (1) SAPLOCALHOSTFULL                  
    (2) icm/host_name_full
    If both of these are correct can you check the Hosts file in the /etc/hosts folder for the correct entry.
    Michael

  • HT4623 Hi I CAN'T GET MY VIDEO TO WORK FIRSTLY MENTIONED WRONG URL NOW NOTHING?

    Hi I can't use my video or see anything but a blank screen when I try it. Firstly it said wrong URL now nothing.
    Any help please?
    Jenny

    The "requested URL cannot be found" message is a frequent message that I have gotten in the videos app when trying to play a movie that has been downloaded to my iPad for months. I delete the video and download it again.
    Apparently you are talking about something different but you are supplying details in bits and pieces.
    Try this. Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.

  • BO XI R2 WEBI Error(A wrong url parameter has been used to access this page)

    Post Author: Ayyappan Sadhasivam
    CA Forum: Migration to XI R2
    I am working BO XI R2 WEBI Reports, I cannot able to see the sql query of all report, I am getting following error in WEBI report panel Query- HTML
    "A wrong url parameter has been used to access this page" Let me know anybody know the solutions

    Post Author: Ayyappan Sadhasivam
    CA Forum: Migration to XI R2
    I am working BO XI R2 WEBI Reports, I cannot able to see the sql query of all report, I am getting following error in WEBI report panel Query- HTML
    "A wrong url parameter has been used to access this page" Let me know anybody know the solutions

  • Wrong URL by running the form

    Hello,
    When I start my form inside form developer a wrong URL is launched:
    http://%%20"http://........"
    instead of
    http://.....
    Where can I correct this setting?
    Thanks in advance.
    Anna

    You may also need to explicitly set the browser executable in the preferences. You set this in the same screen where you set the Application Server URL.

  • KM Reports rendering wrong URL for items!

    Hi,
        A KM report was created in Content Management->Reports->Resource Statistics and a folder name say Test Folder under root folder was given as the location. It returned a result set. On clicking each item in the result set its displaying a message "404 The requested resource cannot be found". This is because the url of the item was rendered wrongly Eg:Say item A is in Test Folder. It displays the url as http://myserver/irj/go/km/docs/<b>reporting/reports</b>/Test Folder/A instead of http://myserver/irj/go/km/docs/Test Folder/A. This means an extra <b>reporting/reports</b> is added everytime to the resource path and hence the respective items cant be opened on clicked as its opening the wrong URL. Why is this URL generated wrongly? How can this be corrected?
    Helpful answers will be rewarded.
    Regards,
    Pooja.l

    Hi,
          This happens for all reports created under Content Management->Reports-> Resource Statistics. The url is rendered wrongly for all items in the result list so that they wont open on clicked. From where is this url generated?
    Regards,
    Pooja.

  • How do I set the wrong URL page to redirect to Google? Read more..

    Ok, so you know when you type a wrong url in the address bar? It does not load, it USUALLY redirects to a Google search.
    It directs me to like to a http://www.search-results.com which I really do not want to go to.

    You dont need an add on if you have the new version of Firefox you can change it in settings
    http://computerlearnhow.com/how-to-change-the-firefox-new-tab-homepage-to-something-useful/#.T6om38USU4k

  • Mailman sending wrong url in emails

    Hi,
    I migrated from 10.4.11 awhile back and all was well, but I have just added 3 new mail list to the 10.5.6 server. It is sending out the wrong url in the emails to my moderators. How can I change this? It is sending out domain.com when it should be server.domain.com.
    Any help would be most welcome.
    Best wishes
    Michael

    sudo /usr/share/mailman/bin/withlist -l -r fix_url mylistname --urlhost=mydomain.tld
    Replace mylistname and mydomain.tld with your actual values.
    HTH,
    Alex
    Message was edited by: pterobyte

  • Wrong URL on Notification emails

    Hi,
    Í configured Portal & KM to send emails and it is working fine but the emails arrives with a wrong URLs to the documents etc.., when the email is originated as a result of a subscription it sends the email with URL´s like http://<%hostname%>/irj/go/km..........
    so when clicking on the link it can go to the document cause of the <%hostname%> in the link instead of the real hostname or domain and it does not contain the 50000 port either.
    and when the email is generated when a Task is created it sends the URLs like http://localhost:1080/irj..........
    so it cant go to the Portal to access the link.
    Does anyone knows how to fix this issues?
    Thanx in Advanced!
    Kind Regards,
    Gerardo Jiménez
    Message was edited by:
            Gerardo Jiménez

    Hi Vineeth,
    Thanx Alot for the answer it helped me out to solve one of the issues, The emails on subscription notifications arrives Ok now thanx to your help.
    The emails generated when creating a task or a task alert is still arriving wrong, like this http://localhost:1080/irj...................
    Let´s hope someone nows the answer to this one.
    Thanx Again!!
    Gerardo J

  • BI Role upload from BI-JAVA/Portal creates wrong url in Iview property

    Hi Everyobody
    here is a tricky one. Our BI DEV is a Systemcopy from the PRD.
    When we try to upload Roles from the BI-JAVA/Portal it generates the Iviews Worksets correctly.
    The only Problem is that the Iviews property "URL Template" is the one from the Production.
    On our DEV System:
    I checked the bsp from icf with the correct url
    I checked the HTTP URLLOC entry
    I checked the RSPOR_T_SETUP
    I even checkd  the Functionmodule RSBB_URL_PREFIX_GET
    I checked the SAP_BW alias /WAS property
    All have the correct URL.
    Does anyone know where else the wrong url could be located?
    Thanks for your help
    Murat

    it suddenly worked

  • I'm unable to correct a wrong url for my home page in Firefox

    I'm unable to correct a wrong url for my home page and have to manually use a separate bookmark that works once the home page loads. I use 3 url's total for the home page and the other 2 load properly.
    I've searched for the incorrect url and find it in 'about:config at browser.startup.homepage'. I've made the correction to the url but it does not seem to save when I close out of about:config.
    I've reset the home page under Tools and Options many, many times and it still doesn't change what is in
    'about:config at browser.startup.homepage
    I have been able to save the bookmark with the correct url in other folders.
    I've had this problem for quite awhile, at least 8 months or so and keep FF up to date, currently using V33.0.2 and Win7 Home Premium SP1

    I changed the pref.js file and that fixed the problem. thanks to those who responded to this question and for the quick replies. jjg18

  • Old bkmks intact=OK. New bkmks insert w/ always same wrong url?

    10/4/2014 I am new, so please excuse any indiscretions. I am running FF 32.0.3 on MS 8.1 laptop. Installed Comcast supplied Norton. Old existing bkmarks work fine. When adding a new bkmark I use the blue star in upper right of screen. When bkmark icon is selected, dropdown menu looks good. In “recently bkmarkd” I select the new entry and see name is OK, but associated URL is always wrong indicating a different URL that I do frequent. If right click on the new entry to see “properties”, name and URL are correct. If I click on the bkmark icon in upper right and select the new entry from the dropdown menu, I am directed to the, always the same, wrong URL. I have deleted FF and reinstalled. I have tried “reset FF”, I have tried Chrome and I.E. both of which work OK saving bkmarks. Please note; Norton worked fine initially, but eventually abended and continues to abend when running full scan. Thanks for your consideration in this matter.

    Quote from [[/questions/1023774]]
    <blockquote>10/4/2014 Thank you Cor-el for your rapid response to my original question. I do believe I downloaded the Places Maintenance add on. But I have no idea as to how to access that add on and run it, if that's what I should do. I did try to restore a backed up HTML bookmark file. This seems to have changed the "wrong" URL that I get to a different wrong URL. Thanks.</blockquote>
    You can find the Options/Preferences of the Places Maintenance in "Firefox/Tools > Add-ons > Extensions"
    You can tick all the boxes (Preset: All) to do a full check to see if that helps.
    If you still have issues then you need to delete the places.sqlite file(s) including places.sqlite-shm and places.sqlite-wal if present.
    You can use this button to go to the currently used Firefox profile folder:
    *Help > Troubleshooting Information > Profile Directory: Show Folder (Linux: Open Directory; Mac: Show in Finder)

  • When typing a wrong url, I want to be forwarded to google search

    when typing a wrong url, I want to be forwarded to google search
    == This happened ==
    Not sure how often

    See http://kb.mozillazine.org/Location_Bar_search and http://kb.mozillazine.org/Keyword%2eURL (pref: '''keyword~46~URL''')
    See [[Searches are redirected to another site]]

  • The wrong url

    Hi
    I have an iPad 2, and I purchased music and videos from iTunes which was great and I was able to enjoy them, recently however my sister wanted to give me soem books for the kindle app on my iPad she had to sync me to her itunes in order to do itm, but I was already synced to my other sisters Itunes account. I bought the movies and music on my Itunes account though so now when I go to watch the movies and listen to the music it tells me that I have the wrong URL in order to have them, so not only are my sisters and I no tech heads but we cant seem to fix the probpem, I hope this makes sense to somebody out there and they can help me fix this problem,
    Thanks

    can you paste the exact error. also you can take a HTTP trace and see which resourse or UWL is being launched!

Maybe you are looking for