Directory Structure for multiple applications at one host

Can I have multiple (more than one) WEB-INF directory structures in the public_html directory for different web applications? If I do this, how do setup the url-pattern in the Servlet Mapping tag in the web.xml file? How do I setup the URL that calls the servlet from the HTML that has been send to the user�s browser?

If I understand your question, you want multiple contexts. All App Servers/Web Servers allow you to setup multiple contexts. Normally if your root context is in /home/myhome/app_server/
then you would setup multiple contexts by creating a folder for each context:
/home/myhome/app_server/context1/
/home/myhome/app_server/context2/
Each would have their own full application/website. And the way to reference these would be as such:
if the domain, www.mydomain.com, is mapped to /home/myhome/app_server/
www.mydomain.com/context1/
www.mydomain.com/context2/
I think that is what you were asking. Hope it helps

Similar Messages

  • Guidelines regarding directory structure for multiple Oracle homes on Unix!

    Hi All,
    Are there any guidelines published regarding directory structures that should be defined while using multiple Oracle homes on Unix/Linux box?
    I am looking for guidelines regarding admin and oradata folders so that we dont accidentally mess up with the DB contents with a wrong Oracle home.
    Its a development server with 8i and 10g. 11g might also get loaded on the same server in future.
    Thanks in advance...
    Regards

    Thanks Maran.
    I have already checked many installation guides before posting here. All of them mention about creating folders like /admin or /oradata on various mount points but none of the naming conventions really indicate whether it is a 8i database or a 10g database.
    This is required when you are having multiple Oracle installations under /opt and databases are running from different mount points.
    Regards,

  • Guidelines for deciding directory structure for Swing Application

    Hi,
    We are developing a Swing Application for our organization. We want to organize the code and resources/icons/properties files in correct manner.
    We have guidelines for arranging the code for web application. Is there any such guidelines available for desktop application as well? What is the preferred location for keeping the icons and properties files?
    Regards,
    Manu

    Thanks Maran.
    I have already checked many installation guides before posting here. All of them mention about creating folders like /admin or /oradata on various mount points but none of the naming conventions really indicate whether it is a 8i database or a 10g database.
    This is required when you are having multiple Oracle installations under /opt and databases are running from different mount points.
    Regards,

  • Dynamic memory allocation on HP-UX for multiple instances on one host

    Hi everyone,
    I was wondering what the current possibilities are nowadays on running multiple SAP instances on one very large host with regard to resource sharing. Normally, for each instance, using PHYS_MEMSIZE etc you have to set the memory to a fixed size and then optimize it.
    Preferrably we would like the memory to be allocated based upon actual usage. Is that possible at all? on HP-UX? Using third party techniques?
    Thank you
    Marcel Rabe

    Hello Marcel,
    As Juan said you may not be able to change the parameters at runtime.
    The only parameters that can be dynamically switched are :
    ztta/roll_first
    ztta/roll_extension
    ztta/roll_area
    abap/heap_area_dia
    abap/heap_area_nondia
    abap/heap_area_total
    em/stat_log_size_MB
    em/stat_log_timeout
    These parameters would put a cap on memory allocations, however they wouldn't help increase the total addressable memory area.
    I would suggest that you consider Adaptive Computing for dynamic use of resources.
    Adaptive Computing
    Regards,
    Siddhesh

  • Sappfpar for multiple instances in one host

    hi,
    There are 3 sap instances are running on one of my host. If I use sappfpar check <instance profile>, it gives what would be the worst case memory requirements..
    Is there any way to check for all 3 instances together for memory requirements?  Should I run one by one and add all together for total requirements ?
    Thanks,
    RajS

    Hi,
    Could you please check the settings
    Goto: SCCL try with these options and check for the relevant sap notes available in service market place
    Expert settingscheck the following tabs checked
    NORECON -Ignore Conversion Error
    NCHECK Do not check database object for consistency
    NRFCCHK-Ignore RFC Repository Check
    regards,
    S.Rajeshkumar

  • Directory structure for servlets and webservices in one application

    hi,
    Can any one help me for creating servlets and webservices in one
    application and deploying in Jboss 4.2.0.
    I want to know exactly what is the directory structure for creating this
    application and what are the additional .xml files for deploying this application.
    if any one know this answere please tell the answere.

    I figured out a solution - it's a problem of policies. In detail: Server1's codebase entry (file:) refers to the class directory of Server1's project. In the simple case of only Client1, which has no codebase entry, it works fine without a file permission on the side of Server1. In the complex case of Client1+Server2, which has to have a codebase entry (file:) refering to the class directory of the Server2's project on a separate machine, for exactly the same method call from Client1 to Server1 a file permission entry on the side of Server1 is needed for Server1's class directory. But WHY ???
    It seems to be a little confusing with the codebase entries, many of the posts are contrary to others and to my personal experiences. Some comments given by Adrian Colley throw a little light upon some aspects. Is there anybody, who can explain the whole topic, when, why, and which part of RMI application deals with codebase entries, also in case of not dynamic code downloading ? May be there is also a reference into the java docs, which I didn't found up to now.
    Thanks in advance
    Axel

  • Directory Structure for Discoverer

    Hi,
    I have couple of queries...
    1. What is the directory structure for discoverer on Unix in Application Server?
    2. Is there any extention for the woekbook saved in the database like .dis?
    I am working on discoverer 10g with Oracle Apps.
    Thanks...

    1. On a Solaris machine where I have Discoverer 10g (9.0.4.3) installed the directory structure for the Oracle home looks like this:
    $ cd h9043
    $ pwd
    $ /home2/h9043
    $ ls
    Apache install.platform opmn srvm
    BC4J inventory oracore sso
    JRE j2ee ord syndication
    OPatch javacache otrace sysman
    assistants javavm oui tk
    bibeans jdbc owm tools
    bin jdk perl uat
    browser jinit plsql uddi
    cfgtoollogs jis portal uix
    chgip jlib precomp ultrasearch
    config jpi procbuilder90 upgrade
    dbs jre rdbms ut
    dcm jsp relnotes vbroker4
    diagnostics lbs reports wcs
    discoverer ldap root.sh webcache
    error.txt lib root.sh.old webservices
    forms90 mesg slax wireless
    guicommon9 mp soap xdk
    iaspt network sqlj zrc
    install ocommon sqlplus
    2. The ability to save workbooks to a file system is available only on Discoverer Dekstop, which runs on Windows.
    Thanks
    Abhinav
    Oracle Business Intelligence Product Management
    BI on Oracle: http://www.oracle.com/bi/
    BI on OTN: http://www.oracle.com/technology/products/bi/
    Documentation: http://docs.oracle.com/
    Discoverer: http://www.oracle.com/technology/products/discoverer/
    BI Software: http://www.oracle.com/technology/software/products/ias/devuse.html
    BI Samples: http://www.oracle.com/technology/products/bi/samples/
    Blog: http://oraclebi.blogspot.com/

  • Help me out with Directory structure for JSF+SPRING+HIBERNATE Project

    Hi frnds ,
    My name is Walter working for a startup software company . We are working on Hospital Management System (HMS) project .. MVC Architecture ...using Hibernate Spring and JSF ..we need to design Directory Structure for our project..
    plzz help me friends in suggesting MVC Directory structure ...? also plzz help me by directing me with the navigation flow?
    Thnxx in advance
    Regards
    Walter

    Thank you so much .. friends ..for your kind replies..thanks to Illu, anguquga and special thanks to BalusC for giving me the advice for hiring EE Artitech ..
    Anyways I have discussed with my teammates designing the directory structure
    anguquga your directory structure is close to what I have designed ..referiing to a sample application on web..
    Hospital Management system MVC architecture Directory structure
    This is the way the structure goes on ..
    model --> for Hibernate as well as Spring
    View --> for JSF
    src(-)
    |
    ------(-) java
         |
         -------(-) model
              |
              ------(+) businessobject
              |
              ------(-) dao
              |
              ------(+) hibernate
              |
              ------(+) exception
              |
              ------(-) service
              |
              ------ (+) impl
              |
              ------(+) util
              (-) view
              |
              ------(+) bean
              |
              ------(+) builder
              |
              ------(+) bundle
              |
              ------(+) servicelocator
              |
              ------(+) util
              |
              ------(+) validator
    (-) Web or WebRoot
    |
    ----- (-) JSP Files�etc.,
    |
    ----- (-) META-INF
    |
         ------     (+) Images
    |
         ------     (+) Scripts ==== CSS (cascading style sheets, JavaScript files etc.,)
    |
    ----- (-) WEB-INF =========xml files web.xml, faces-config.xml etc.,
         |
         -----(-) Classes
              |
    -----(-) HMS
    |
                   ----- (+) model
                   |
                   ----- (+) view
    |
    ----- (+) lib
    I am sure you may notice few errors .. if u find any plzz reply me back.... thnxx in advance for replies...and thnxx for giving your valuable replies...
    Walter (Kaleem)

  • Is it possible to combine multiple Pur Reqs for multiple materials to one vendor into one PO through MD07?

    We have material planners who use MD07 (traffic signal screen) Stock/Requirements List, Collective Access tab to review material requirements by MRP Controller.  Once the list is created, they select individual materials and review them in MD04.  In a lot of cases, Purchase Reqs (PRs) are reviewed and adopted into POs individually for each material.  Sometimes they will combine multiple PRs for one material into one PO.  This is a good practice.  However, from what I have found, it is not possible to combine multiple PRs for multiple materials into one PO.  If this was done it would dramatically reduce the number of POs that we are issuing to suppliers.  Problem statement:  We issue too many POs which causes additional influxes down the line (receiving dock/goods receipts processing, receiving issues, invoices, invoice issues, etc.).  Does anyone know of a way to address this problem without a major overhaul in approach or customization of the system?  Thank you in advance!   

    Hello Michael
    As far as I know, this is not possible directly from MD07, only from the MM transactions.
    The following thread suggests the following procedure to convert several PRs into one PO:
    Conversion of multiple PR into single P.O
    Drag and drop the first PR from the item overview to the shopping card on top of ME21N,
    then open the PO detail delivery schedule tab and drag  and drop all other PR to the shopping card shown  in the schedule tab
    You can use the same procedure, calling the order conversion from MD07 and then drag and drop another PRs into this PO.
    BR
    Caetano

  • What should be directory structure for Custom MDS files?

    Hi,
    I have personalize a page and then exported the personalization.
    Now my requirment is to migrate this personalization to other server, for which clients want steps specific to UNIX.
    My doubt is where should I copy these files on the server to import the personalization using XMLImporter command? ( Client do not have JDev on his server, so can not use impot command)
    my custom_top structure is like '/u02/int/applmgr/CUSTOM/xbol/11.5.0'
    The customization is part of product 'OTA'
    I am confused about where to put(Directory structure on custom top) customization and other MDS file to import using XMLImport.
    This customization is also using a Custom LOV for which, I have given the path xbol/oracle/apps/ota/admin/enrollment/webui/XbolGradeRN.
    For now I have transfered the file from window based JDeveloper and things are working fine. I need the UNIX directory structure for MDS files.
    Please help to clear my this doubt.
    Regards,
    Adarsh

    There is nothing specific to UNIX since the files are never picked from the file system on a production instance. You can place them under a temp directory with the proper package structure, the same way you exported personalizations for the seeded pages and the same custom package structure for your new pages and run import command. It's only how you run your import command matters, if you have placed the files in the proper package under some temp directory just give the -rootdir to point to your temp directory and no -rootPackage option.

  • Official directory structure for itunes 8 in OSX

    I have had so many different locations for my itunes libraries over the years and I would like place the on a time capsule drive now. What is the default directory structure for itunes8? Are movies, podcasts, tv shows all in the same directory?

    HD>Users>Your Account>Music>iTunes>iTunes Music - this is the default for iTunes.
    The iTunes folder contains the data base file, .xml, genius, art work etc - the iTunes Music contains all your music in folders arranged by artist then album. Note that this is true as long as you have the iTunes prefs>Advanced - the 'keep' and 'copy' options are enabled.
    MJ

  • Is there a suggested directory structure for iTunes?

    Is there a suggested directory structure for iTunes? I have moved my library around several times (what with new machines, etc.) and I find that I have two app libraries in different locations and I think it is the problem behind a refusal to sync issue I'm having with my iPad.
    Any help would be gladly appreciated!
    Luke
    (Screen grabs a great help)

    I'll see your Tb and raise you some - the truth is, almost every major revision and data migration from MBP to MBP and now back to a MP has caused replication of folders in the strangest of places, none of which I have consciously created - I mean, why would anyone except out of self-focused spite want to create three different sets of apps folders - to say nothing of the interminable Compilations folders that sprout from no where in particular!
    I could understand the issue if I was careless or a complete neophyte,  I only moved to the Apple platform about 6 years ago, (even though I've been using the platform since 1987) when I went to work for the company.
    iTunes I think is a little like a cat - it recognises my lingering, subyle antipathy and rolls all over me just to mess with my head!
    Thanks for the information, none-the-less, greatly appreciated.

  • An EFFECTIVE development directory structure for J2EE platform?

    Hi, here we r talking about deployment environment more than development
    environment. Have u ever think about designing an EFFECTIVE development
    directory structure for J2EE platform( e.g. weblogic )? u r not using the
    deployment directories for coding, r u? :)
    I used to construct a dir structure for dev and want to improve it.
    d:/wholesystem/*.prj // Project files
    ...../module1/src/com/.... // Module source files
    ...../module1/doc/... // Module doc files
    ...../module1/classes/... // Module class files
    ...../module2/...
    ...../web/*.jsp // web page files
    ...../web/images/... // web page images
    ...../web/WEB-INF/... //...
    Do u have any good ideas? Thanks!
    * Name: Gary Wang
    * Tele: 010-65546668-8119
    * Mail: [email protected]

    Create a web-inf folder at the same level of src and
    jsp folder inside src
    i mean
    /build.xml
    /src/
    /src/java/<package>/...../*.java
    /src/demo/<package/...../*.java
    /src/test/<package>/....../*.java
    /src/jsp
    /web-infSo, would you put in /src/jsp only the *.jsp?
    And what in /WEB-INF ? What woud you put there? Would you do something like:
    /WEB-INF/web.xml
    /WEB-INF/src/<package>/..../<my_servlets_and_j2ee_stuff>.java
    /WEB-INF/classes/<package>/..../<my_servlets_and_j2ee_stuff>.java
    In this manner sources and classes are in the same tree, it does not seem very clean to me, expecially if you consider that probably I must have a "test" directory to unit test some j2ee stuff (as for the j2se stuff in "src"): how would you do that?
    Is this directory structure anyway what you meant or not?
    alessio

  • Correct Directory Structure for Serving a Web Application from Arch?

    At the moment I have an Apache web server hosting PHP based web pages out of /srv/http. This works for what I am doing at the moment, but i was wondering if there was a more professional\correct way to host a web application on Arch.
    When would someone host a page in /srv/http vs /var/www ? ( is /www even widely used on archlinux) ?
    Or is their a better way all together ( I read something about symbolic linking the 2 directories)?
    Can anyone provide a sample of how they decided to set up their basic web directories ?
    Any help is very much appreciated !

    It mainly depends on the webserver you're using.  There's nothing about the difference between /srv/http versus /var/www.  As far as the web user is concerned they don't even know what directory structure you're using.

  • How to install applications for multiple iPads with one ID?

    Hey guys,
    I have to prepare many iPads for work, and I've found the process to be very redundant. In order to ensure that the applications are tied to the ID of the final client, I have to first create an account under my email, download all the applications and then change the email to the client's. Now when I have to prepare another device, I have to delete the applications in iTunes and re-download them with a new account to make sure they are tied to the next ID. Is there a way to download and sync all the applications under one ID, and not have issue with updates in the future? Keep in mind I'm only installing free applications.

    I was referring in particular to the logs that are created by Workshop
    itself (in the workshop directory). It creates workshop.log and netui.log.
    Raj Alagumalai wrote:
    Steven,
    which workshop log file are you referring to ?
    the workshop log files are usually saved to the domain directory.
    If the developers are each going to start their own server instances then
    there should be no issues.
    The best option for you is to create multiple domains for each developer.
    They will share the same workshop installation, but they will each have
    their own instances.
    Thanks
    Raj Alagumalai
    WebLogic Workshop Support
    "Steven Ostrowski" <[email protected]> wrote in message
    news:[email protected]..
    Hello,
    What is the best way to install the WL 8.1 Platform for multiple
    developers on a single UNIX machine? These developers may start
    concurrent instances.
    The problems I see are that the log files generated by Workshop would
    be shared among concurrent users, permissions would need to be set so
    that the user that is running the instance that creates the log files
    will need to create the file with permissions that everyone can use. Are
    there any other issues to doing this?
    I could not find the information on this in the documentation.
    Thanks

Maybe you are looking for