Hide the default page (index.jsp) from the url

I have configured weblogic to make certain pages such as index.jsp to
          be a default page so that I can type in www.mydomain.com and it takes
          me to www.mydomain.com/index.jsp. However, I would like for this page
          to be hidden like it is on other web servers so that when I type
          www.mydomain.com I get www.mydomain.com without showing the
          "index.jsp" appended to the URL, even though it takes me to that page.
          Is this possible? Please advise.
          Thanks.
          

It's because WLS issues a redirect instead of forward.
          I have to admit that this behaviour is not consistent with other
          webservers. You might want to report this issue to [email protected]
          An ugly workaround is to have a frond-end proxy/webserver and specify
          the DefaultFileName or else live with the current problem ;-)
          Kumar
          web servers.
          Daniel Chance wrote:
          > I have configured weblogic to make certain pages such as index.jsp to
          > be a default page so that I can type in www.mydomain.com and it takes
          > me to www.mydomain.com/index.jsp. However, I would like for this page
          > to be hidden like it is on other web servers so that when I type
          > www.mydomain.com I get www.mydomain.com without showing the
          > "index.jsp" appended to the URL, even though it takes me to that page.
          > Is this possible? Please advise.
          >
          > Thanks.
          >
          

Similar Messages

  • Hidding the Url in JSP

    Hi,
    I have a JSP that generates links to a Servlet, the problem is that in the M$-Explorer the url appears when you pass the mouse-pointer over the link, how can I hide the URL? or how to hide the Servlet Url and params?

    Greetings,
    Hi,
    I have a JSP that generates links to a Servlet, the problem is that in the M$-Explorer the url appears
    when you pass the mouse-pointer over the link, how can I hide the URL? or how to hide the Servlet
    Url and params?If your JSP is providing the links as anchor tags (i.e. '<a href=...') then their is really very little that can ultimately be done about it.  Some JavaScript and CSS can be thrown in to keep the link from showing up in the browser's "info line".  However, unless you also throw in some script to also keep the user from being able to view the page source, this is only going to superfically "mask" the information and not really "hide" it.  Yet, even with disabling "view source" the user can still also disable JavaScript in the browser making all this moot. ;)
    A better solution to the matter is to move the "linking" from the client over to the server instead. Spend some time investigating the Front Controller pattern (see http://java.sun.com/blueprints/patterns/FrontController.html), and RequestDispatcher. Using 'buttons' in your JSP to signal views to the controller and session objects to store parameters already known to your application will take your application a lot farther in the long run than embedding HTML links in your front JSP. ;)
    Regards,
    Tony "Vee Schade" Cook

  • Hidding the URL

    Hello every body,
    I know if I want to hide the url adress of my browser I can
    do it using:
    document.location = "index.html#es";
    How can I do it from actionscript or flex (If is possible)?
    If I put the code inside the html from flex, when compiling
    again this code disappear.

    Put the code in the html-template\index.template.html file in
    the FlexBuilder project. FB uses this file to build the html
    wrapper.
    Tracy

  • Can we hide the URLs of any gatewayed services?

    Hi friends,
    I urgently need to get a solution for a problem. Can we hide the URLs of any gatewayed services?
    Thanks and regards,
    Veeshoo

    Hi Veeshoo - this forum is for WebLogic Portal. This question sounds like it is for WebCenter Interaction (formerly AquaLogic Portal) product? That forum is a sibling of this forum.

  • Setting the Data into a DropDownListBox in index.jsp from DataBase

    Hi,
    I want to put some data in dropdownlist.
    // in PageFlow Controller class
    public String[] items = {"aaa","bbb","ccc"};
    and in index.jsp
    <netui:select optionsDataSource="{pageFlow.items}" dataSource="{actionForm.selections}">
    I run the index.jsp and getting the dropdownlist with items aaa,bbb and ccc.
    Now I place a method in begin() method
    String[] items = conn.getData();//which returns data from database
    but the begin() method is not executed when I run the index.jsp after that I put the code
    String[] items = conn.getData(); in action() method
    it is giving the dropdownlist but after submitting the form i.e after calling the action.
    please tell me how the items will be set to listbox before action i.e when I run the index.jsp.Where can I put the code
    String[] items = conn.getData();
    and why the begin() method is not invoking.
    Regards,
    Sivaram

    Hi,
    I'm not sure if you have solved this yet?
    The issue you are facing is that you are loading the JSP directly. When you do this the pageflow will not be called and so the begin function not called.
    If you simply enter the URL of the pageflow instead of the JSP this will call the begin function, loading your dropdown values, and it should then redirect through an action to your index.jsp
    Hope that this helps
    Cheers
    IV

  • Setting the Data into a DropDownList in index.jsp from Database

    Hi,
    I want to create a Dynamic dropdownlist.
    // in PageFlow Controller class
    public String[] items = {"aaa","bbb","ccc"};
    and in index.jsp
    <netui:select optionsDataSource="{pageFlow.items}" dataSource="{actionForm.selections}">
    I run the index.jsp and getting the dropdownlist with items aaa,bbb and ccc.
    Now I place a method in begin() method
    String[] items = conn.getData();//which returns data from database
    but the begin() method is not executed when I run the index.jsp after that I put the code
    String[] items = conn.getData(); in action() method
    it is giving the dropdownlist but after submitting the form i.e after calling the action.
    please tell me how the items will be set to listbox before action i.e when I run the index.jsp.Where can I put the code
    String[] items = conn.getData();
    and why the begin() method is not invoking.
    Regards,
    Sivaram

    Hi,
    I'm not sure if you have solved this yet?
    The issue you are facing is that you are loading the JSP directly. When you do this the pageflow will not be called and so the begin function not called.
    If you simply enter the URL of the pageflow instead of the JSP this will call the begin function, loading your dropdown values, and it should then redirect through an action to your index.jsp
    Hope that this helps
    Cheers
    IV

  • How can we hide the URL with Webdispatcher after SSO redirect

    Repost in correct forum
    We have setup SSO with Kerberos and SPNEGO for NWBC and now we want to expose it to the internet via SAP Webdispatcher.
    NWBC is on a singelstack ABAP system on server1 and we have configured a standalone J2EE system on server 2 for isuing the saplogon ticket.
    This works fine with the redirect from icf NWBC -> Error Pages -> Logon Error -> Redirec to URL (Form Fields) http://server2:port/redirect/redirect.jsp
    on server2 we have a java application (redirect/redirect.jsp) witch has %response.sendRedirect("http://server1:port/nwbc")%
    Problem is that when the webdispatcher calls http://server1:port/nwbc the URL in the browser is hidden with MYDOMAIN.COM/nwbc but when the Logon-error (no saplogon ticket yet) is redirecting to  http://server2:port/redirect/redirect.jsp the browser is showing the actual URL http://server2:port/redirect/redirect.jsp and also when returning to NWBC the browser is showing http://server1:port/nwbc.
    And we don't wan't to expose hostnames (server1 and server2) to the internet.
    I got this answer:
    This question belongs to the SAP NetWeaver Application Server space, this space is for NWSSO topics only, the separately licensed product from SAP.
    Regarding your question you have to configure Web Dispatcher for both AS JAVA and AS ABAP and refer to Web Dispatcher URLs only. That includes ICF node configuration and the redirect servlet. The URL generation in AS ABAP needs to be configured so that URLs are generated to point to the Web Dispatcher. Use table HTTPURLLOC for that.
    But how do I set up webdispatcher for both ABAP http://server1:port/nwbc (this is working fine before SSO config.) and JAVA http://server2:port/redirect/redirect.jsp?
    This is my profile on webdispatcher:
    SAPSYSTEMNAME = SID
    SAPGLOBALHOST = LOCALHOST
    SAPSYSTEM = XX
    INSTANCE_NAME = INS
    DIR_CT_RUN = $(DIR_EXE_ROOT)\$(OS_UNICODE)\NTAMD64
    DIR_EXECUTABLE = $(DIR_CT_RUN)
    #SAP Cryptolib
    DIR_INSTANCE = D:\usr\sap\SID\INS
    ssl/ssl_lib = D:\usr\sap\SID\INS\sec\sapcrypto.dll
    ssf/ssfapi_lib = D:\usr\sap\SID\INS\sec\sapcrypto.dll
    sec/libsapsecu = D:\usr\sap\SID\INS\sec\sapcrypto.dll
    ssf/name = SAPSECULIB
    wdisp/ssl_encrypt = 0
    icm/HTTPS/verify_client=0
    wdisp/add_client_protocol_header = true
    wdisp/auto_refresh = 120
    wdisp/max_servers = 100
    ssl/server_pse = D:\usr\sap\SID\INS\sec\sid2SSL.pse
    rdisp/mshost = <ip for abap server1
    ms/http_port = <ms http port for abap server1
    # Configuration for large scenario
    icm/max_conn = 16384
    icm/max_sockets = 16384
    icm/req_queue_len = 6000
    icm/min_threads = 100
    icm/max_threads = 250
    mpi/total_size_MB = 500
    mpi/max_pipes = 21000
    # SAP Web Dispatcher Ports
    is/HTTP/default_root_hdl = abap
    icm/HTTP/j2ee_0 = PROT=HTTP,HOST=Server2,PORT=5xxxx
    icm/server_port_1 = PROT=HTTP,HOST=localhost,PORT=xxxxx
    icm/server_port_0 = PROT=HTTPS,HOST=mydomain,PORT=xxx
    icm/HTTP/mod_0 = d:\usr\sap\SID\SYS\profile\filter_rules.txt
    icm/HTTP/admin_0 = PREFIX=/sap/admin,DOCROOT=$(DIR_DATA)$(DIR_SEP)icmandir,AUTHFILE=$(icm/authfile),PORT=xxxxx,HOST=LOCALHOST
    and this is the filter_rules.txt
    # Rules
    if %{HTTP_HOST}  RegIMatch MYDOAMIN.COM*
    RegIRewriteUrl ^/$ /sap/bc/nwbc?sap-client=200
    if %{HTTP_HOST}  RegIMatch mydomain.com*
    RegIRewriteUrl ^/$ /sap/bc/nwbc?sap-client=200
    if %{HTTPS_HOST}  RegIMatch MYDOMAIN.COM*
    RegIRewriteUrl ^/$ /sap/bc/nwbc?sap-client=200
    if %{HTTPS_HOST}  RegIMatch mydomain.com*
    RegIRewriteUrl ^/$ /sap/bc/nwbc?sap-client=200
    I am new to this area

    You can use Web Dispatcher for multiple systems, in your case one AS ABAP and one AS JAVA. See the documentation, Implement one webdispatcher for multiple systems - Basis Corner - SCN Wiki and Name-based virtual hosts and one SAP Web Dispatcher to access multiple SAP systems.

  • Building HTML page with JSP from different applications

              Hi,
              we need to build a HTML page with 2 JSPs. If both JSP were in the same Application
              (Weblogic 8,1) there is no problem. But I have to use JSPs from differents web
              applications, each JSP is in different war files.
              How can I compose this page? How can I management the request object?
              thanks
              

    Your program print the whole jsp source code??
    This is your web server configuration problem.
    Your web server handle your jsp page like text file only.

  • How to hide the url of Iframe

    Dear Experts,
    In my webdynpro application I am using a Iframe UI element, to show a document from KM,
    When the user Right Clicks on the Iframe he can view the URL,
    I have to hide this URL.
    Request you to please give your helpful suggestions.
    Warm Regards
    Upendra Agrawal

    Hi Upendra!!!
    Do not this UI element any more. Refer to the following link.
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/15/c07941601b1d09e10000000a155106/frameset.htm
    or, you can disable the rick click using javascript.
    I hope this helps you. If you are looking for something else, please revert back. I'll be happy to help you.
    Cheers!!!
    Umang

  • Is there a way to hide the URL in Faces, like Cleveland framework??

    If you remember, the cleveland framework only show the controller at the url explorer bar. I want to do the same in my app with ADF Faces.
    Is this possible?
    thnks in advance.

    Hi,
    in JSF you can omit the request parameters but you cannot omit the page references.
    Frank

  • How to hide the URL when redirecting to another URL?

    Hello9 @ all,
    I want to write an application, which has some LinkToUrls, which redirect the User to BW-templates. When the user executes the LinkToUrls, he should redirect to the BW Templates, but must not see the URL in his browsers addressbar. He still should see the URL of the Web Dynpro Application. How could I solve this problem??
    Thank you in advance!!
    Mehmet

    Hello Maksim,
    I´ve tried this code inside a action of a LinktoAction but it does not work?
    public void onActionopenUrl(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionopenUrl(ServerEvent)
        String urlToTreeApp = wdContext.currentURLSElement().getKAP();
         final String formattedStr = "<HTML>" +"<HEAD>" +"</HEAD>" +"<FRAMESET ROWS="*" width="100%">" +"<FRAME SRC="" + "www.google.de" + "" MARGINWIDTH="0" MARGINHEIGHT="0" NORESIZE FRAMEBORDER="0" BORDER="0" SCROLLING="NO">" +"</FRAMESET>" +"</HTML>";
         try {
              final IWDCachedWebResource resource = WDWebResource.getPublicCachedWebResource
                        formattedStr.getBytes("UTF-8"),
                        WDWebResourceType.HTML,
                        WDScopeType.CLIENTSESSION_SCOPE,
                        wdComponentAPI.getDeployableObjectPart(),
                        "FrameResource"
              try {
                   wdThis.wdGetWd_menueInterfaceViewController().wdFirePlugExit(resource.getAbsoluteURL());
              } catch (WDURLException e1) {
                   // TODO Auto-generated catch block
                   e1.printStackTrace();
         } catch (UnsupportedEncodingException e) {
              e.printStackTrace();
        //@@end

  • How can i set my own default page when i enter my url

    whenever i key in my url, the index.html appears... how can i set my own default page instead?? thank u

    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
    "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
    <web-app>
    <welcome-fiile-list>
    <welcome-file>over.jsp</welcome-file>
    </welcome-file-list>
    </web-app>
    please see the above.
    i have saved my jsp files in the root dir of webapps. in c:/tomcat/webapps/root/web_inf/web.xml , the content of this web.xml is as shown above.... but it still dont work .... how i can i rectify this problem.
    really thanks a lot

  • How to hide the URL path on click of an link to URL element,from user

    Hi All,
          I have an link to URL element, on click of the link it opens the specified url in a new window. But in new window the user is able to see the entire URL path. I want to hide this path from the user. Can any one please suggest me how to do it.
    Regards,
    lakshmi.

    hi,
    just check this help
    http://help.sap.com/saphelp_nwce10/helpdata/en/f7/f289c67c759a41b570890c62a03519/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/7d/fdc99ab37a8d42892e0d39bbd23be8/frameset.htm
    Link to URL Question

  • Hide the URL in Portal

    Dear All,
             When we logged into portal, Wherever we navigate inside the portal, we can find the same url "http://servername:serverport/irj/portal/# "  in the address bar.
    How this was done?
    Kindly give your inputs.
    Regards,
    Eben Joyson.

    More info here
    http://help.sap.com/saphelp_nw04/helpdata/EN/26/71c74030308431e10000000a1550b0/content.htm

  • Hidding the condition in reports

    Hello All,
    I have genarated a report with some binding variables, It will produce a custom form for the values to consume.
    there is a drop down box in the custom report for conditions to be set. I want to hide this drop down box for the end user.
    Or How to build the "Reports From Query Wizard" without the drop down box(which contains the condition, I will set the conditions by saving them once..) or hide in the custom report which is provided by the portal prior to genarate report.
    thanks in advance

    Greetings,
    Hi,
    I have a JSP that generates links to a Servlet, the problem is that in the M$-Explorer the url appears
    when you pass the mouse-pointer over the link, how can I hide the URL? or how to hide the Servlet
    Url and params?If your JSP is providing the links as anchor tags (i.e. '<a href=...') then their is really very little that can ultimately be done about it.  Some JavaScript and CSS can be thrown in to keep the link from showing up in the browser's "info line".  However, unless you also throw in some script to also keep the user from being able to view the page source, this is only going to superfically "mask" the information and not really "hide" it.  Yet, even with disabling "view source" the user can still also disable JavaScript in the browser making all this moot. ;)
    A better solution to the matter is to move the "linking" from the client over to the server instead. Spend some time investigating the Front Controller pattern (see http://java.sun.com/blueprints/patterns/FrontController.html), and RequestDispatcher. Using 'buttons' in your JSP to signal views to the controller and session objects to store parameters already known to your application will take your application a lot farther in the long run than embedding HTML links in your front JSP. ;)
    Regards,
    Tony "Vee Schade" Cook

Maybe you are looking for

  • Searchable database in Dreamweaver CS4

    I want to create a page where a list our stores that would be searchable by State or Country. I have a very simple Excle file with all the information for the stores including phone numbers and addresses. I want fileds on the page that will allow a u

  • Help - Wrieless help for HP Photosmart C4780 Printer / Mac

    I recently moved from California to North Carolina and I am having trouble connecting my HP Photosmart C4780 printer wirelessly to my MAC. I am running OS 10.8. It works through the USB but how do I connect it via wirelessly agian. It worked great in

  • Operations Manager 2012 R2 Reporting Services and VMM Analysis Database

    Hi all, Hi All I have copied the post below from another post sent out a while ago, didn't get a reply on the fix and I am having the same issues, anyone come across this? I've integrated SCOM2012 R2 and VMM2012 and everything works fine. The SSAS ar

  • [ANNC] SiteGrinder 2.0 Released.

    I wanted to let everyone know that SiteGrinder 2.0 has been released. http://www.medialab.com/sitegrinder SiteGrinder is a plug-in for Photoshop that converts layered Photoshop designs to working web sites. It can be used as a standalone tool, but it

  • MInimum price for a freight cond

    Hi Gurus, Here is teh issue I am facing.  I need to enter minimum price for a pricing condition. Here is the example Per kg rate     From    1 KG  to  25 KG        20 INR per  KG                        From   26 KG to  50 KG        18 INR per KG