Diferent application with same URL.

Hi
I have two applications with following URL :
http://hostname/a/b/c/initial
Application First has a/b as context root
Application second has a/b/c as context root
Now, if I access above URL which application will be accessed.
Thanks

Hi
I have a URL
http://hostname/a/b/initial
where initial is servlet name
Now, what i know are the following ways to define context root along with servlet mapping in web.xml are :
Application.xml (context root): a
Web.xml (URL mapping) : /b/initial
Application.xml (context root): a/b
Web.xml (URL mapping) : /initial
Application.xml (context root): a/b/initial
Web.xml (URL mapping) : /*
Are there any other ways to do this.
We need to have same URL.
Cannot change that.
Edited by: money321 on Apr 17, 2009 9:06 AM

Similar Messages

  • How to register the same schema with same URL

    I'm getting ORA-31085 error when try to register the same schema with same URl.
    My requirement is that I should be able to reregister the same schema with the same URL .
    I'm using the following function :
    PROCEDURE validateXmlSchema(inp_xmlMsg IN VARCHAR2,
    out_isValidDoc IN OUT NUMBER,
    inp_xmlSchema IN OUT VARCHAR2,
    out_varchar_notused OUT VARCHAR2)IS
    xmldoc XMLType;
    res number;
    BEGIN
    xmldoc := XMLtype(inp_xmlMsg);
    res := xmldoc.isSchemaValid(inp_xmlSchema);
    IF (xmldoc.isSchemaValid = 1) THEN
    out_isValidDoc := 1;
    ELSE
    out_isValidDoc := 0;
    END IF;
    END validateXmlSchema;
    This is used recursively.Until the schema is not validated for a given URL this function should keep on throwing error and once the schema is validated the data should be inserted in the DB.
    But its not happening as of now instead the ORA-31085 is thrown second time.
    Plz provide pointers to solve the issue.

    "mjs" <[email protected]> wrote in message
    news:g7kjk5$o6$[email protected]..
    > "mjs" <[email protected]> wrote in message
    > news:g7gl2g$i3d$[email protected]..
    >> "Zorrrro" <[email protected]> wrote
    in message
    >> news:g7gcjv$a6n$[email protected]..
    >>> I'm completely nuckered trying to find an answer
    for this...
    >>>
    >>> Does anyone know how to keep the same width an
    position of the submenus
    >>> of a
    >>> horizontal dropdown menu?
    >>> Thank you in advance.
    >>>
    >>> Cheers.
    >>
    >> Doesn't a simple style="width:200px" in the input
    tag work?
    >
    > I'll asume the answer is "yes", then. ;) You're welcome.
    I believe the OP is talking about a dropdown menu like this
    one
    http://www.tjkdesign.com/articles/keyboard_friendly_dropdown_menu/default.asp
    not about a "select menu".
    I could be wrong though...
    Thierry
    Articles and Tutorials:
    http://www.TJKDesign.com/go/?0
    http://developer.yahoo.com/
    helps you build applications and mashups

  • I want to create home page for my application with short URL

    I want to create home page for my application with short URL
    as when I want user to use my application user must go to URL like this
    http://127.0.0.1:7101/My-Project/faces/app/empModule/allEmployees/viewMyEmployees.jspxI want the user to use short URL , How can I use shorter URL not all this one.
    I want shorter URL for my application not to write full path .
    thanks in advance.
    Edited by: user611775 on Oct 31, 2010 10:21 PM

    Well,
    it's up to you. The first part (Mcit-Project-ViewController-context-root) is the context root which you define in the view controller project. 'faces' is the name the servlet filter reacts on. You can't omit it but shorten it in web.xml. The rest is your directory structure. I'm not sure how to shorten this other as to move the jspx files back into the web root folder.
    By the way an ADF faces app never uses the .jspx at the end of the url. If you specify '.jspx', you only render the page but don't start the work flow.
    Timo

  • How to run two files with same url-  urgent

    hi,
    i created two servlet page and both are working very fine.but at same time i only able to run one file with same url. Is possible to run two or more file at same time with same url name..
    if you r not understanding what i want to ask then, i have two file names under helloWeb directory
    1) helloWorld.java(servletname s1, url /man)
    2) helloWeb.java (servletname s2,url /man)
    to run - http://localhost:7001/helloWeb/man - it runs very first file which is added to deployment module.
    so i want to know how i can run both file with same url, for this what i have to pass on my address bar.
    plz help me i m wating
    <b></b>

    Hi,
    We can give same url mapping to both Servlets but we can access the servlet which is entered first in web.xml because whenever we send a request to the webserver then webserver look at the elements in web.xml file one by one.
    When it finds the corresponding url mapping then immediately sends the response to the client.The same url mapping for the next element will be ignored.
    I think there is no possibility to access both servlets with same url.
    Regards
    Anilkumar kari

  • Opening IE from application with give url parameters

    Hello,
    I have an application which needs to open IE and send it to a particular URL with cergain URL parameters. I use the exec() method of Runtime, IE opens up, BUT the url is truncated. Everything after and including the first '&' is cut off, thus causing errors in the jsp page it is trying to get.
    Here is the code:
    String parameter = " http://192.168.10.202/reports/reportgenman.jsp?S=" +
    Integer.toString(TradeIDGenerator.getClientID()) +
              "&cn=snoopy&cp=1252&lan=eng&acctount=" + account +
              "&from=" + getStartTime() +
              "&till=" + getEndTime();
    Runtime newsRuntime = Runtime.getRuntime();
    try{
    String osName = System.getProperty("os.name");
    Process ieProcess = null;
    if( osName.equalsIgnoreCase("WINDOWS 2000") || osName.equalsIgnoreCase("WINDOWS NT") )
    ieProcess = newsRuntime.exec("cmd /c start " + parameter);
    else if( osName.equalsIgnoreCase("WINDOWS 95") || osName.equalsIgnoreCase("WINDOWS 98") || osName.equalsIgnoreCase("WINDOWS ME") )
    ieProcess = newsRuntime.exec("start " + parameter);
    }catch(IOException ie){e.printStackTrace()}
    This code opens the Explorer with the following URL
    http://192.168.10.202/reports/reportgenman.jsp?S=6598745
    Where did the rest go?
    Please help.
    Thank you,
    Elana

    HI
    Place the parameter between quotes as shown below
    ieProcess = newsRuntime.exec("cmd /c start iexplore.exe " +
    "\"" + parameter + "\"");
    If you do not place double quotes, the URL will be truncated because of the presence of ampersand. Try the same command in command prompt it will not work.
    This will work.
    Regards
    Balasubramaniyan Krithivasan
    Hello,
    I have an application which needs to open IE and
    d send it to a particular URL with cergain URL
    parameters. I use the exec() method of Runtime, IE
    opens up, BUT the url is truncated. Everything after
    and including the first '&' is cut off, thus causing
    errors in the jsp page it is trying to get.
    Here is the code:
    String parameter = "
    http://192.168.10.202/reports/reportgenman.jsp?S=" +
    Integer.toString(TradeIDGenerator.getClientID())
    D()) +
              "&cn=snoopy&cp=1252&lan=eng&acctount=" + account +
              "&from=" + getStartTime() +
              "&till=" + getEndTime();
    Runtime newsRuntime = Runtime.getRuntime();
    try{
    String osName =
    ring osName = System.getProperty("os.name");
    Process ieProcess = null;
    if( osName.equalsIgnoreCase("WINDOWS
    Case("WINDOWS 2000") ||
    osName.equalsIgnoreCase("WINDOWS NT") )
    ieProcess = newsRuntime.exec("cmd /c> time.exec("cmd /c start " + parameter);
    else if(
    else if( osName.equalsIgnoreCase("WINDOWS 95") ||
    ) || osName.equalsIgnoreCase("WINDOWS 98") ||
    osName.equalsIgnoreCase("WINDOWS ME") )
    ieProcess = newsRuntime.exec("start> ntime.exec("start " + parameter);
    }catch(IOException ie){e.printStackTrace()}
    This code opens the Explorer with the following URL
    http://192.168.10.202/reports/reportgenman.jsp?S=65987
    5
    Where did the rest go?
    Please help.
    Thank you,
    Elana

  • Different  timeout for two protected applications with same AM 7.1

    I have a AM 7.1 configuration planned.
    We need to protect two different application url's; And provide different session & idle timeout for each of these url's.
    Can we configure different timeout for two protected URL's / applications configured with same AM 7.1 ?
    /Kasi

    Hi,
    I have not actually configured this, but you can create a policy for that application with an "Active Session Time" condition.
    You also have an option there to destroy or not the session.
    But if the user is allowed to do SSO between the 2 applications then you should consider if you can destroy the session or not.
    Hope this helps.
    Andrei

  • Multiple Portals with same url..

    hi,
    how can i have multiple portals having same url ? i will have a request
    parameter Portal name ,using this parameter i want direct it to the corr
    portal.
    Thanks
    vedant

    Yes, you can do that. You basically need to setup mod_osso agent in OAM.
    Oracle Portal behaves exact in the same way as any mod_osso protected application. If you are able to protect a standard HTML file on the webserver's operating system, you will be able to protect your Portal as well.
    Setup is not documented (yet).
    Thanks,
    EJ

  • JSF navigation rules sent me to different page, with same URL

    Hello everybody,
    Have a newbie question on JSF, if anyone can help me. I am using JSF for a web application, and i have a small problem.
    If i define a navigation rule, from one page to another, and i am having a button that should send me to another page,
    the browser URL remains the same, although the page content IS correctly changed.
    Thanks,
    Andrei

    You're welcome.
    Though I should have added that the advantage of the redirect after a POST request is that refreshing the request or navigating back and forward by browser history doesn't cause a re-submit of the POST request anymore. This way you avoid duplication of submitted data. This is called POST-redirect-GET pattern. Refreshing the request after a redirect (which is always a GET request) would only cause the redirect being refreshed, not the initiating POST request.
    The disadvantage of a forward is less or more obvious: the URL remains the same and it is not really good for the user experience. If one copypasted the URL in a new window (a new GET request), one wouldn't see the forwarded page, but the originating page. That's why I would recommend to avoid navigation cases and just use the same page to postback the POST request to. For normal page-to-page navigation within a website, I would recommend just using outputlinks and not commandlinks with navigation cases. It's all better for the user experience.

  • 500 InternalServerError when calling app with same url than oracle app

    Hello
    i wonder if some one could help us.
    we are running an application on oas developed with forms 10g on a specific IP say
    ip 10.10.10:9999 and this application is calling other application (a jsp) on another server
    and to call it i use:
    Web.show_document (http://10.10.10:9080 ,'_blank');
    but that other application is on the same ip than the oracle application
    when this hapens the listener try to connect itself 5 time then it just
    give the 500 InternalServerError .
    any idea why this is happening
    i will realy apreciated your help
    many thanks in advance
    Ana
    ps:
    i forgot to say that when i use the following command :
         webutil_Host.host('cmd /C START iexplore "'||v_url||'"');
    it works
    i think that is because is a new sesion???
    Edited by: ana.gutierrez on 19-feb-2009 4:27

    Hola Roberto
    many thank for your answer.
    the oracle aplication is developed in Forms [32 bits] Versión 10.1.2.3.0 (Producción)
    the server is
    10g Release 2 (10.1.2) Patch Set 3 (10.1.2.3.0) for Solaris Operating System
    the jsp is in a was server it is version 6 the java aplication is developes using jdk 1.4 but is running on a jre 1.6.0_11
    bouth applications have the same ip differt ports
    when oracle app calls the java app use the
    http://999.999.999.9/dir/dir.do?parameters.....
    the port is not especified but is different
    when the java application calls the oracle aplication the url is something like
    http://999.999.999.9:8888/forms/frmservlet?config=oracle_aplication&otherparams=
    if the urls are call directily from a browser they work fine.
    has it got something to do with the configuration of the single sing on ??
    any help or idea will be very apreciated
    many many thanks
    ANa

  • Failed to deploy web application with same name twice

    Hello-
    On Oracle 10g Application server I deployed an WAR file called "anbadmin", then undeployed it. The undepoloyment failed from the OEM so I undeployed it manually via removing its entries from server.xml.
    When I tried to deploy it again with the same name I got this:
    Failed to deploy web application "anbadmin". Failed to deploy web application "anbadmin". . The evaluate phase failed. The Adapter used in the evaluate may have thrown an exception.
    Resolution:
    Please call Oracle support.
    Base Exception:
    java.lang.NoSuchMethodError
    null. java.lang.NoSuchMethodError
    Is there a solution for this?
    Regards

    I think I know the solution. We encountered exactly same message and no further deployment could be made. It appeared message in "dcmctl" utility was much more helpfull than the one in EM (though you still have to use "getError" command...)
    If you are using file-based repository, you have to issue command in dcmctl utility "resetFileTransaction". This closes repository and opens it again.
    Myrra

  • Execute Webdynpro4Abap Application with same ERP-User for all portal-users?

    Hi,
    is it possible to let a Webdynpro4Abap application run with only one ERP-User for all portal-users? Therefore not needing an ERP-license for every portal-user?
    Somekind of mapping maybe?
    Regards
    Jan

    Jan,
    It is possible but it all depends on the type of application .If you want to show same data for all users you can use one user but if data is different for all users then you cannot go with this approach.
    to configure single backend user for your application go to tcode SICF and look for that application and go to logon data tab by double clicking and give one common user details
    Thanks
    Bala Duvvuri

  • Problem when deploying on tomcat two applications with same appmodule name

    We have deployed two different adf-uix applications to a tomcat application server.
    Each of the two applications has one application module, the two application modules have the same name. This seems to cause a conflict between the two applications.
    After starting the application server, we can run first the application 'A' and then the application 'B' or viceversa, every time the first application works and the second doesn't. When running the second application we get messages like 'table or view doesn't exist'.
    Having the application modules with different names seems to solve the problem, but it seems not so easy to change the application module name on an existing and rather complex application.
    Any suggestion? Please help.
    Thanks, Mauro

    I had the same problem and the only way to solve it was to change the app module name.

  • Create new application with same ID as a previous application

    10gR2, webtogo client. We are in a situation where due to what looks like some corruption issue/inability to publish correctly, we may need to drop our existing application and re-create. So the application will have a new applications.id. applications.dsn and applications.publication value. This will most certainly force all our offline users to do a re-install which we want to avoid. (correct? - I'm assuming the offline databases like a1121.odb are keyed to the 1121 applications.id)
    Wondering if there is any way to re-create a new application but with the old application ID. One way we think we could do this is that after dropping the application, reset the mobileadmin APPIDS sequence so that it will pick up the ID of the old app when we create the new one. And so have the same applications.id. applications.dsn and applications.publication value.
    However, wondering if we do this, we'd cause some other issue. Anyone have any ideas? (we have ticket open for the publication problem, but not much progress yet on that end.)

    You may create new mode with the same transaction.
    I'm not sure, that you may just "copy-paste" the content from one mode into another.
    To create new mode with the same transaction, you may use the following code:
    data: l_current_tcode like sy-tcode.
    move sy-tcode to l_current_tcode.
        CALL FUNCTION 'TH_CREATE_MODE'
          EXPORTING
            transaktion    = l_current_tcode
            del_on_eot     = 1
    *        PARAMETERS     = l_pars
            process_dark   = 'X'
          IMPORTING
    *        mode           = 
          EXCEPTIONS
            max_sessions   = 1
            internal_error = 2
            no_authority   = 3
            OTHERS         = 4.
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
    What transaction do you need to display?
    Message was edited by: Cyrill Smirnov

  • TED chained applications with same source path produce large distribution file

    Hello,
    after using an application successful in my central location I want to
    distribute it - what's the problem: The application itself contains 13
    simple msi installations as dependent....
    So what happens: The source path contains 13 msi files, the
    distribution file contains all files for every application...even if
    they are the same...
    I was curious about not getting the gather finished, instead I got a
    "volume almost out of space" message.
    My question: Is this working as designed, will it be changed (it doesnt
    make sense to distribute the same files multiple times...), is it a bug
    only?:)
    I'm going to put the msi into different subfolders now (change of
    source path, origin path is needed too...) - I think this would work
    well as a workaround, however I would like to know if it's designed
    that way - so you have to take care not to share any folders or
    subfolders...
    Thx in advance
    Dirk
    ObiwanRedN

    Jared,
    hard to get right now..had to remove the old apps...
    Trying to explain short:
    - 13 small msi install applications, every source in a different folder
    now
    - "package" application (call it "PACKAGE")-> associated to selected
    workstations (or ws group), start menu/desktop to do a manual install,
    this app doesn't do anything except having the 13 dependent
    applications
    - "update" application (thats what I named "3rd"...sorry for the
    confusing name;))-> associated to all workstations, set to force run if
    special conditions are met (so something showing one of the partial
    apps is outdated, the partial app will have a new version number
    assigned). This application had the dependent app "PACKAGE" -> worked
    fine in local distribution but would start to distribute the apps 1-13
    again....(?not sure)
    Finally I came to a general conclusion: If you have some special basic
    application (lets say dot-net 3.0, 2.0 etc..., a special patch) that
    might be required for different applications -> it's not a good idea to
    use msi for this one because it will distribute with every app using it
    as a dependent app. I will go to distribute file sources, the app calls
    msiexec so nothing will be distributed for this part...
    Hopefully I explained somewha better...(?)
    Thx in advance
    Dirk
    ObiwanRedN

  • How do I remove old web site when publishing new site with same URL in iweb? Hit replace when publishing new iweb site (so we could have control over changes) but new site name is attached to old via a / after our www address we want to keep.

    I hit the replace when publishing the new iweb site (so we could have control over changes - last one was not an apple based site) but new site name is attached to old via a forward slash and underscore after our www address. Makes it very messy with a very long web address.  Original address now followed by iweb site name followed by name of first page? Went for iweb as not that computer literate - all going so well?! Cheers for help in anticipation. Have to get off to work now but be great end to week if we could be sorted tonight. Rupes

    Well yes of course, if you try and publish through iWeb there won't be an option to publish without your site folder which is exactly why I told you to download Cyberduck and use Cyberduck to upload your site to your server having published your site from iWeb to a local folder.  That is what you need to do if you don't want your site name to be included in yoru url.
    It would have been easier also if you had used Cyberduck initially to connect to your server and delete your old site yourself - at least that way you would have deleted the correct files rather than relying on your hosting service to do it and doing it incorrectly.
    Download Cyberduck and then select the publish to a local folder option from iWeb and then use Cyberduck to upload your site to your server, but rather than uploading the whole site folder and separate index file, upload ONLY the contents of your site folder and then your url will be http://www.domain.com/page_name.html.
    It really isn't rocket science!

Maybe you are looking for

  • Training and event management help

    hello frnds                             am Mathew,from Texas,,i am working with SAp consultant company,,,am in the implementation of training and event man agent module for my client,,, but the client not at all implemented personal development and t

  • Hi8 video to DVD

    I read on a post somewhere that the solution to conversion could be as simple as a new DV camera, FW enhanced. What is FW enhanced--does that simply mean with a fire wire connection? I purchased a converter recently, and it seems to be working ok, bu

  • How to test Scenario with AS2 adapter..!!!Very Very Urgent..!!

    Hi All, We have provided the partner details like AS2ID,URL,Port and certificates. They ask me to do some sample testing whether files are reaching to partner system or not. I done all the required steps in IR and ID... 1. Can anyone suggest me how t

  • Problem: Sharing session between two different Web browser & Web Appn'

    I�m facing a strange scenario here and would appreciate any inputs which could resolve this issue. I have two webapplications (EAR�s) on two different machine and different WebSphere application server. I have �WebAppA� [on machine A, WAS A] which op

  • Error SOFFICEINTEGRATION207 while opening Adobe Layout editor.

    Hi ,         Till yesterday my Adobe Livecycle Designer was working perfectly fine. But today when I try to open the Layout Tab in SFP it throws the error "SOFFICEINTEGRATION207" along with "Error during Method Call'  . It also shows the message - Ap