Site url in preview url

For preview feature in bcc, i have specified a HomePagePath.properties files which contains the following content
$class=atg.service.preview.PreviewPath
defaultPath=/crs/index.jsp
But instead of this hard-coded url, i would like to add site url to the defaultPath so that it might look like defaultPath=/crs/${site.id}/index.jsp
My requirement is to preview the home page of that site, on which i am making changes in the Merchandising screen. So if i am selecting homeus
the url should go to /crs/homeus instead of /crs/index.jsp.

I have not tried this but I guess you can use RequestParameterRuleFilter for this and pass the pushSite and stickySite query parameters in your preview URL. Check the configuration of /atg/multisite/RequestParameterRuleFilter on your preview server. For details refer this documentation:
Oracle ATG Web Commerce - Installed Rule Filters

Similar Messages

  • Another site already exists at . Delete this site before attempting to create a new site with the same URL

    Hi Everyone,
    It would be great if you can help me with the below.
    Few days ago one of our content db went into suspect mode.  Our DB team had resolved the issue. But one of the sites that was created probably around the same time is no more available. When I try to create a site on the same URL, I get the following
    error.
    Another site already exists at <URL>. Delete this site before attempting to create a new site with the same URL
    When I try to delete the site or if I try to view the details of the site using Central Administration, I can find the site, but it doesn't display any details like Title, DB Name etc.
    If I use stsad -o enumsites command to list ll the site, for the given site I get the following error:
    <nativehr>0x80070002</nativehr><nativestack></nativestack>There is no Web named <URL>.
    I am not even able to delete it using Powershell.
    Please suggest.
    Thanks,
    Uttkarsh

    You might be dealing with orphaned site. Go through the following blog post and see if it helps you delete the orphaned sites.
    http://www.cjvandyk.com/blog/Lists/Posts/Post.aspx?ID=299
    Amit

  • I used to be able to access a site that I go to almost every day, Now I get Invalid URL The requested URL "/", is invalid. Reference #9.e452ccc0.1418310938.1ab

    I used to be able to access a certain website I goto almost everyday, by just finding the name in google search and clicking on the link found. Now for the past few days everytime I click on the link, I get this message:
    Invalid URL
    The requested URL "/", is invalid.
    Reference #9.f152ccc0.1418311273.10a6c886
    I tried going to the site from other different browers like google chrome, internet explorer and it still doesn't work.
    I cleared my caches, virus and anti malware checks.
    I even tried entering http:// before www and it still doesnt work. It gives me another message:
    Invalid URL
    The requested URL "/", is invalid.
    Reference #9.e452ccc0.1418311360.1ab2b938
    Please somebody help me
    Thanks

    I used a tracer;
    traceroute to revitcity.com (96.17.116.226), 30 hops max, 38 byte packets
    1 32.208.200.3 (32.208.200.3) 294.816 ms 69.444 ms 199.510 ms
    2 * 32.223.0.220 (32.223.0.220) 88.627 ms 20.079 ms
    3 32.223.104.37 (32.223.104.37) 23.946 ms 21.842 ms 32.223.104.33 (32.223.104.33) 72.087 ms
    4 ae4---0.car01.wlfr.ct.frontiernet.net (74.40.71.93) 81.267 ms 30.892 ms 76.408 ms
    5 ae6---0.cor01.nycm.ny.frontiernet.net (74.40.5.209) 118.819 ms 121.154 ms 88.931 ms
    6 * ae0---0.cbr01.nycm.ny.frontiernet.net (74.40.4.82) 23.539 ms *
    7 12.252.234.5 (12.252.234.5) 140.338 ms 12.252.234.13 (12.252.234.13) 114.809 ms 12.252.234.25 (12.252.234.25) 141.691 ms
    8 12.122.131.226 (12.122.131.226) 27.119 ms cr2.n54ny.ip.att.net (12.122.130.154) 26.317 ms 25.650 ms
    9 ggr7.n54ny.ip.att.net (12.122.131.93) 24.862 ms igs3.n54ny.ip.att.net (12.122.115.89) 23.760 ms 75.351 ms
    10 ae-15.r05.nycmny01.us.bb.gin.ntt.net (129.250.9.205) 23.138 ms 24.597 ms 24.173 ms
    11 ae-1.r23.nycmny01.us.bb.gin.ntt.net (129.250.4.68) 56.422 ms 35.363 ms 91.407 ms
    12 * * *
    13 ae-0.r23.asbnva02.us.bb.gin.ntt.net (129.250.3.85) 149.758 ms 156.189 ms *
    14 ae-1.r20.miamfl02.us.bb.gin.ntt.net (129.250.2.87) 154.165 ms 255.093 ms 242.591 ms
    15 ae-1.r05.miamfl02.us.bb.gin.ntt.net (129.250.2.185) 184.896 ms 182.873 ms 237.469 ms
    16 * a96-17-116-226.deploy.akamaitechnologies.com (96.17.116.226) 339.482 ms 262.937 ms

  • WRT320N v2 - Site Routes to different URL

    Is there a reason it does this? its so annoying! Websites sometimes become different websites or fail. If I reset the router it works fine. Happens daily sometimes 2-3 times. wrt32on-v2 is the router i have. sites will just randomly stop working says invalid. then a site link becomes diff site "says Invalid URL - The requested URL "/", is invalid. Reference #9.5db302cc.1337808526.24b67a71 --- THIS HAPPENS ALL THE TIME. WHY?

    Try to isolate the problem by bypassing the router and connect your computer to the modem then check if you will still have the same problem. You can also try to delete the browsing history of your browser and check if it makes any difference.

  • I'm migrating a WP site to BC. I want to use a web app for their Blog...is there any way to have the web app item show in the root url vs root-url/web-app-name/web-app-item-name?

    I'm migrating a WP site to BC. I want to use a web app for their Blog...is there any way to have the web app item show in the root url vs root-url/web-app-name/web-app-item-name?

    Hi Justin,
    There's nothing like that atm. Please see http://forums.adobe.com/message/4730854
    Cheers,
    -mario

  • How to display URL images and URL link (html) from Smartforms?

    Hi Gurus,
    I'm having difficulty on how to display targeted URL images and URL link from the smartforms, after i sending it out as html mail. The mail i sent just can be preview as a plain text, which can't execute the html code that i put inside the smartforms itself. I follow a few step from this very useful blog.. Hopefully, you guys can give me some solutions or ideas on this.
    /people/pavan.bayyapu/blog/2005/08/30/sending-html-email-from-sap-crmerp -thanks to Pavan for his useful blog.
    My code is like this..
    <--- Start Code.
    FORM call_smartforms.
      DATA : lv_subject TYPE so_obj_des,
             lc_true(1) VALUE 'X',
             lw_control_parameters TYPE ssfctrlop,
             lw_output_options TYPE ssfcompop,
             lc_graphics(8) VALUE 'GRAPHICS',
             lw_xsfparam_line TYPE ssfxsfp,
             lc_extract(7) VALUE 'EXTRACT',
             lc_graphics_directory(18) VALUE 'GRAPHICS-DIRECTORY',
             lc_mygraphics(11) VALUE 'mygraphics/',
             lc_content_id(10) VALUE 'CONTENT-ID',
             lc_enable(6) VALUE 'ENABLE',
             lw_job_output_info TYPE ssfcrescl,
             lw_html_data TYPE trfresult,
             lw_graphics TYPE ssf_xsf_gr,
             lt_graphics TYPE tsf_xsf_gr,
             lv_html_xstr TYPE xstring,
             lw_html_raw LIKE LINE OF lw_html_data-content,
             lv_incode TYPE tcp00-cpcodepage VALUE '4110',
             lv_html_str TYPE string,
             lv_html_len TYPE i,
             lc_utf8(5) VALUE 'utf-8',
             lc_latin1(6) VALUE 'latin1',
             lv_offset TYPE i,
             lv_length TYPE i,
             lv_diff TYPE i,
             lt_soli TYPE soli_tab,
             lw_soli TYPE soli,
             lc_mime_helper TYPE REF TO cl_gbt_multirelated_service,
             lv_name TYPE mime_text VALUE 'sapwebform.htm',
             lv_xstr TYPE xstring,
             lw_raw TYPE bapiconten,
             lt_solix TYPE solix_tab,
             lw_solix TYPE solix,
             lv_filename TYPE string,
             lv_content_id TYPE string,
             lv_content_type TYPE w3conttype,
             lv_obj_len TYPE so_obj_len,
             lv_bmp TYPE so_fileext VALUE 'BMP',
             lv_description TYPE so_obj_des VALUE 'Graphic in BMP format',
             lc_doc_bcs TYPE REF TO cl_document_bcs,
             lc_bcs TYPE REF TO cl_bcs,
             lc_send_exception TYPE REF TO cx_root,
             lw_adsmtp TYPE lty_adsmtp,
             lv_mail_address TYPE ad_smtpadr,
             lc_recipient TYPE REF TO if_recipient_bcs,
             lc_send_request TYPE REF TO cl_bcs,
             lv_sent_to_all TYPE os_boolean.
      DATA : v_language TYPE sflangu VALUE 'E',
             v_e_devtype TYPE rspoptype.
      v_form_name = 'ZTEST_EMAIL'.
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname           = v_form_name
        IMPORTING
          fm_name            = v_namef
        EXCEPTIONS
          no_form            = 1
          no_function_module = 2
          OTHERS             = 3.
      IF sy-subrc = 0.
       break mhusin.
      ENDIF.
    starting here. ***
    Set title for the output
      lv_subject = 'Smartforms.'.
    Set control parameters to "no dialog"
      lw_control_parameters-no_dialog = lc_true.
    IF lw_service_subject-code = lc_fm1.
    *--- To get output device type
      CALL FUNCTION 'SSF_GET_DEVICE_TYPE'
        EXPORTING
          i_language    = v_language
          i_application = 'SAPDEFAULT'
        IMPORTING
          e_devtype     = v_e_devtype.
      lw_output_options-tdprinter = v_e_devtype.
      lw_control_parameters-getotf = 'X'.
      IF sy-subrc = 0.
       break mhusin.
      ENDIF.
    Set output options
      lw_output_options-xsf        = lc_true.
      lw_output_options-xsfcmode   = lc_true.
      lw_output_options-xsfoutmode = 'A'.
      lw_output_options-xsfoutdev  = space.
      lw_output_options-xsfformat  = lc_true.
      lw_xsfparam_line-name  = lc_graphics.
      lw_xsfparam_line-value = lc_extract.
      APPEND lw_xsfparam_line TO lw_output_options-xsfpars.
      lw_xsfparam_line-name  = lc_graphics_directory.
      lw_xsfparam_line-value = lc_mygraphics.
      APPEND lw_xsfparam_line TO lw_output_options-xsfpars.
      lw_xsfparam_line-name  = lc_content_id.
      lw_xsfparam_line-value = lc_enable.
      APPEND lw_xsfparam_line TO lw_output_options-xsfpars.
    Get the smartform content
      CALL FUNCTION v_namef
        EXPORTING
          control_parameters   = lw_control_parameters
          output_options       = lw_output_options
    *pass other application specific parameters (eg order number, items ).
      IMPORTING
          job_output_info    = lw_job_output_info
      TABLES
          tt_tabh              = tt_tabh
          tt_tabb              = tt_tabb
          tt_tabf              = tt_tabf
      EXCEPTIONS
          formatting_error = 1
          internal_error   = 2
          send_error       = 3
          user_canceled    = 4
          OTHERS           = 5.
      IF sy-subrc = 0.
       break mhusin.
      ENDIF.
      lw_html_data  = lw_job_output_info-xmloutput-trfresult.
      lt_graphics[] = lw_job_output_info-xmloutput-xsfgr[].
      CLEAR lv_html_xstr.
      LOOP AT lw_html_data-content INTO lw_html_raw.
        CONCATENATE lv_html_xstr lw_html_raw INTO lv_html_xstr IN BYTE MODE.
      ENDLOOP.
      lv_html_xstr = lv_html_xstr(lw_html_data-length).
      CALL FUNCTION 'SCP_TRANSLATE_CHARS'
        EXPORTING
          inbuff       = lv_html_xstr
          incode       = lv_incode
          csubst       = lc_true
          substc_space = lc_true
        IMPORTING
          outbuff      = lv_html_str
          outused      = lv_html_len
        EXCEPTIONS
          OTHERS       = 1.
    *HACK THE HTML CODE GENERATED BY SMARTFORM TO MAKE THE
    *EXTERNAL IMAGES APPEAR AS <IMG> TAG IN HTML
      REPLACE ALL OCCURRENCES OF '<IMG' IN lv_html_str WITH '<IMG' IGNORING CASE.
      REPLACE ALL OCCURRENCES OF '/>' IN lv_html_str WITH '/>' IGNORING CASE.
      REPLACE ALL OCCURRENCES OF '</A>' IN lv_html_str WITH '' IGNORING CASE.
      REPLACE ALL OCCURRENCES OF '<' IN lv_html_str WITH '<' IGNORING CASE.
      REPLACE ALL OCCURRENCES OF '>' IN lv_html_str WITH '>' IGNORING CASE.
    CALL METHOD html_control - >load_mime_object
       EXPORTING
         object_id  = 'ZWN'
         object_url = 'ZWN.GIF'
       EXCEPTIONS
         OTHERS     = 1.
      REPLACE ALL OCCURRENCES OF lc_utf8 IN lv_html_str WITH lc_latin1.
    REPLACE ALL OCCURRENCES OF lc_utf8 IN lv_html_str WITH 'iso-8859-1'.
       break mhusin.
      lv_html_len = STRLEN( lv_html_str ).
      lv_offset = 0.
      lv_length = 255.
      WHILE lv_offset < lv_html_len.
        lv_diff = lv_html_len - lv_offset.
        IF lv_diff > lv_length.
          lw_soli-line = lv_html_str+lv_offset(lv_length).
        ELSE.
          lw_soli-line = lv_html_str+lv_offset(lv_diff).
        ENDIF.
        APPEND lw_soli TO lt_soli.
        ADD lv_length TO lv_offset.
      ENDWHILE.
      CREATE OBJECT lc_mime_helper.
      CALL METHOD lc_mime_helper->set_main_html
        EXPORTING
          content     = lt_soli
          filename    = lv_name
          description = lv_subject.
      LOOP AT lt_graphics INTO lw_graphics.
        CLEAR lv_xstr.
        LOOP AT lw_graphics-content INTO lw_raw.
          CONCATENATE lv_xstr lw_raw-line INTO lv_xstr IN BYTE MODE.
        ENDLOOP.
        lv_xstr = lv_xstr(lw_graphics-length).
        lv_offset = 0.
        lv_length = 255.
        CLEAR lt_solix[].
        WHILE lv_offset < lw_graphics-length.
          lv_diff = lw_graphics-length - lv_offset.
          IF lv_diff > lv_length.
            lw_solix-line = lv_xstr+lv_offset(lv_length).
          ELSE.
            lw_solix-line = lv_xstr+lv_offset(lv_diff).
          ENDIF.
          APPEND lw_solix TO lt_solix.
          ADD lv_length TO lv_offset.
        ENDWHILE.
        CONCATENATE lc_mygraphics lw_graphics-graphics text-001 INTO lv_filename.
        CONCATENATE lc_mygraphics lw_graphics-graphics text-001 INTO lv_content_id.
        lv_content_type = lw_graphics-httptype.
        lv_obj_len      = lw_graphics-length.
    *Add images to the email
        CALL METHOD lc_mime_helper->add_binary_part
          EXPORTING
            content      = lt_solix
            filename     = lv_filename
            extension    = lv_bmp
            description  = lv_description
            content_type = lv_content_type
            length       = lv_obj_len
            content_id   = lv_content_id.
      ENDLOOP.
      TRY.
          lv_subject = lv_subject.
          lc_doc_bcs = cl_document_bcs=>create_from_multirelated(
                   i_subject          = lv_subject
                   i_multirel_service = lc_mime_helper ).
        CATCH cx_document_bcs INTO lc_send_exception.
        CATCH cx_bcom_mime INTO lc_send_exception.
        CATCH cx_gbt_mime INTO lc_send_exception.
      ENDTRY.
    Create send request
      TRY.
          lc_bcs = cl_bcs=>create_persistent( ).
        CATCH cx_send_req_bcs INTO lc_send_exception.
      ENDTRY.
      TRY.
          lc_bcs->set_document( i_document = lc_doc_bcs ).
        CATCH cx_send_req_bcs INTO lc_send_exception.
      ENDTRY.
    Set-up email receiver
      lv_mail_address = '[email protected]'.
    TRANSLATE lv_mail_address TO UPPER CASE.
      TRY.
          lc_recipient = cl_cam_address_bcs=>create_internet_address(
              i_address_string = lv_mail_address ).
        CATCH cx_address_bcs INTO lc_send_exception.
      ENDTRY.
      TRY.
          lc_bcs->add_recipient( i_recipient = lc_recipient ).
        CATCH cx_send_req_bcs INTO lc_send_exception.
      ENDTRY.
    Send smartforms as HTML email
      TRY.
          lc_bcs->send( ).
        CATCH cx_send_req_bcs INTO lc_send_exception.
      ENDTRY.
      COMMIT WORK.
      WRITE:/ 'Mail sent'.
    ENDFORM.                    "call_smartforms
    End Code --->
    Thanks and Regards.

    1- put your images in a directory under the web app directory. Example: app/images/
    2- in your jsp, use: String file = application.getRealPath("/images/"); to get the images directory. See http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/ServletContext.html#getRealPath(java.lang.String)
    3- it's not the right forum to post this kind of question. Post them in the JSP/Servlet JSTL forum instead

  • "Unable to find report specified by URL,Please verify that both Server URL and Report URL are correct". Performance Point Dashboard Designer (SP 2013), SSRS 2012 Report.

    Hello Everybody,
    I am using Sharepoint server 2013 , SQL Server 2012 SP1, PerfomancePoint and Reporting Services in SharePoint integrated mode.
    I built one report in SSDTusing an Analysis Services Cube. This report has 3 parameters. So the idea is use Dashboard Designer to use this SSRS Report and connect it with some PP Filters.
    The issue is that I am always obtaining "Unable to find report specified by URL,Please verify that both Server URL and Report URL are correct".
    I have the following settings in the PP Report:
    Server Mode: SharePoint Integrated
    SharePoint Site: http://MySharrepointSite:PortNumber/sites/bicenter
    Document library : Documents (selected from drop down, my report is deployed to document library)
    Report : report.rdl
    When I select the report from drop down list its giving the error in a pop up message box as "Unable
    to find report specified by URL,Please verify that both Server URL and Report URL are correct".
    I have tried to use the most simple report, only with one parameter, but is always displaying the error above.
    When I open the report directly from documents library its working fine and even it is working fine (
    when I deployed the report) but the issue is parameters are not showing.
    Any idea? Please help.
    Thanks in Advance.

    "Unable to connect to the server at CALYSTO\ReportService.
    Hello Tom,
    It should be "ReportServer" in the URL, not "ReportService".
    In "Reporting Service Configuration Manager" look up the correct URL. Open Internet Explorer with right-mouse click => "Run as Administrator" and open the URL, this should work. Navigate to "Side setting" (on top right side),
    go to tab "Security" and add your account with role "System Administrator". Afterwards you should be able to open the URL without running IE as admin.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Invalid URL The requested URL "/", is invalid. Reference #9.a2fc54b8.1345130184.5cbbba6

    At least once a day on my work PC Desktop I will type in Yahoo.com or Amazon.com or any other valid popular website and all of a sudden I get the "Security Exception" error message and when I select to confirm it I then get:
    "Invalid URL
    The requested URL "/", is invalid.
    Reference #9.a2fc54b8.1345130184.5cbbba6 "
    At that point I cannot access that website at all. Then I have to clear all history and restart my computer, at least once a day and hope it works. I've scanned the support forum and I have done everything they suggest: disabled all add-ons (not that I even have any), reset Firefox, restart in safe-mode. Nothing works, it's very frustrating. It completely interrupts my workday. HELP!!

    Hmmm, there are some issues on certain sites caused by the new Autofill feature that suggests a URL in the address bar. When this happens, are you pressing Enter to accept a suggestion?
    If so, related threads:
    * [https://support.mozilla.org/en-US/questions/933563#answer-356371 typing in url for my company website sends it to https index page in Firefox, but not IE or Chrome, and the behavoir is not wanted]
    * [https://support.mozilla.org/en-US/questions/933581 Why does when I type a website it adds the symbol / after automatically now and it takes me to fake websites???]

  • Ignoring request not on consumer URL or redirect URL

    Hello,
    I have configured SAML for SSO for the destination site and it works fine for the page configured as Source Site Redirect URI. Attempt to access any other resource in the web application gives an error as : SAMLServletAuthenticationFilter: Ignoring request not on consumer URL or redirect URL.
    Relevant entries in web.xml and weblogic.xml are as below.
    Thanks for your time and help.
    Hiren
    web.xml*_
    <login-config>
              <auth-method>CLIENT-CERT</auth-method>
         </login-config>
    <!-- SAML SSO Start -->
    <security-constraint>
              <web-resource-collection>
                   <web-resource-name>Advisor</web-resource-name>
                   <description>These pages are only accessible by authorized users.</description>
    <url-pattern>*</url-pattern>
    <http-method>GET</http-method>
    <http-method>POST</http-method>
              </web-resource-collection>
              <auth-constraint>
                   <description>These are the roles who have access.</description>
                   <role-name>ssorole</role-name>
              </auth-constraint>
         </security-constraint>
         <security-role>
              <description>These are the roles who have access.</description>
              <role-name>ssorole</role-name>
         </security-role>
    weblogic.xml+_
    <?xml version='1.0' encoding='UTF-8'?>
    <weblogic-web-app xmlns="http://www.bea.com/ns/weblogic/90"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
         <security-role-assignment>
              <role-name>ssorole</role-name>     
              <externally-defined/>
         </security-role-assignment>
         <context-root>Advisor</context-root>
    </weblogic-web-app>

    Hi David,
    I am currently not passing any group information in the SAML Assertion. I haven't tried SAML 2. I found this in one of the FAQs for UCM SSO 'only SAML v1.1 based SSO solution is certified to work with UCM 11.1.1.4'. Using SAML v1.1 if you want to use the groups information you have to configure the 'Enable Virtual users' option in the SAML Destination Site. Also, you need to configure the SAML Authentication Provider along with the SAML Identity Assertion Provider.
    Section 5.7 in the below link will give you some information about it.
    http://docs.oracle.com/cd/E14571_01/web.1111/e13707.pdf
    HTH,
    Shyam

  • How to change the URL of a URL-iView over Code ?

    Hi all,
    i am getting started with the Portal-Application-Developement and want to change the URL of an URL-iView on runtime with java-code.
    i have read the context and can get the Property url with this statement.
    endContext.getProfile().getProperty("url")
    But if i change this property, nothing is done.
    endContext.getProfile().setProperty("url", "http://www.yahoo.com");
    Where is my fault.
    Thanks for help.
    Regards Jürgen

    Hi,
    the context is of Type IPortalComponentContext.
    I cant find no method getParameter() at the context or the profile.
    The methods to read the properties of the URL-iView are
    context.getProfile().getProperty("url")
    context.getProfile().getAttributeValue("url")
    But if i want to set (change) this attribute, nothing is done.
    Regards Jürgen

  • How do I pass the part of the url that matched url-pattern to JSP?

    Hello,
    I have a web app called ptest.war deployed in JBoss. In my web.xml I have:
    <servlet-mapping>
    <servlet-name>GetImage</servlet-name>
    <url-pattern>/images/*</url-pattern>
    </servlet-mapping>
    and:
    <servlet>
    <servlet-name>GetImage</servlet-name>
    <jsp-file>DoImageRequest.jsp</jsp-file>
    <load-on-startup>1</load-on-startup>
    </servlet>
    In DoImageRequest.jsp, I want to know what was requested by the user (so I can set some response headers and then re-direct to the image they requested), so if I go to:
    http://localhost/ptest/images/i1.jpg
    I want to have "/images/i1.jpg" available to me in the JSP, so that I can do a jsp:forward to the requested image, but none of the getters on the request object give me that string.
    request.getServletPath() returns "/images" and request.getPathInfo() returns "/i5.jpg".
    So do I need to construct what the user asked for by concatenating these two values?
    The reason I was testing this was because I wanted to set no-cache in the response to the request for the image. Is there an easier way of doing that without having to direct the request to a jsp so that the jsp can set the response headers, which seems a little long-winded to me?
    Many Thanks,
    Paul Smith

    I want to have "/images/i1.jpg" available to me in the JSP, so that I can do a jsp:forward to the requested image, but none of the getters on the request >object give me that string.Even if you manage to construct that, such a request path would be intercepted by your jsp because it maps to /images/*.
    You would end up with infinite recursion.
    To circumvent that, you can change the folder that stores the image - call it something like img and then you just need append the request.getPathInfo().
    getServletContext.getRequestDispatcher("/img"+req.getPathInfo()).forward(req,res);
    The reason I was testing this was because I wanted to set no-cache in the response to the request for the image. Is there an easier way of doing that >without having to direct the request to a jsp so that the jsp can set the response headers, which seems a little long-winded to me?You could have a filter intercept all requests for *.img, add the response headers and pass the request along to the actual resource. That would be easier and more intuitive. If your web app has a good fronting like an apache web server, I think you can cache your images on the web server and set a property that would instruct the web server to set a no-cache header in response when it serves the image.
    ram.
    Edited by: Madathil_Prasad on Mar 26, 2010 7:20 PM

  • Since upgrading Firefox, it no longer accepts URLs in the URL bar - it works if I have a bookmark, a link or from History, but not if I enter or paste a URL.

    Firefox 33.0.2 on Windows 8.1 64 bit. Since upgrading Firefox, it no longer accepts URLs in the URL bar - it works if I have a bookmark, a link or from History, but not if I enter or paste a URL and hit <enter>, in which case nothing happens at all.
    I have found that issue reported for Ubuntu (https://support.mozilla.org/en-US/questions/1011935?esab=a&as=aaq) but not for Windows. The solution there to change the keyboard is not feasible since it's a laptop with a built-in keyboard.
    I did not have this issue with FF 28 (I finally upgraded because I was getting BSODs) and I don't have this issue with any other Browser on same platform.
    Any help appreciated.
    Thanks.

    Hello,
    '''Try Firefox Safe Mode''' to see if the problem goes away. [[Troubleshoot Firefox issues using Safe Mode|Firefox Safe Mode]] is a troubleshooting mode that turns off some settings, disables most add-ons (extensions and themes).
    If Firefox is open, you can restart in Firefox Safe Mode from the Help menu:
    * Click the menu button [[Image:New Fx Menu]], click Help [[Image:Help-29]] and select ''Restart with Add-ons Disabled''.
    If Firefox is not running, you can start Firefox in Safe Mode as follows:
    * On Windows: Hold the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    When the Firefox Safe Mode window appears, select "Start in Safe Mode".<br>
    [[Image:Safe Mode Fx 15 - Win]]
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]] article to find the cause.
    ''To exit Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    When you figure out what's causing your issues, please let us know. It might help others with the same problem.

  • Invalid URL The requesed URL "/?qs=20920211...", is invalid

    I received an email from Newegg with the following link;
    http://click.email.newegg.com/?qs=2092021128449e4cb0bd4d4a59cd9edac0a3605d20252e322f8f64d64f3af97ec5927e200f4e494c
    The response when I click on the link is that Firefox opens and displays the following:
    Invalid URL
    The requested URL "/?qs=2092021128449e4cb0bd4d4a59cd9edac0a3605d20252e322f8f64d64f3af97ec5927e200f4e494c", is invalid.
    Reference #9.75094a17.1401382471.4b0169b
    I am using Thunderbird mail 24.3.0, in Ubuntu 12.04, and Firefox 28.0. If I copy the link and paste it into Google Chrome I get a similar error message.
    Invalid URL
    The requested URL "/?qs=2092021128449e4cb0bd4d4a59cd9edac0a3605d20252e322f8f64d64f3af97ec5927e200f4e494c", is invalid.
    Reference #9.75094a17.1401383188.4cc8af0
    Then for some unknown reason pasting the exact same link into Chrome worked, while Firefox keeps failing.

    I got thru using your original like and ended up at;
    '''http://promotions.newegg.com/NEemail/May-0-2014/MonthEnd-Clearance_29/index-landing.html?nm_mc=EMC-IGNEFL052914&cm_mmc=EMC-IGNEFL052914-_-EMC-052914-Index-_-E0-_-PromoWord&et_cid=8158&et_rid=186526'''
    It could be the work of one of your add-ons, or even add / mal-ware.
    Look thru your add-ons list and make sure you know what each one is
    there for. Also, check the programs that are on your computer
    '''Windows > Start > Control Panel > Uninstall Programs.'''
    '''(Mac: Open the "Applications" folder)'''
    Go thru the list and use a web search to check any that you don't
    know what they are.

  • Netflix viewed perfect for over a month, then it didn't with this error msge: Invalid URL The requested URL "/home", is invalid. Reference #9.9d0bc841.1320231048.92bcc44 --What's up with this now?

    Been watching Netflix on my Verizon HP Notebook, it's less than 3mo old. runs windows xp...pretty standard stuff. Anyway tried to login to netflix and Firefox gave this error message--Invalid URL
    The requested URL "/home", is invalid. Reference #9.9d0bc841.1320231048.92bcc44 -- I called Netflix & there system running perfectly. My pc running perfectly as well. Logged into netflix using IE--worked just fine. So by process of elimination, it's Firefox's Problem! I have NO CLUE about it, never seen it before on ANY browser. Tried opening & closing FFx, restarting puter, etc...Don't know what else to tell you except Firefox works on every other website now EXCEPT NETFLIX, it's the darnedest (I know that's not a word LOL) I've seen--it happened 10/2/11 @ about 3am!

    As I understand:
    The procedure works.
    The link 'appears' to work. (ie you saw the procedure run a 2nd at the database level)
    But it doesn't actually work (because you get a 404)
    I think I ran into an issue, on a completely different page type, that produced an 'error 404'. (I can't seem to reproduce it, though)
    The only way I discovered what was really going on was with an HTTP sniffer. (eg HTTPFox for FireFox)
    Through that, I noticed that the browser was (for some reason) calling a completely non-sensible APEX page. (hence the PAGE NOT FOUND error)
    My solution was to add a "submit to self" branch point.
    If that doesn't work, I'm at a loss.
    MK

  • How to show a nice URL in Browser URL navigator?

    How to show a nice URL in Browser URL navigator?
    Hello
    Arquitecture:
    Internet --- Machine1 (Apache like Proxy Reverse and rewrite) --- MAchine2 (GLASSFISH-APEX LISTENER 2.0.1) --- DATABASE
    That application will be like a directory of products, we need a nice indexation inside google, yahoo, etc...
    We want to build an application with APEX, with a nice custom URL. like http:\\domain\pagina1\pagina2\pagina3
    Limitations:
    * We can not use frame
    Actually, We obtained that when we write in a browsers URL domain "the domain" redirect to "http://domain/apex/f?p=600", and that appear in "browser url" but we want to know if is posible to change that without use frames.
    Thanks.

    Interesting Morten states that "You can use Apache with mod_rewrite to set up mapping between REST-style URLs to your Apex pages...", I've seen no working examples of how to do this with Apache because mod_rewrite is very limited in it's ability to process the query string part of the URL, with all the APEX stuff we need to refer to.
    Morten if you are reading this, what's the secret man?

Maybe you are looking for

  • S.M.A.R.T. support and plug question on new Quad drive?

    Hello. I just installed a second hard drive in my Quad for my media files and before I transfer all my data to it I have a couple questions-- First, here's the drive info: Seagate Barracuda 7200.8 ST3400832AS 400GB 7200 RPM 8MB Cache Serial ATA150 Ha

  • "Reason for Status" in Service Ticket

    Hi Experts, In IC Webclinet (SAP CRM 2007) I am in the porcess of configuring a Transaction Type for Service Ticket. There is field called "REASON FOR STATUS" which needs to be filled in every time when the status of the Service Ticket is changed. I

  • Financial Reports last Modified user name.

    Hi, I Observed some of the reports were modified in Production, Unfortunately few of our users have the access to modify them. But when i ask who did the change no one is responding as usual. Is there any way we can find out the user ID who modified

  • Delivery with reference to order

    Hi , When i am creating a order related delivery it is allowing me to create new line items which are not present in the referenced sales order.Our requirement is that it should not allow us to create new line items in the delivery. Do we need to cre

  • SQM uploader error while configuring BizTalk Server

    Hi,  I am getting following error while configuring BizTalk Server 2013 on Windows Azure VM Log Name:      Application Source:        Application Error Date:          8/26/2013 1:08:46 PM Event ID:      1000 Task Category: (100) Level:         Error