URL status

I have recently noticed an odd issue with the status (blue bar) in my URL line, it never really fully loads or disappears. I am using Safari 3.0.4 on a G3 Powerbook running OS 10.4.11. Pages seem to work properly but wondering why this is occurring. Any insight?????
Thanks,Steve.

Hi Steve,
OK, I've just done a quick download of a page on my iMac G5, and the same thing happened.
Personally, I don't find it an issue when the page uploads fully before the blue bar completes it's cycle.
You should only be concerned if you see the rotating beach ball of death. When that spins, then suspect trouble.
Only the other day, I was flitting back and forth through the pages of a Bank's website, and I kept getting messages that repeated page requests ( use of the back and forward arrows) caused the server to cough up a message on the lines of 'Could not access the page' with an explanation that repeated page searches may have caused the 'back log'.

Similar Messages

  • 401 URL status

    Hi,
    when i am creating java proxy classes form .NET web service using the third party tool apache SOAP Axis tool, i am getting the error as
    java.io.IOException: Server returned HTTP response code: 401 for URL: http://10.113.10.78:8080/OracleSPS/Oracle
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:709)
    at java.net.URL.openStream(URL.java:960)
    at org.apache.crimson.parser.InputEntity.init(InputEntity.java:209)
    at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:471)
    at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
    at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)
    at org.apache.crimson.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:185)
    at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:369)
    at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:420)
    at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:482)
    at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:361)
    at java.lang.Thread.run(Thread.java:536)
    'password' is not recognized as an internal or external command,
    operable program or batch file.
    i already set the classpath of the reaquired jar files before run the command. and i create the user where i have the web service. i can view that web service with my user. but still it is giving the error. so
    could you plz help me, its very urgent for my progress...
    i used the command to generate the proxy is
    java org.apache.axis.wsdl.WSDL2Java <web service>?WSDL
    Thanks

    Hi Pradeep,
    Have you configured according to below configuration help? check the user have role which mentioned below.
    Regards,
    Praveen.

  • Bash script for checking link status

    So I'm doing some SEO work I've been tasked with checking a couple hundred thousand back links for quality.  I found myself spending a lot of time navigating to sites that no longer existed.  I figured I would make a bash script that checks if the links are active first.  The problem is my script is slower than evolution.  I'm no bash guru or anything so I figured maybe I would see if there are some optimizations you folks can think of.  Here is what I am working with:
    #!/bin/bash
    while read line
    do
    #pull page source and grep for domain
    curl -s "$line" | grep "example.com"
    if [[ $? -eq 0 ]]
    then
    echo \"$line\",\"link active\" >> csv.csv else
    echo \"$line\",\"REMOVED\" >> csv.csv
    fi
    done < <(cat links.txt)
    Can you guys think of another way of doing this that might be quicker?  I realize the bottleneck is curl (as well as the speed of the remote server/dns servers) and that there isn't really a way around that.  Is there another tool or technique I could use within my script to speed up this process?
    I will still have to go through the active links one by one and analyze by hand but I don't think there is a good way of doing this programmatically that wouldn't consume more time than doing it by hand (if it's even possible).
    Thanks

    I know it's been awhile but I've found myself in need of this yet again.  I've modified Xyne's script a little to work a little more consistently with my data.  The problem I'm running into now is that urllib doesn't accept IRIs.  No surprise there I suppose as it's urllib and not irilib.  Does anyone know of any libraries that will convert an IRI to a URI?  Here is the code I am working with:
    #!/usr/bin/env python3
    from threading import Thread
    from queue import Queue
    from urllib.request import Request, urlopen
    from urllib.error import URLError
    import csv
    import sys
    import argparse
    parser = argparse.ArgumentParser(description='Check list of URLs for existence of link in html')
    parser.add_argument('-d','--domain', help='The domain you would like to search for a link to', required=True)
    parser.add_argument('-i','--input', help='Text file with list of URLs to check', required=True)
    parser.add_argument('-o','--output', help='Named of csv to output results to', required=True)
    parser.add_argument('-v','--verbose', help='Display URLs and statuses in the terminal', required=False, action='store_true')
    ARGS = vars(parser.parse_args())
    INFILE = ARGS['input']
    OUTFILE = ARGS['output']
    DOMAIN = ARGS['domain']
    REMOVED = 'REMOVED'
    EXISTS = 'EXISTS'
    NUMBER_OF_WORKERS = 50
    #Workers
    def worker(input_queue, output_queue):
    while True:
    url = input_queue.get()
    if url is None:
    input_queue.task_done()
    input_queue.put(None)
    break
    request = Request(url)
    try:
    response = urlopen(request)
    html = str(response.read())
    if DOMAIN in html:
    status = EXISTS
    else:
    status = REMOVED
    except URLError:
    status = REMOVED
    output_queue.put((url, status))
    input_queue.task_done()
    #Queues
    input_queue = Queue()
    output_queue = Queue()
    #Create threads
    for i in range(NUMBER_OF_WORKERS):
    t = Thread(target=worker, args=(input_queue, output_queue))
    t.daemon = True
    t.start()
    #Populate input queue
    number_of_urls = 0
    with open(INFILE, 'r') as f:
    for line in f:
    input_queue.put(line.strip())
    number_of_urls += 1
    input_queue.put(None)
    #Write URL and Status to csv file
    with open(OUTFILE, 'a') as f:
    c = csv.writer(f, delimiter=',', quotechar='"')
    for i in range(number_of_urls):
    url, status = output_queue.get()
    if ARGS['verbose']:
    print('{}\n {}'.format(url, status))
    c.writerow((url, status))
    output_queue.task_done()
    input_queue.get()
    input_queue.task_done()
    input_queue.join()
    output_queue.join()
    The problem seems to be when I use urlopen
    response = urlopen(request)
    with a URL like http://www.rafo.co.il/בר-פאלי-p1
    urlopen fails with an error like this:
    Exception in thread Thread-19:
    Traceback (most recent call last):
    File "/usr/local/Cellar/python3/3.3.0/Frameworks/Python.framework/Versions/3.3/lib/python3.3/threading.py", line 639, in _bootstrap_inner
    self.run()
    File "/usr/local/Cellar/python3/3.3.0/Frameworks/Python.framework/Versions/3.3/lib/python3.3/threading.py", line 596, in run
    self._target(*self._args, **self._kwargs)
    File "./linkcheck.py", line 35, in worker
    response = urlopen(request)
    File "/usr/local/Cellar/python3/3.3.0/Frameworks/Python.framework/Versions/3.3/lib/python3.3/urllib/request.py", line 160, in urlopen
    return opener.open(url, data, timeout)
    File "/usr/local/Cellar/python3/3.3.0/Frameworks/Python.framework/Versions/3.3/lib/python3.3/urllib/request.py", line 473, in open
    response = self._open(req, data)
    File "/usr/local/Cellar/python3/3.3.0/Frameworks/Python.framework/Versions/3.3/lib/python3.3/urllib/request.py", line 491, in _open
    '_open', req)
    File "/usr/local/Cellar/python3/3.3.0/Frameworks/Python.framework/Versions/3.3/lib/python3.3/urllib/request.py", line 451, in _call_chain
    result = func(*args)
    File "/usr/local/Cellar/python3/3.3.0/Frameworks/Python.framework/Versions/3.3/lib/python3.3/urllib/request.py", line 1272, in http_open
    return self.do_open(http.client.HTTPConnection, req)
    File "/usr/local/Cellar/python3/3.3.0/Frameworks/Python.framework/Versions/3.3/lib/python3.3/urllib/request.py", line 1252, in do_open
    h.request(req.get_method(), req.selector, req.data, headers)
    File "/usr/local/Cellar/python3/3.3.0/Frameworks/Python.framework/Versions/3.3/lib/python3.3/http/client.py", line 1049, in request
    self._send_request(method, url, body, headers)
    File "/usr/local/Cellar/python3/3.3.0/Frameworks/Python.framework/Versions/3.3/lib/python3.3/http/client.py", line 1077, in _send_request
    self.putrequest(method, url, **skips)
    File "/usr/local/Cellar/python3/3.3.0/Frameworks/Python.framework/Versions/3.3/lib/python3.3/http/client.py", line 941, in putrequest
    self._output(request.encode('ascii'))
    UnicodeEncodeError: 'ascii' codec can't encode characters in position 5-8: ordinal not in range(128)
    I'm not too familiar with how character encoding works so I'm not sure where to start.  What would be a quick and dirty way (if one exists) to get URLs like this to play nicely with python's urlopen?

  • How to test file and or URL existence ?

    I have a table with full path and name of a document or a URL.
    Users can now open one of these documents by klicking on a link.
    P:\Document\test.doc
    or
    http://www.nu.nl/
    Some times this document no longer exisits.
    How do I make sure the user gets a correct error message?
    If it is a URL: http://bestaat.niet.nl/
    How do I make sure the user gets a correct error message?

    941318 wrote:
    I have a table with full path and name of a document or a URL.
    Users can now open one of these documents by klicking on a link.
    P:\Document\test.doc
    or
    http://www.nu.nl/
    Some times this document no longer exisits.
    How do I make sure the user gets a correct error message?
    If it is a URL: http://bestaat.niet.nl/
    How do I make sure the user gets a correct error message?Create another column called url_status in your table and when populating data into it include the url status (valid/not valid)

  • Searching from the url address window has stopped working

    If I type a string in the url address bar and touch enter, I now get an error message saying that it's not a valid web address: "The URL is not valid and cannot be loaded." It no longer searches in google for results. I've checked my about:config settings and they seem fine; keyword.url status is "default" and type is "string" with a blank value; for keyword.enabled, the status is "default", type is "boolean", and value is "true".

    Hi,
    You can also check '''browser.search.defaultenginename''' which has to be '''Google''' in this case.
    If problems persist you can use [https://addons.mozilla.org/en-US/firefox/addon/searchreset/ SearchReset].
    [http://kb.mozillazine.org/About:config about:config]
    [http://kb.mozillazine.org/About:config_entries about:config Entries]
    The [https://services.addons.mozilla.org/en-US/firefox/discovery/addon/config-descriptions/ Config Descriptions] add-on adds helpful source comments in about:config.

  • No data retrieved while consuming external webservice in visual composer

    Hi all,
    I wrote a webservice, which returns some car data from a database.
    The returned data looks like:
    <?xml version="1.0" encoding="utf-8" ?>
    - <ArrayOfCar xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://IBM-W2003-EAI/GetCarList">
    - <Car>
      <CarID>B-276</CarID>
      <CarBrand>BMW</CarBrand>
      <CarModel>320i</CarModel>
      <Kw>125</Kw>
      <Ps>178</Ps>
      <Km>12000</Km>
      <Year>2001</Year>
      <Price>23000,0000</Price>
      <Url />
      <Status>Available</Status>
      </Car>
    - <Car>
      <CarID>B-984</CarID>
      <CarBrand>BMW</CarBrand>
      <CarModel>330d</CarModel>
      <Kw>125</Kw>
      <Ps>178</Ps>
      <Km>121000</Km>
      <Year>1997</Year>
      <Price>13520,0000</Price>
      <Url />
      <Status>Available</Status>
      </Car>
    Unfortunately the data is not received, or displayed at all.
    Are there any suggestions, how to solve this problem?
    Thank you for your help.
    Kind regards, Patrick.

    i found this link on SDN.  If you have see this, then ignore my post..
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/4094345f-341f-2b10-86a0-86a6309f1a0b

  • Trying to assign an XML attribute value to a button label

    I have a Flex app (developed in FLEX 2) that reads from
    multiple XML files and populates datagrids with element values.
    What I'm trying to do now, is to create a second column with a
    button, enabling users to view archived versions for each current
    report.
    My problem is: I can't get the <mx:Button> label to
    accept the attribute "name". I've tried atleast 10 - 20 different
    syntax.
    My XML file looks like this:
    <metrics>
    <report name="test">
    <link>test Report 10/28/2008</link>
    <url>test-10_28_2008.zip</url>
    <status>active</status>
    </report>
    </metrics>
    The mxml looks like this:
    <mx:Button buttonMode="true" useHandCursor="true"
    click="handleClick()" label="{data.@name}" width="80">
    <mx:Script>
    <![CDATA[
    public function handleClick():void{
    var url:URLRequest = new
    URLRequest([L=http://new.test.com/pages/r_archive_apps/"+data.link+".html");[/L]]http://n ew.test.com/pages/r_archive_apps/"+data.link+".html");[/L][/L]
    navigateToURL(url,"_blank");
    ]]>
    </mx:Script>
    </mx:Button>
    When I try to label a button with an element it works fine.
    Some of the other sytax I've used are:
    - label="{data.report.@name}"
    - label="{data.report.(@name=='test')}"
    - label="{data.report.(@name='test')}"
    - label="{data.@name}"
    - label="{data.metrics.report.@name}"
    - label="{data.metrics.report.(@name=='test')}"
    - label="{data.metrics.report.(@name='test')}"

    quote:
    Originally posted by:
    rtalton
    Can you post some code so we can see how you are using the
    button? I think you may be using the button within a datagrid
    itemRenderer, which might make a difference.
    You're right, the button is in a datagrid itemRenderer. I've
    pasted more dataGrid code below - thanks again.
    <mx:DataGrid id="dgCatalog" dataProvider="{_xlcCatalog}"
    rowCount="4" editable="false" sortableColumns="false"
    left="148" top="65" bottom="42" borderStyle="solid"
    alternatingItemColors="[#ecf8ff, #ffffff]"
    themeColor="#ffff80" alpha="1.0" cornerRadius="0"
    dropShadowEnabled="true" dropShadowColor="#000000" width="549"
    creationCompleteEffect="{glow3}">
    <mx:columns>
    <mx:Array>
    <mx:DataGridColumn editable="false" headerText="Daily -
    Report Names" dataField="link" textAlign="left" width="200">
    <mx:itemRenderer>
    <mx:Component>
    <mx:LinkButton click="handleClick()" label="{data.link}"
    >
    <mx:Script>
    <![CDATA[
    public function handleClick():void{
    var url:URLRequest = new URLRequest("
    http://test.new.com/test/"+data.url);
    navigateToURL(url,"_blank");
    ]]>
    </mx:Script>
    </mx:LinkButton>
    </mx:Component>
    </mx:itemRenderer>
    </mx:DataGridColumn>
    <mx:DataGridColumn editable="false" headerText="Daily -
    Report Archives" dataField="link" textAlign="left" width="80">
    <mx:itemRenderer>
    <mx:Component>
    <mx:Button buttonMode="true" useHandCursor="true"
    click="handleClick()" label="{data.report.@name}" width="80">
    <mx:Script>
    <![CDATA[
    public function handleClick():void{
    var url:URLRequest = new URLRequest("
    http://test.new.com/pages/test_apps/"+data.link+".html");
    navigateToURL(url,"_blank");
    ]]>
    </mx:Script>
    </mx:Button>
    </mx:Component>
    </mx:itemRenderer>
    </mx:DataGridColumn>
    <!--mx:DataGridColumn headerText="URL" dataField="url"
    width="350"/>
    <mx:DataGridColumn headerText="Status" dataField="status"
    width="70"/-->
    </mx:Array>
    </mx:columns>
    </mx:DataGrid>

  • Call Web Service and display return values in table

    Hi all,
    I am calling a self-implemented web service with visual composer. The webservice returns the following data shown below.
    Each item like carID, carBrand etc. should be displayed in an output table.
    The problem is, that he doesn't display any data at all. Is there a problem with the webservice data which is returned or do I have to do some further settings in visual composer?
    Thank you for your help! Kind regards, Patrick.
      <?xml version="1.0" encoding="utf-8" ?>
    - <ArrayOfCar xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://IBM-W2003-EAI/GetCarList">
    - <Car>
      <CarID>A-471</CarID>
      <CarBrand>Alfa</CarBrand>
      <CarModel>156</CarModel>
      <Kw>100</Kw>
      <Ps>136</Ps>
      <Km>79000</Km>
      <Year>1998</Year>
      <Price>7500,0000</Price>
      <Url />
      <Status>Available</Status>
      </Car>
    - <Car>
      <CarID>A-736</CarID>
      <CarBrand>Audi</CarBrand>
      <CarModel>A4</CarModel>
      <Kw>110</Kw>
      <Ps>150</Ps>
      <Km>87000</Km>
      <Year>2000</Year>
      <Price>15780,0000</Price>
      <Url />
      <Status>Reserved</Status>
      </Car>
    </ArrayOfCar>

    Hi Shai,
    the webservice is working well, trying to test it with webservice navigator.
    He also returns the correct number of rows (because there appears slider beneath the table output and I also counted the rows), but there is no data displayed in visual composer.
    I have got no further ideas, what the problem is...
    THank you for your support.
    Kind regards, PAtrick.

  • PDF Bookmark works on 1st click only :(

    Hi all:
    I've gotten links to PDFs in my RoboHelp project to work, but have one problem that I cannot seem to solve.  This issue happens with IE and Chrome (have not tried Safari) but not with FireFox.  The first time I click a PDF link from my WebHelp project (yes, it's posted on a server), the help link works fine. The PDF opens to the named destination.  Subsequent links to different destinations in the same PDF, however, update the browser with the proper URL but the PDF does not change to the new location. 
    eg:
    Link1:
    http://10.20.160.7:8080/help/test/cdm_agent_guide.pdf#cdmasi
    Displays the PDF opened to the page tagged with cdmasi
    then click this:
    http://10.20.160.7:8080/help/test/cdm_agent_guide.pdf#cdmacdm
    Page seems to be loading but...
    URL status bar shows the above URL, but the PDF has remained on the ASI topic (Chrome) or a blank page displays.
    Click the URL bar and refresh to load the link
    The PDF moves to the correct topic.
    Note:
    This behavior is the same whether i use foo.pdf#nameddest=string  or foo.pdf#string
    Again, if I use FireFox, the pages load great. In IE/Chrome, not.
    Deets:
    IE 11.0.9600.16428
    Chrome 33.0.1750.146
    Firefox 27.01
    Windows 7
    RoboHelp 10
    Acrobat Pro X
    Acrobat Read 10.1.9
    I am pretty sure this is not a security thing or the first instance would fail. Also, it's not a Mark of the Web thing; we dont have that enabled for the project.
    Am I missing something obvious about forcing a refetch of the PDF?
    D

    I wonder if there is anything in the Acrobat forum that would help? Maybe others have experienced with links from websites rather than webhelp.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Usage of InvalidEditFormDataException

    What is the proper usage of the InvaliEditFormDataException? The Java docs state:
    "Upon catching this exception, the desktop will return the user to the provider's edit page, and insert into the page the result of this class's getMessage() method."
    Yet when the exception is thrown in the processEdit method i get the "A serious error has occured... " message in the web browser.
    Viewing the logs i see this error:
    12/03/2002 11:19:25:798 AM EST: Thread[Thread-46,5,main]
    ERROR: DesktopServlet.handleException()
    java.lang.ClassCastException: java.lang.String
    at com.sun.portal.desktop.DesktopRequest.getParameterValues(DesktopRequest.java:246)
    at com.sun.portal.providers.jsp.JSPProvider.processJspFile(JSPProvider.java:670)
    at com.sun.portal.providers.jsp.JSPProvider.getEdit(JSPProvider.java:522)
    at com.sun.portal.desktop.DesktopServlet.doGetPost(DesktopServlet.java:516)
    at com.sun.portal.desktop.DesktopServlet.service(DesktopServlet.java:303)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServletRunner.java:897)
    at com.iplanet.server.http.servlet.WebApplication.service(WebApplication.java:1065)
    at com.iplanet.server.http.servlet.NSServletRunner.ServiceWebApp(NSServletRunner.java:959)
    public URL processEdit(HttpServletRequest request, HttpServletResponse response)
    throws ProviderException {
    if (log.isInfoEnabled()) log.info("Start processEdit");
    try {
    validateRequestParameters(request);
    } catch (InvalidEditFormDataException e) {
    log.error(e.getMessage());
    throw new InvalidEditFormDataException(e.getMessage());
    When viewing the url status bar I can see my error message URL encoded as the value for the parameter 'error'.
    Any pointers?

    Hi,
    moduloPrevious—Given a dimension and a location, adds the previous location to the
    calculation shape
    moduloPrevious(Dimension d, ProgramContext ctx)
    I used following formula:
    "mp1"[level(Month)]=if(isPast(member(FiscalCalendar)),"Actual Demand"[moduloPrevious("FiscalCalendar")],"Actual Demand")
    Here “Actual Demand” is loaded measure.

  • Adding Custom screen for Create Space functionality in WebCenter Spaces

    I need some information on WebCenter Spaces.
    By default there are couple of parameters such as Space name, description, tag, url, status (Public, Private) etc. is required to create the Space with the Out-of-the-box screen in Spaces. But we have a requirement to create Group Space with some additional parameters too.
    I am finding a solution for that. Can we build a task flow with all the parameters that we need to create the Spaces ? If that is possible, can we use Spaces API to create the space and then deploy that task flow in Spaces ?
    Please let me know if there are any other options.

    Hi.
    Yes you can. Build a Task Flow consuming Spaces API (WebService or REST) and setting custom properties to it.
    Steps that you have to follow is:
    - Use API to create your group Space:
    //create the Space
    GroupSpaceWSMetadata gsMetadata =
    client.createGroupSpace("Databases", "Databases" "A community for people interested in databases", "databases, oracle", "CommunityofInterest");
    //print the Space GUID to provide confirmation of creation
    System.out.println("GUID: " + gsMetadata.getGuid());- You can add programmatically custom attributes:
    //create the custom attribute
    client.setCustomAttribute("Databases", "Vendors", "List of vendors", "java.lang.String", "Oracle, IBM");Code is from WebCenter Spaces API off doc: http://docs.oracle.com/cd/E25178_01/webcenter.1111/e10148/jpsdg_spaces.htm#CIHIJBIG
    Regards.

  • Is there any way to simplify this rules in ACE

    Hello Support Forum Members,
    i just create some ACL rules in cisco ACE 4710.
    here are some rules,
    class-map type http inspect match-any DENIED_URL
      2 match url .*.exe
      3 match url .*.php
      4 match url .*.asp
      5 match url .*.aspx
      6 match url .*.cgi
      7 match url .*.pl
      8 match url .*.bat
      9 match url .*.cfm
      10 match url .*.ihtml
      11 match url .*.las
      12 match url .*.lasso
      13 match url .*.lassoapp
      14 match url .*.phtml
      15 match url .*.rna
      16 match url .*.r
      17 match url .*.shtml
      18 match url .*.stm
      19 match url .*.ini
      20 match url .*.dll
      21 match url .*.htx
      22 match url .*.htw
      23 match header mime-type video\*
      24 match header mime-type audio\*
      25 match content ".*[bB][fF]6[eE][fF][fF][fF]3[-]4558[-]4[cC]4[cC][-][aA][dD][aA][fF][-][aA]87891[cC]5[fF]3[aA]3.*"
      26 match content ".*[lL][iI][sS][tT][cC][tT][rR][lL]\x2e[lL][iI][sS][tT][cC][tT][rR][lL][cC][tT][rR][lL]\x2e1.*"
      27 match url .*.ico
      28 match url .*etc.*
      29 match url .*wp[-].*
      30 match request-method rfc trace
      31 match url /images
      32 match request-method rfc delete
      33 match request-method rfc options
      34 match request-method rfc put
      35 match url /status
      36 match request-method rfc head
      37 match request-method rfc connect
    class-map type http inspect match-any URL_TO_PERMIT
      4 match request-method rfc get
      5 match request-method rfc post
      7 match header length request range 200 200
      12 match url /stripe/.*
      13 match url /stripe-string/.*
      15 match url /
      16 match url /foobar/agent.*
    my query is, can i simplify this rule become some few of lines.?
    my need is : all access to /foobar/agent, /stripe-string/, /stripe with get and post method are allowed, also with situation server response is 200 200, other will be crush.
    it's possible i simplify the rule in ace.
    many thanks in advanced
    hamzah

    Hi Hamzah,
    If you know exactly what you need to allow then you can be as specific as you can be and other than that if you need to deny everything then you can generalize. Now in your case class-map "URL_TO_PERMIT" you have match condition  "/" which basically matches all other statments like /stripe/.*, /stripe-string/.*,/foobar/agent.*. Either you remove that or there is no use of other statements to put in along with "/" unless it is like test.com/ or foobar.com/ or stripe.com/ etc.
    Also, you want 200 server response to be allowed but in match condition you have mentioned "request range". Please change that as well.
    Regards,
    Kanwal

  • Problem in calling window.open using onclick

    Would anybody please help to explain why it doesn't work for method 2?Now I am very headache as I cannot explain why this work to my boss.
    I want to popup a new window when clicking the logon image. Method 1 works fine, but no response for Method 2.
    Method 1:
    <A onclick="window.open(' https://www.dummy.com','test','width='+screen.width+',height='+screen.height*0.88+',location=no,directories=no,menubar=no,toolbar=no,scrollbars=yes,status=yes,resizable=yes,left=0,top=0'); " href="javascript:void(0)">
    <IMG alt=Logon src="logon.gif"></A>
    Method 2:
    <IMG alt=Logon src="logon.gif">
    function pws_logon_en() {
    pws_popupNewBrowser ('https://dummy.com', 'yes', 'no', 'yes', 'no', 'no', 'yes', screen.width, screen.height*0.9);
    function pws_popupNewBrowser(url, status, location, scroll, mbar, toolbar, resize, width, height, winname)
         !winname? winname='nb':winname=winname;
         nb=window.open(url, winname, 'status=' + status + ',location=' + location + ',scrollbars=' + scroll + ',menubar=' + mbar + ',toolbar=' + toolbar + ',resizable=' + resize + ',height=' + height + ',width=' + width + ',left=0,top=0');
         nb.focus();
    }

    > <IMG alt=Logon src="logon.gif">
    Where is popup() function in your method 2?

  • Comparing columns within cfgrid

    I have 2 queries that populate a third query using cfloop and
    querynew. The third query, "table1", works just fine. But I am
    using a java format cfgrid to output "table1". I want to highlight,
    change color, or something, when the value in one column's row does
    not match another column's row. Is that possible? How?

    Here's my code:
    <cfquery name="qrytl2000" datasource="libl">
    SELECT #choose2# FROM tldb70.drmst WHERE dracpy = 05 AND
    drasts IN (#preservesinglequotes(status2)#) AND (DRASID = '100' OR
    DRASID = '300')
    AND dradsp IN (99981,99982,99991,99992,99993,99994)
    </cfquery>
    <cfset table1 =
    querynew("tl2000drivercode,tl2000drivername,tl2000fleet,tl2000status,sqldrivercode,sqldri vername,sqlfleet,sqlstatus","varchar,varchar,integer,varchar,varchar,varchar,integer,varch ar")>
    <cfloop query="qrytl2000">
    <cfset addrow = queryaddrow(table1,1)>
    <cfset driverset =
    querysetcell(table1,"tl2000drivercode",qrytl2000.dradrv)>
    <cfset nameset =
    querysetcell(table1,"tl2000drivername",qrytl2000.dranam)>
    <cfquery name="qrysql" datasource="timeoff">
    SELECT #choose# FROM dbo.log_status WHERE drivercode =
    '#trim(qrytl2000.dradrv)#'
    </cfquery>
    <cfset driverset2 =
    querysetcell(table1,"sqldrivercode",qrysql.drivercode)>
    <cfset nameset2 =
    querysetcell(table1,"sqldrivername",qrysql.drivername)>
    <!---This section is for the Fleet number from TL2000.
    JP--->
    <cfif isDefined("qrytl2000.dradsp") AND
    #qrytl2000.dradsp# NEQ "">
    <cfset fleetset =
    querysetcell(table1,"tl2000fleet",qrytl2000.dradsp)>
    <cfset fleetset2 =
    querysetcell(table1,"sqlfleet",qrysql.fleet)>
    <cfelse>
    <cfset fleetset =
    querysetcell(table1,"tl2000fleet","")>
    <cfset fleetset2 = querysetcell(table1,"sqlfleet","")>
    </cfif>
    <!---This section is for the Driving Status from TL2000.
    JP--->
    <cfif isDefined("qrytl2000.drasts") AND
    #qrytl2000.drasts# NEQ "">
    <cfset statusset =
    querysetcell(table1,"tl2000status",qrytl2000.drasts)>
    <cfset statusset2 =
    querysetcell(table1,"sqlstatus",qrysql.drivingstatus)>
    <cfelse>
    <cfset statusset =
    querysetcell(table1,"tl2000status","")>
    <cfset statusset2 =
    querysetcell(table1,"sqlstatus","")>
    </cfif>
    </cfloop>
    <cfformgroup type="horizontal">
    <cfgrid name="details" query="table1" format="applet"
    colheaderbold="yes" colheaderalign="center" rowheaders="no"
    griddataalign="center" height="650" width="1200">
    <cfif #table1.sqlstatus# NEQ #table1.tl2000status#>
    <cfgridcolumn header="TL2000 PTO Code"
    name="tl2000drivercode" bgcolor="##FF3333" dataalign="left"
    width="120">
    <cfgridcolumn header="Database PTO Code"
    name="sqldrivercode" bgcolor="##FF3333" dataalign="left"
    width="140">
    <cfif isDefined("URL.drivername") AND #URL.drivername# EQ
    "drivername">
    <cfgridcolumn header="TL2000 PTO Name"
    name="tl2000drivername" bgcolor="##FF3333" dataalign="left"
    width="200">
    <cfgridcolumn header="Database PTO Name"
    name="sqldrivername" bgcolor="##FF3333" dataalign="left"
    width="200">
    </cfif>
    <cfif isDefined("URL.fleet") AND #URL.fleet# EQ
    "fleet">
    <cfgridcolumn header="TL2000 Fleet" name="tl2000fleet"
    bgcolor="##FF3333" width="100">
    <cfgridcolumn header="Database Fleet" name="sqlfleet"
    bgcolor="##FF3333" width="100">
    </cfif>
    <cfif isDefined("URL.status") AND #URL.status# EQ
    "status">
    <cfgridcolumn header="TL2000 PTO Status"
    name="tl2000status" bgcolor="##FF3333" width="140">
    <cfgridcolumn header="Database PTO Status"
    name="sqlstatus" bgcolor="##FF3333" width="140">
    </cfif>
    <cfelse>
    <cfgridcolumn header="TL2000 PTO Code"
    name="tl2000drivercode" dataalign="left" width="120">
    <cfgridcolumn header="Database PTO Code"
    name="sqldrivercode" dataalign="left" width="140">
    <cfif isDefined("URL.drivername") AND #URL.drivername# EQ
    "drivername">
    <cfgridcolumn header="TL2000 PTO Name"
    name="tl2000drivername" dataalign="left" width="200">
    <cfgridcolumn header="Database PTO Name"
    name="sqldrivername" dataalign="left" width="200">
    </cfif>
    <cfif isDefined("URL.fleet") AND #URL.fleet# EQ
    "fleet">
    <cfgridcolumn header="TL2000 Fleet" name="tl2000fleet"
    width="100">
    <cfgridcolumn header="Database Fleet" name="sqlfleet"
    width="100">
    </cfif>
    <cfif isDefined("URL.status") AND #URL.status# EQ
    "status">
    <cfgridcolumn header="TL2000 PTO Status"
    name="tl2000status" width="140">
    <cfgridcolumn header="Database PTO Status"
    name="sqlstatus" width="140">
    </cfif>
    </cfif>
    </cfgrid>
    </cfformgroup>
    How can I compare the individual rows of data between the
    columns; ie, tl2000drivercode compared with sqldrivercode to see if
    they match or not?

  • Javascript error on SharePoint page

    Hi Team,
    I'm updating a list column value by comparing a value of field from the same list using JS. It is working fine. But throwing javascript error on the page. 
    Below is the snippet.
    var web = null;
    var clientContext = null;
    var list = null;
    var item = null;
    var reviewStatus = null;
    $(document).ready(function () {
    setInterval(function () {
    $Text = $("td.ms-cellstyle.ms-vb2:contains('No')");
    $Text.parent().css("background-color", "#FFb3BD");
    $("input[name='teamCheckbox']").change(function () {
    var controlid = $(this).attr("id");
    var parts = controlid.split('_');
    var itemID = parts[1];
    clientContext = new SP.ClientContext(_spPageContextInfo.webAbsoluteUrl);
    var list = clientContext.get_web().get_lists().getById(_spPageContextInfo.pageListId);
    item = list.getItemById(itemID);
    clientContext.load(item);
    clientContext.load(item, 'Status');
    clientContext.executeQueryAsync(Function.createDelegate(this, LoadStatus), Function.createDelegate(this, onQueryFailed));
    }, 900);
    function LoadStatus() {
    reviewStatus = item.get_item('Status');
    if(reviewStatus)
    item.set_item('Status', 0);
    item.update();
    clientContext.load(item);
    clientContext.executeQueryAsync(Function.createDelegate(this, UpdateNo), Function.createDelegate(this, onQueryFailed1));
    }else
    item.set_item('Status', 1);
    item.update();
    clientContext.load(item);
    clientContext.executeQueryAsync(Function.createDelegate(this, UpdateYes), Function.createDelegate(this, onQueryFailed1));
    function onQueryFailed() {
    alert("Request Failed at 1st asych");
    function onQueryFailed1(){
    alert("Request Failed at 2nd asynch");
    function UpdateYes() {
    //reviewStatus = null;
    function UpdateNo()
    //reviewStatus = null;
    I'm getting the below JS error :
    Message: The property or field has not been initialized. It has not been requested or the request has not been executed. It may need to be explicitly requested. URI: _layouts/15/sp.debug.js?rev=vK8qdKxCg9qccxdMK5Ebzg%3D%3D
    $Q_2: function SP_ListItem$$Q_2($p0) {
    var $v_0 = (this.get_fieldValues())[$p0];
    if (SP.ScriptUtility.isUndefined($v_0)) {
    throw Error.create(SP.ResResources.getString(SP.ResourceStrings.propertyHasNotBeenInitialized));
    return $v_0;
    I have tried by calling the 2nd async query by changing to item.get_Context(); doesn't helped me.
    Please suggest how to kill this error...
    Thanks,
    Bharath P N
    P N Bharath

    Hi Dennis,
    I had tried by updating the script. But it is failing in update the list item. Please let me know if i'm doing wrong?
    $(document).ready(function () {
    setInterval(function () {
    $Text = $("td.ms-cellstyle.ms-vb2:contains('No')");
    $Text.parent().css("background-color", "#FFb3BD");
    $("input[name='teamCheckbox']").change(function () {
    var controlid = $(this).attr("id");
    var parts = controlid.split('_');
    var itemID = parts[1];
    var ctx = GetCurrentCtx();
    var listName = ctx.ListTitle;
    var url = _spPageContextInfo.webAbsoluteUrl;
    var currentStatus = null;
    var Status = null;
    getListItemWithId(itemID, listName, url, function (data) {
    if (data.d.results.length == 1) {
    currentStatus = data.d.results[0].Status;
    }, function (data) {
    alert("Error in GetListItemwithID method");
    if (currentStatus) {
    Status = 0;
    updateListItem(url, listName, itemID, Status, function () {
    alert("Item updated, refreshing avilable items");
    }, function () {
    alert("Ooops, an error occured. Please try again");
    } else {
    Status = 1;
    updateListItem(itemID, listName, url, Status, function () {
    alert("Item updated, refreshing avilable items");
    }, function () {
    alert("Ooops, an error occured else loop. Please try again");
    }, 900);
    function getListItemWithId(itemId, listName, siteurl, success, failure) {
    var url = siteurl + "/_api/web/lists/getbytitle('" + listName + "')/items?$filter=Id eq " + itemId;
    $.ajax({
    url: url,
    method: "GET",
    headers: { "Accept": "application/json; odata=verbose" },
    success: function (data) {
    success(data);
    error: function (data) {
    failure(data);
    function GetItemTypeForListName(name) {
    return "SP.Data." + name.charAt(0).toUpperCase() + name.split(" ").join("").slice(1) + "ListItem";
    function updateListItem(itemId, listName, siteUrl, title, success, failure) {
    var itemType = GetItemTypeForListName(listName);
    var item = {
    "__metadata": { "type": itemType },
    "Status": title
    getListItemWithId(itemId, listName, siteUrl, function (data) {
    $.ajax({
    url: data.d.results[0].__metadata.uri,
    type: "POST",
    contentType: "application/json;odata=verbose",
    data: JSON.stringify(item),
    headers: {
    "Accept": "application/json;odata=verbose",
    "X-RequestDigest": $("#__REQUESTDIGEST").val(),
    "X-HTTP-Method": "MERGE",
    "If-Match": data.d.results[0].__metadata.etag
    success: function (data) {
    success(data);
    error: function (data) {
    failure(data);
    }, function (data) {
    failure(data);
    P N Bharath

Maybe you are looking for

  • Internal speakers and headphones are not working

    I have hp g6 2231tx os Windows 8, brought it a month ago..now it's internal speakers and headphones are not working..I enabled in playback device from sound mixer and reinstalled drivers but still not working..it's because of hardware or software??

  • CS-6: "STRANGE" SAVE BEHAVIOUR

    REF: PS/Bridge CS-6 / Win-7-64 / Intel i7 / 16GB RAM/ 100GB Scratch. I had been saving a few different crop versions of the same 16 bit image (with layers) (less than 400GB file/s) in the TIF format, with no problems until: One showed up in Bridge as

  • About to write C_TB1200_88

    Hello all. I'm about to write the C_tb1200_88 exam, and was wondering if there was any additional information on the coverage? The description below is much more vague than the C_tb1200_07 exam description. For example, "Standard Setup and Configurat

  • Flash site with Back Button and Favorites enabled

    I've search everywhere I can think and can't find the answer I need. I want the user to be able to bookmark or use a back button in internet explorer or any internet browser on a 100% flash-based site. For Example: http://www.mountaindewgamefuel.com/

  • Modprobe: Fatal: Could not load /lib/modules/2.6.38/modules.dep

    Hi, I'm currently developing a kernel module and chose Arch as my development environment. All worked fine, but after compiling my own kernel, I always get the message in the topic during bootup (The message is actually getting repeated quite often,