How to rewrite /guid/123 to /irj/servlet/.../com.sap.km.cm.docs/guid/123

Hi,
in KM it is possible to use short guids to point to resources. Unfortunately, to use guids in Links, one has to prepend the full path to the component com.sap.km.cm.docs, i.e. to point to guid "/guid/123" one has to write "http://server:port/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/guid/123".
How can I afford to use the much shorter URL "http://server:port/guid/123"?
Thanks in advance
Uwe

Hi Boris,
thanks for your reply. This helps me further, but I would even more like to use only URLs that have the form http://server:port/guid/123 or http://server/guid/123.
With Apache Web Server I would have known that this could be achieved via URL rewriting but I could not find anything equal to URL rewriting in Netweaver Portal, not even in Web Dispatcher, which we are using, too.
Cheers,
Uwe

Similar Messages

  • Com.sap.guid.GUID com.sap.mw.rfc.engine.GUID

    Hi to All!
    I’ am looking for javadoc for the classes com.sap.guid.GUID and com.sap.mw.rfc.engine.GUID.
    Has anybody a link for me
    Regards
    Hermann

    Hi Nagarjuna,
    You can paste the conection properties?.
    try {
          // Change the logon information to your own system/user
          mConnection =
            JCO.createClient("001", // SAP client
              "<userid>",           // userid
              "****",               // password
              null,                 // language
              "<hostname>",         // application server host name
              "00");                // system number
          mConnection.connect();
          mRepository = new JCO.Repository("ARAsoft", mConnection);
    You need use server router string or simple server hostname??.
    if you need use route string conection, concatenate router string with hostname:
    try {
          // Change the logon information to your own system/user
          mConnection =
            JCO.createClient("001", // SAP client
              "<userid>",           // userid
              "****",               // password
              null,                 // language
              "<router string><hostname>",         // application server host name
              "00");                // system number
          mConnection.connect();
          mRepository = new JCO.Repository("ARAsoft", mConnection);
    get us more details pls,

  • How to Set Up SSO Between IBM WebSphere and SAP EP Using JAAS

    Hi
    I have read the article on SDN called "How to Set Up SSO Between IBM WebSphere and SAP EP Using JAAS", which is also the name of my posting.
    The reason why I post this is that I've tried to follow the links in the PDF to get the file WebsphereEpSsoLib.zip but I get an error 403, which tells me that the file is not there.
    Does anybody know where this file went or can somebody tell me an alternative place to get this file?
    Jacob

    Please open the associated whitepaper, and you can find the download link to the .ZIP file on page 4.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/ibm/how to set up single sign-on between an ibm websphere portal and the sap enterprise portal using jaas.pdf
    Hope that works!
    Elise

  • How to modify com.sap.portal.navigation.pagetoolbar.par

    Hi Experts,
               I have to create a link on the Page Toolbar(Next to "History") by the name "Add Favorites" which has the same functionality as that of the "Add to Portal Favorites" button present in the Option Menu in sap portal.
    I have imported the com.sap.portal.navigation.pagetoolbar.par in to my nwds , but i am not sure if this is the correct par.
    please tell me where exactly the modification needs to be done.
    Thanks in advance .
    Regards
    Shivas

    Hi,
    the PAR you are looking for is: com.sap.portal.pageToolbar
    As for the code: copy & paste the standard SAP code. For adding the page to the portal favorites:
    AddToPortalFavorites(). The code looks like:
    function AddToPortalFavorites(target , title, mode)
         try
              var obj = EPCM.getSAPTop().gHistoryFrameworkObj.GetActiveTrackingEntryValue();
              var context = obj.context;
              if(! target)
                   target = obj.getUrl();
                   title = GetUnescapedTitle(obj.title);
              var url = "/irj/servlet/prt/portal/prtroot/com.sap.km.cm.remote?ServiceType=PortalFavorites&";
              url += ("NavigationTarget=" + escape(target));
              url += ("&Title=" + encodeURIComponent(title));
    -> the JS with this code is located ar:
    /irj/portalapps/com.sap.portal.navigation.helperservice/scripts/FrameworkSupport.js
    To add the page to the browser's favorites:
    pageTitleBar.AddToFavorites("location")
    br,
    Tobias

  • How to restrice ananymous user access to portal link /irj/servlet/prt/portal/prtroot/com.sap.portal.navigation.portallauncher.default?

    Hi experts,
    We had an issue with portal access. I wonder if portal is venerable for security threats?
    Could you please let me how to restrict the unauthorized users (anonymous user) to the portal URL.
    https://HOST:50001//irj/servlet/prt/portal/prtroot/com.sap.portal.navigation.portallauncher.default .
    Appreciate your help.
    Regards
    Maruti

    Hi Maruti,
    Hope you are doing good.
    Can't you just amend the portal permissions so that this access is not possible.
    The PCD location should be:
    com.sap.portal.system/security/sap.com/NetWeaver.Portal/no_safety/com.sap.portal.navigation.portallauncher....
    Hope this helps.
    Thank you and have a nice day!
    Kind Regards,
    Hemanth

  • BSP Exception: Access to URL /irj/servlet/prt/portal/prtroot/com.sap.ip.bi.web.portal.integration.launcher;jsessionid= not allowed

    Dear all,
    I've created out BI system in our new Portal installation and tested the connection. Everything works fine. I added the certificate of the portal to STRUSTSSO2 in BI ABAP and assigned SAP_ALL and SAP_NEW to my Account.in BI. If I open the iView from the portal I get a BSP Exception with the message:
    The used connection by the iView is to the ABAP-Stack of the BI-system not to the JAVA-Stack. Is that correct?
    BSP Exception: Der Zugriff auf die URL /irj/servlet/prt/portal/prtroot/com.sap.ip.bi.web.portal.integration.launcher;jsessionid=IDBYatWIpt_pX4uc52ChoZqMWkm1RAFW2qsA_SAP ist untersagt.
    What can be the problem/reason?
    Thanks!

    Hi Gerrit
    In both places you have to provide a authorization access to the end users then only it will work. because your are already said that in SAP_All & SAP_New working fine
    Back end BI system access as per the word document as pasted the link
    https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=7&cad=rja&uact=8&ved=0CFIQFjAG&url=http%3A%2F%2Fbasisdsp.f…
    For SAP portal you have to create iview's assign the same to end user
    Assigning an Authentication Scheme to an iView - User Authentication and Single Sign-On - SAP Library
    Portal Authentication Infrastructure - Configuring the Portal for Initial Use - SAP Library
    BR
    SS

  • How to get an ArrayList Object in servlet from JSP?

    How to get an ArrayList Object in servlet from JSP?
    hi all
    please give the solution for this without using session and application...
    In test1.jsp file
    i am setting values for my setter methods using <jsp:usebean> <jsp:setproperty> tags as shown below.
    After that i am adding the usebean object to array list, then using request.setAttribute("arraylist object")
    ---------Code----------
    <jsp:useBean id="payment" class="com.common.PaymentHandler" scope="request" />
    <jsp:setProperty name="payment" property="strCreditCardNo" param="creditCardNumber" />
    <%-- <jsp:setProperty name="payment" property="iCsc" param="securityCode" /> --%>
    <jsp:setProperty name="payment" property="strDate" param="expirationDate" />
    <jsp:setProperty name="payment" property="strCardType" param="creditCardType" />
    <%--<jsp:setProperty name="payment" property="cDeactivate" param="deactivateBox" />
    <jsp:setProperty name="payment" property="fAmount" param="depositAmt" />
    <jsp:setProperty name="payment" property="fAmount" param="totalAmtDue" /> --%>
    <jsp:useBean id="lis" class="java.util.ArrayList" scope="request">
    <%
    lis.add(payment);
    %>
    </jsp:useBean>
    <%
    request.setAttribute("lis1",lis);
    %>
    -----------Code in JSP-----------------
    In testServlet.java
    i tried to get the arraylist object in servlet using request.getAttribute
    But I unable to get that arrayObject in servlet.....
    So if any one help me out in this, it will be very helpfull to me..
    Thanks in Advance
    Edward

    Hi,
    Im also facing the similar problen
    pls anybody help..
    thax in advance....
    Litty

  • How to handle multiple request in the servlet

    how to handle multiple request in the servlet...
    Example:
    java forum...
    i'm login in the java forum at this time 1000 members make login in this....how happended in servlet?
    if we use thread how to implement in servlet ?

    Serlets are already threaded. The application container instantiates the servlet, then uses this instance in a new thread for every use.
    This is the reason that you should use (almost) no instance variables in a Servlet, but rather that (almost) everything should be local to the method.

  • How can i know the no of servlets

    how can i know the no of servlets present in single application

    you webapp (servlet) can create a static variable. when a request has been made, you increment this number...provides a request parameter (http param) that will return this count number.

  • How to implement a connection pooling in servlet

    hi all,
    how to implement a connection pooling in servlet.i want to know how to implement it in tomcat in a struts based environment.
    any input to the topic is appreciated.
    Thanks
    Sudha

    Take a look at JNDI
    http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html

  • How i can access log file in servlet?

    How i can access log file in servlet then display it to browser.
              Can i have peice of codes...
              Thanks in advance.!
              

    This is not something that can be answered easily. There is quite alot of code involved....
    To get started I suggest you read up on the built-in package 'DBMS_LOB' from Oracle . Most of what you need you should find there.
    regards Dave.

  • How to return binary data from a servlet?

    This is my problem:
    I have a table (generated from a database), and I would like the user to be able to select a one of the items in the table. When the user clicks the link I would like to transfer a piece of binary data stored in my database.
    I am quite new to Creator and web apps, so I don't really know the best solution to implement this. I have one requirement: I must log the file transfer in the database (the web-servers log is not good enough...)
    Any help would really be appreciated...
    Trond

    Hi Trond,
    Please have a look at the following thread.
    http://swforum.sun.com/jive/thread.jspa?forumID=123&threadID=46410
    It discusses how to display an image stored in the database table. This discussion may provide you with useful information.
    Hope this helps
    Cheers
    Giri :-)
    Creator Team

  • How to forward an applet page to servlet/jsp?

    I have an applet in imageMap.jsp file. This applet displays a map. When user enters the page of imageMap.jsp, they will see the map . If user clicks a point of the map, the latitude and longitude of that point should be sent to Search.java servlet and search results should replace the current page.
    My Search.java servlet works well.
    I think I should add mouse event in the applet. I can use MouseEvent.getX() and MouseEvent.getY() in the applet to get latitude and longitude. But I do not know how to go from this applet to servlet. How can I forward applet page to servlet?

    The <jsp:plugin> action is used in pages to generate client specific HTML tags involving download and execution of the applet that is specified in the tag.

  • HT4972 My ipad 1 has never been updated and can't run many apps which makes it of not much use, how do I update it ? A simple step by step idiot proof guide would be best ! Can anyone help please ?

    My ipad 1 has never been updated and can't run many apps which makes it of not much use, how do I update it ? A simple step by step idiot proof guide would be best ! Can anyone help please ?

    You can only update the iPad to iOS 5.1.1and you cannot go any higher. If you never updated that high, you can do so by using iTunes on your computer. You will have to connect the iPad to your computer with the cable and launch iTunes
    You can read more here. Make sure that you read the section about using iTunes. The article starts off with using the Settings on the iPad for WiFi updates. That only works with the iPad 2 and higher that is already running iOS 5.
    Update your iPhone, iPad, or iPod touch - Support - Apple

  • How do I send E-Mail using Servlet or JSP?

    Hi friends,
    Anybody can you please tell me how do I send an email in Servlet or JSP?
    Do I need any special configuration to check in my server space?
    I am puzzled because after surfing on net, I found that some people sending email with Javamail and Activation API
    and some people sending email using import="sun.net.smtp.SmtpClient";Please give me some simple direction or any working code if possible.
    Thanking u,
    ---Sujoy

    What you need is a working SMTP account to be able to send email, that is accessible from the server. If you have that, simply use JavaMail.

Maybe you are looking for

  • How can i use multiple values in RANK

    HI All, we hav eto display RANK  by mutilpe values . i mean  we have sales amount , qty, name  we have to dispaly top 20 rank with  amount  if amount is equal after 6 th rank then second pirority goes to qunatity for remaiing ranks if  after 15th ran

  • Image with foreign characters in name won't display

    I have an image on my drive whose name has foreign characters ("c�pia de frente.jpg"). To display the image my JSP reads the image name from the database and generates the following html: <img src="../pictures/c�pia de frente.jpg">The page then displ

  • How do you get cursor to move in Dreamweaver CS5?

    Im trying to get the cursor to move to the right or go up and down but it stays to the left. Im new to dreamweaver so any advice would be much appreciated. Thanks in advance

  • HT2433 "rastertoescp11 quit unexpectedly" ?

    keep getting this message when trying to print from Epson Photo 1400 - any one got a fix for this? (printing fine from Epson WF-2530)

  • Af:Commandbutton only listens to two Listeners?

    Hi! I've got a question. I just now tried to open a dialog with a commanbutton and tried to use the actionListener, the returnListener and the launchListener. But it didn't work. So tried out what can be the problem for that. Then I thought that mayb