Redirecting to an URL

Hi Experts,
I want to redirect to an URL with an user interaction that is redirection through coding
Regards
Vinu

Hi
1)go to ur application->applproperties>new>predefine>browse>logoffurl>ok>name:logoffurl->value=http://www.google.com-->finish
2)go to interface view controller>plugs>outboundplugs>click new>name:define the outbound plug e(exit type) with parameter Url of type string
3)the create a ui element button in ur vie and write the following code in button's action
String s=wdComponentAPI.getApplication().getApplicationInfo().findInApplicationproperties("sap.logoffurl").getValue();
wdThis.wdGetInterfaceviewController(0.wdFirePlugExit(s);
In the required controllers u can add interface view controller.
Regards
Hazrath

Similar Messages

  • How can I create a redirect to an URL like in SICF?

    Hi,
    we offer  the payroll (com.sap.pct.erp.ess.paycheck_service / sap.com/ess~rem/payslip2) in our portal which is a Java-WD. Whenever we import a modified version of the corresponding HRFORM into the P-system the application aborts with an error because the HRFORM has to be generated first after the import.
    I wanted to get rid of this problem by using the SICF where you can define a redirect to an URL (I wantet to switch to a "service is under construction"-WD). Unfortunately the SICF can only be used for WD4ABAP-services as I know - not for Java.
    Has anybody an idea how to solve my problem? I want to switch to a "service is under construction"-WD whenever there's an abort while processing the payroll application.
    We don't have any Java skill.
    Greetings,
    Steff

    You can place the html in component folder. src>mimes>Components. and can be accessed by code
    try {
    String url = WDURLGenerator.getAbsoluteWebResourceURL(wdComponentAPI.getDeployableObjectPart(),"<redirect>.html");
    } catch (WDURLException e) {
    wdComponentAPI.getMessageManager().reportException(e.getMessage(),true);
    1) you can use the url to navigate to the redirect page or can try exit plug.
    nikhil

  • Need to invoke a process from a column link and then redirect to a url

    Is it possible to invoke a process from a column link then redirect to a url
    I want to invoke a process that has a pl sql block of code which will do some table inserts and then redirect the user to an external url.
    Any help would be appreciated.

    Howdy Scott,
    I thought this might help me but I've got a dynamic form with apex_application.g_f01(i) items on it ie tabular form. How can I take the value of these arrays with me to the temporary page with the onload process?
    Thanks
    Gary

  • No redirection to different url upon http connections limit exceeded

    Hi,
    As of Standalone OC4j 10.1.2, if you want messages to be redirected to a different URL when the maximum connections limit is reached, you would include the HTTP redirect URL to max-http-connections tag inside server.xml.
    <max-http-connections max-connections-queue-timeout="120" socket-backlog="50"
    value="100">http://optional.redirect.url/page.jsp</max-http-connections>
    I have a standalone OC4j 10.1.3, and would like to be able to redirect to different URL when maximum connections limit is reached but the above max-http-connections does not work and I am not redirected to different URL when maximum connectionns limit is reached. I read user guide of OC4j 10.1.3 and there is no mentioning of max-http-connections at all. In there, they talk about limiting concurrency via http thread pool but there is no discussion as to the mechanism of redirecting users to a different URL where I can display a user friendly message to say "Server is busy, please try again later..." instead of browser display a message "Page cannot be displayed"..
    Please advice,
    Thanks

    Any thoughts on above issue ? please help.
    thanks
    Sam

  • When redirecting to site url jsessionid is appended and url becomes wrong

    hi,
    i have requirement when user clicks on link on b2c application then it should redirect to a site url.The problem when redirecting to site url is that jsessionid gets appended to site url and as a result url is not opened   due to wrong url generated as follows
    http://www.mahindralifespaces.com/SPLENDOUR/PROJECTMILESTONE.ASP;jsessionid=(mlkndcrmsdev_LCD_00)ID0618353650DB01149016834107209233End;saplb_*=(mlkndcrmsdev_LCD_00)7680550?a=b
    how to overcome this problem .did any one have idea
    Regards,
    Pavan

    i am directing forwarding to url using struts action forward using following code
    strUrl=mybom.getProjectStatusBO().getProjectStatusURL(userId);
    log.error("user url"strUrl"userId--"+userId);
    request.setAttribute("strUrl",strUrl);
    forward.setPath(strUrl);
    forward.setRedirect(true);
    return forward;
    following solved my problem
    i have chaged  web-j2ee-engine.xml file
    <cookie-config>
              <cookie>
                   <type>SESSION</type>
                   <path>APPLICATION</path>
                   <domain>NONE</domain>
              </cookie>
              <cookie>
                <type>APPLICATION</type>
                <path>APPLICATION</path>
                <domain>NONE</domain>
              </cookie>
    domain to none solved my problem
    Regards,
    Pavan

  • Redirecting a domain URL to a file

    Is there any SAF directive (e.g NameTrans) to redirect a domain URL (e.g http://www.xyz.com/rob.txt) to a file rob.txt sitting at location /x/y/rob.txt (other than root directory rob.txt).
    Bascially I want to achieve any request coming to http://www.xyz.com/rob.txt redirected to /x/y/rob.txt so that I can use another rob.txt (not the one lying in root dir /) for this domain.

    If you want different hosts to respond with different content, you'd normally create separate virtual servers. Each virtual server could have its own document root, so foo.example.com/rob.txt could map to a different file than bar.example.com/rob.txt.
    If you really want to special case things for a given hostname and URI, you can do that. The following will redirect requests for /rob.txt to /x/y/rob.txt only if the hostname www.example.com was used in the request:<Client urlhost="www.example.com">
    NameTrans fn="redirect" from="/rob.txt" url="/x/y/rob.txt"
    </Client>

  • Firefox is not redirecting to given url it is in ideal stage

    firefox is not redirecting to given url it is in ideal stage

    You can check for problems with preferences and try to rename or delete the prefs.js file and possible numbered prefs-##.js files and a possible user.js file to reset all prefs to the default values.
    *http://kb.mozillazine.org/Preferences_not_saved
    *http://kb.mozillazine.org/Resetting_preferences
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    You can try to reset Firefox.
    *https://support.mozilla.org/kb/reset-firefox-easily-fix-most-problems
    If you reset Firefox then a new profile is created and some of your data (bookmarks, passwords, cookies, form data) is automatically imported and your current profile will be moved to the desktop (Old Firefox Data).
    You can recover more data from the old profile (be cautious with doing that).
    *https://support.mozilla.org/kb/Recovering+important+data+from+an+old+profile
    *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox

  • Redirecting to another url when seesion expires... or on closing browser wi

    is it possible in servlet/jsp using tomcat to redirect to another URL so that i can delete my objects that are stored in ServletContext ?
    i want to redirect when the session get expire or when a user close its window ..
    is it possible using javascript ?
    if any info Plz mail at gmail ..[email protected]

    public class sessionManager implements HttpSessionListener {
         public void sessionCreated(HttpSessionEvent se) {
         public void sessionDestroyed(HttpSessionEvent se) {
    In this class for the sessionDestroyed() function i want to write RequestDispatcher .. so that i can redirect or forward my request to another URL so that i can delete my object that r present in ServletContext.
    because for requestDispatcher i need to implement HttpServlet
    which overrides service method ( doGet()/doPost()).which receives HttpServletRequest/HttpServletResponse object ...
    Plz let me know if possible .... the main thing is that i want to go to that particular URL for delting my objects
    any Plz let me know

  • Incorrect redirection to mobile url

    I have some refurbished laptops with Win7 and IE11. Going to our company (small county government) Sendio Ice Box (spam blocker) IE11 is wrongly redirecting the typed url to the mobile url! This renders the font so small it is unusable. Firefox is NOT doing
    this. We have tried all the obvious stuff like deleting history and resetting the security back to default.
    Thanks for any suggestions in advance.
    Kurt

    Hi,
    some websites store the screen preferences in the site cookie. Usually properly designed adaptive sites will have buttons to toggle the screen layout between desktop and mobile. see Wikipedia.org
    When asking internet related questions please include links to any sites you are having problems with.
    Hi and welcome to the Windows Internet Explorer 8, 9, 10 and 11 (Preview) Forum for IT Professionals.
    We listened to customer requests from IT Professionals for a dedicated Internet Explorer 8, 9, 10 and 11 Preview forum that you can participate in as community. This is a place where you can share knowledge, ask questions and get them answered and learn
    from others with IT environments similar to yours. Primary areas of focus are installation, deployment, security, management, group policy, migrations from previous versions.
    If your questions is related to end user experience or you are a home user, we'd definitely recommend heading over to our sister site at Microsoft Answers
    http://social.answers.microsoft.com/Forums/en-US/InternetExplorer/threads
    Rob^_^

  • How can I redirect APEX(EPG) URL with afrindly one

    Hi All,
    I am using APEX with EPG on oracle 11g, and I would to redirect the URL http://localhost:8080/apex/f?p=122:1:43920293912715::NO with a friendly one like this
    http://project_name.mydomain.com
    Is there any one can help me know; how to do this redirection where I would to hide the port no 8080 within the URL
    Thank you in advance
    Yassin

    Yasen® wrote:
    hi is this solution working for Apex on 11g with EPG? whrere to run this code?Yes, it should work on 11g with EPG.
    Using SqlPlus, log in as SYS and run the code posted by "user7449726" to change the path name and default home page of the DAD.
    To change the port from 8080 (the default) to 80, run the following as SYS using SqlPlus:
    CALL DBMS_XDB.SETHTTPPORT(80);
    ALTER SYSTEM REGISTER;
    Make sure you don't have anything else running on port 80 (such as Microsoft's Internet Information Server) or you will obviously get a conflict.
    - Morten

  • How can I redirect to an URL from a portlet?

    I'm using Bea Workshop 8.1 and trying to perform a redirect from inside a portlet
    using HTTPServletResponse.sendRedirect(String url)... but nothing happens ((
    I tryed the same trick with a simple JSP, and that's ok, but portal pages obviously
    catch the redirect somehow.
    Please could you tell the correct way of redirecting the whole browser to another
    page from inside portlets?
    Thanks!!!

    Backing files is an option. If you need to do it from the controller, you
    could use the Forward object. The forward object constructor can take a URL
    object as a parameter. This should do the trick.
    Regards,
    Kunal
    "Panji Aryaputra" <[email protected]> wrote in message
    news:[email protected]..
    Hi, you have to use backing file to get what you want. In my case, I am
    using a page backing file. Perhaps a portlet backing file can do thatalso.
    Cmiiw, the redirect header makes the page redirected only if the httpheader
    has not been sent to client. In your case, the header has been sent (i.e.
    the portal header.jsp has been displayed, etc). So the header need to be
    sent before anything else sent to client browser. This is where thebacking
    file comes handy.
    hth
    panji.a
    "A Hagen" <[email protected]> wrote in message
    news:[email protected]..
    I'm using Bea Workshop 8.1 and trying to perform a redirect from inside
    a
    portlet
    using HTTPServletResponse.sendRedirect(String url)... but nothing
    happens
    I tryed the same trick with a simple JSP, and that's ok, but portal
    pages
    obviously
    catch the redirect somehow.
    Please could you tell the correct way of redirecting the whole browser
    to
    another
    page from inside portlets?
    Thanks!!!

  • How to display swf in full screen mode and how to redirect to a url

    Hi,
    I have 2 questions :
    Question 1 - I have a flash swf file and I want to display it in the browser in full mode meaning it should fit the browser, I have tried adding
    fscommand("fullscreen", "true");
    in the first frame of a lyaer but it does not work.
    Question 2 - How to redirect to another page at the end of the swf movie, I have tried adding :
    stop(); 
    navigateToURL( new URLRequest("*www.microsoft.com*"), "_self");
    in the last frame but it does not work.
    Thank you very very much for your assitance !!
    Terry

    "fscommand("fullscreen", "true");" only works for self-running executables, not embedded SWFs in a web page.
    To get the swf to fill the browser page, the best thing to do would be to adjust the publish settings of the "HTML Wrapper" page and copy the necessary pieces from the resultant HTML file into the HTML file you are putting the swf into.
    I have had some successes dealing with similar navigation issues by breaking up the code into multiple tasks:
    var url:String = "http://www.microsoft.com";
    var urlReq:URLRequest = new URLRequest(url);
    navigateToURL(urlReq);
    I can't guarantee that will help, but at least I tried.  :-)

  • Problem trying to update a website and redirecting to my url through .mac

    Using iweb 1.1 , I have updated pages and am trying to republish- the newly updated website doesn't publish. It keeps reverting to the oroginal one created.
    I dumped all iweb from my idisc, deleted Safari cache, ....
    I see the photos that are updated are in their respective site files- so not sure what is happening here. Also am redirecting the published website to my url via YAHOO- very easy. I noted that the file name does not change when redirecting as well.
    Any suggestions would be appreciated.

    I figured it out just rename the site number and it works fine.

  • How to Redirect to a URL on Button Click

    Hi all,
    I am new to Apex and have a following Requirement
    On the page I have a Field P3_CASE_ID and a Button P3_SUBMIT.
    When I click the Submit Button, It should Open a new window
    https://customer.peoplesoft.com/psp/C1PRD_2/EMPLOYEE/CRM/c/CALLCENTER.RC_CASE_SW.GBL?Page=RC_CASE_SW&Action=U&CASE_ID=
    Above String should be Concatneted with value from P3_CASE_ID.
    Say if I enter P3_CASE_ID as 123456 then a new window should be opened with following URL
    https://customer.peoplesoft.com/psp/C1PRD_2/EMPLOYEE/CRM/c/CALLCENTER.RC_CASE_SW.GBL?Page=RC_CASE_SW&Action=U&CASE_ID=123456
    How to do it...?
    I tried following in Optional URL Redirect for the button.
    javascript:popupURL('
    https://customer.peoplesoft.com/psp/C1PRD_2/EMPLOYEE/CRM/c/CALLCENTER.RC_CASE_SW.GBL?Page=RC_CASE_SW&Action=U&CASE_ID=&P3_CASE_ID.');
    But the P3_CASE_ID is not appended to the URL.
    Thanks and Regards
    Kesav
    Message was edited by:
    user619016

    Here is some code I think you will find helpful.
    http://www.oracle.com/technology/products/database/application_express/howtos/how_to_create_custom_popups.html

  • Links in Weblog redirecting to old URL

    O.K., I've beaten this to death and I'm stumped. I am running a weblog server and for some reason when I click on the majority of links ("comment", etc.) within the blog I'm being redirected to an old URL that is non existant. This domain was one I deleted using Server Admin. At one time I had this old domain setup with performance cache enabled so of course it is redirecting through 16080. I've used terminal to look at the etc/httpd.conf file, etc. and I cannot find out why and where this "cached" URL is. It is like when I deleted it from Server Admin, it didn't delete it under the GUI. Please help me locate the file that is causing this redirection...
    Power Mac G5   Mac OS X (10.4.7)  

    try taking a look at your blog's config file and i'll bet you will find the old url saved in there. change it and it should work. you may need to restart weblog service for the change to take depending on your version.
    /Library/Tomcat/blojsom_root/webapps/ROOT/WEB-INF/yourblogname/blog.properties
    edit the file with vi or emacs if you can. any plain text editor will do.
    hope this helps

Maybe you are looking for

  • How can I get Flash Player to work on my computer?

    I've loaded flash player several times, and every time I go to a website requiring Flash Player it says you don't have the current flash player, please download.  I download it and go back to the website.  It still doesn't work!  Really frustration,

  • Wireless printer on Solaris 10 X86

    Hi All, I don't have any experience with printers in Solaris at all, so I'm not sure where to start. I would like to get my Brother MFC 640cw printer to be seen from my laptop. The printer is connected to my wireless router and has a static ip addres

  • CiscoWorks LMS 4.0.1 is supported on Windows 2008 EE R2 SP1?

    Installing CiscoWorks LMS 4.0.1. I need to know if Windows 2008 server EE R2 with SP1 is now supported. Many thanks for help. Andrea

  • Replacing Cookie value

    Hi, I need to change a cookie value. My cookie is a session cookie.Its not persistent cookie. Still i m not able to change the value of it. It always reflects the old value. I tried expiring the cookie. Overriding the cookie value by creating a new i

  • Failed ABAP Transports metric has grey status

    Dear colleagues, in System monitoring I found Failed ABAP Transports metric has grey status. Then I checked Data Collection Status and found: Log for mainextractor E2E_DPC_PULL_CORE has 14 warning(s) for the last 180 minutes. In log I found: Metric 0