Share files between web modules

As far as I understand, a web module corresponds to a single web page, possibly within a web application that contains multiple web modules (pages). So if my web application has two pages, they would each be a web module. For example,
http://www.myapp.com (home page = root module /)
http://www.myapp.com/contact (contact page = contact module /contact)
I put both of these modules in an ear file to create a web application. However, the root module contains some .js javascript files and a css file that I want to use in all of the modules of my application. Also, I would like to share some tag libraries between the modules (pages) in my applcation, each of which has its own web.xml file which defines the uri and location of the tags.
Is this possible, or do I need to put all of the pages in my site into one web module?

A web module is a web application. The entire bookstore example is one web module.
A Web module represents a Web application. A Web module is created by assembling servlets, JavaServer Pages (JSP) files, and static content such as Hypertext Markup Language (HTML) pages into a single deployable unit. Web modules are stored in Web archive (WAR) files, which are standard Java archive files.

Similar Messages

  • How do I share files between a PowerPC 8100 OS 7.6.1 and an iMac OS 10.7.4 over ethernet

    How do I share files between a PowerPC 8100 OS 7.6.1 and an iMac OS 10.7.4 over peer to peer ethernet connection? I'm trying to get data off the old machine so I can retire it for good. Can I just save the data and worry about file conversion later?

    Addendum
    There is a relatively simple server-based way of avoiding difficulties with incompatible system versions et cetera. It could possibly be of some interest.
    I tested the following between a System 7.5.3 PowerBook 540 and a Windows XP PC. It ought to work with a System 7.6.1 Power Macintosh 8100 and a MacOS X 10.7.4 iMac as well.
    a) Download and install Microsoft Personal Web Server 1.0 for Macintosh onto the 8100. If the 8100 does not have a direct Internet connection, carry out the download on another computer, and then try to transfer the hqx file (as it is) on a CD-R (burn at a low speed) or a 1.44 MB floppy (use StuffIt Expander to decode the hqx on the 8100). Do not change or add anything after the installation; just leave the files as they are.
    http://support.microsoft.com/kb/164571
    b) Drag a compressed example archive (we can call it example_file.sit) to the folder My Personal Web Site (there are other files inside this folder; do not worry about them). Ensure that the compression format is compatible with a decompression tool on the receiving computer.
    c) Many people have access to a router (wired or wireless) with a built-in Ethernet switch (usually something like four LAN ports). If applicable, disconnect any incoming Internet (the WAN port). If possible/necessary, switch off the wireless (see the router manual for details about this).
    d) Switch off both computers (and the router).
    e) Connect an AAUI to RJ-45 transceiver (such as the aforementioned Apple Ethernet Twisted-Pair Transceiver) to the AAUI port of the 8100.
    f) Connect an Ethernet cable from the transceiver to the first LAN port of the router.
    g) Connect an Ethernet cable from the second LAN port of the router to the iMac.
    h) Switch on the router.
    i) Start the computers.
    j) The TCP/IP control panel on the 8100 is set to connect via Ethernet. DHCP Server is used in this case.
    k) Open the Microsoft Personal Web Server control panel.
    l) Click on the Start button.
    m) Wait (can take a while).
    n) Notice the exact address at My URL (under Monitor Web Site). Could be something like http://192.168.1.2 (depends on the router).
    o) Launch a web browser on the iMac (I did the testing on the PC with Firefox and Safari).
    p) Enter the exact address (see n above) in the browser's address field (http://192.168.1.2 in my example). Press Return. A standard web page should appear. Disregard this page for now.
    q) Add the exact file name (example_file.sit) to the address shown in the field. The result would be http://192.168.1.2/example_file.sit in my case. Press Return.
    r) The file should start to download to the modern computer.
    All the above is intended for a local connection only (otherwise security settings become of importance), and should be considered purely experimental. There are further possibilities (including an FTP plug-in), but it also makes everything more complicated. I have not tested the behaviour with large files or with various files types. Sometimes the server may crash. If so, try a restart. Make sure that you have backup copies of important files already at the 8100 before you begin.
    Good luck!
    Jan

  • How do I share files between users on the same machine?

    I tried using /Users/shared to share files between myself (Admin user) and another user on the machine (Standard user). Whenever I put a file or a folder into said directory permissions are 755 for directories and 644 for files, my umask is 0022. The files and directories belong to my user and the group staff. This means I can read and write and others can read. If I do the same using the other users account. Permissions are 700 and 600 respectively. (Owner is the other user and group is staff.) Strangely the other users umask is 0022, too.
    The result is, that all directories and files I create with my account (Admin user) are readable to every other user on the machine, whereas all directories and files the other user (Standard user) creates are not readable for anyone else. I can easily rectify this using the Terminal and chmod and/or chown, but it is a pain having to do this, since I also need to forcefully restart the Finder App for it to notice the changed permissions.
    Ideally I'd like all directories in /Users/Shared to have permissions 777 and all files 666 no matter which user created, copied or moved them to said location. I think this could possibly be done using applescript and shellscripting and the folder action hook. So far my attempts to find such a script on the net or/and write it myself have failed. I'd be grateful for any hints how I:
    a) write and setup such a script
    b) accomplish what I try to do (share files and folders on the same machine) in another possibly more Mac way
    Kind regards
    David

    The following AppleScript will recursively descend the directory tree and change the items to your modes:
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px; height: 340px;
    color: #000000;
    background-color: #FFDDFF;
    overflow: auto;"
    title="this text can be pasted into the Script Editor">
    on adding folder items to this_folder after receiving these_items
    repeat with some_item in these_items
    ProcessStuff from some_item
    end repeat
    end adding folder items to
    to ProcessStuff from SomeItem
    processes items contained in SomeItem, recursively descending the directory tree
    parameters - SomeItem [mixed]: an item containing the items to process
    returns nothing
    set SomeItem to SomeItem as text
    set FileInfo to (info for SomeItem as alias)
    if (folder of FileInfo) and not (package folder of FileInfo) then -- a folder (not a package)
    do shell script "chmod 666 " & quoted form of POSIX path of SomeItem
    -- do shell script "chown root:staff " & quoted form of POSIX path of SomeItem user name "me" password "mypassword" with administrator privileges
    try -- to get items in the folder
    tell application "Finder" to set SubFolder to (items of folder SomeItem)
    on error
    return {}
    end try
    repeat with SubItem in SubFolder -- process the sub items
    ProcessStuff from SubItem
    end repeat
    else -- a file
    do shell script "chmod 777 " & quoted form of POSIX path of SomeItem
    -- do shell script "chown root:staff " & quoted form of POSIX path of SomeItem user name "me" password "mypassword" with administrator privileges
    end if
    return
    end ProcessStuff
    </pre>
    You shouldn't need to change the ownership, so I commented out the chown shell script since this would need to be run as a super user. You can run a shell script with administrator privileges, but in order to be used by a standard user you will need to provide the appropriate user name and password in the script, which might not be a good idea - note that the folder action script will need to be attached in all accounts that you want to change the permissions, which means that it would need to be accessible to those accounts.

  • How do I share files between two Macs on my wireless network?

    I have an iMac G4 and an ibook G3 on a wireless network. I have "file sharing" activated on both computers. (Also Appletalk, which may or may not be a misguided move, but I got the idea from OSX "Help.")
    When I try to get from either computer onto the other, my computer is recognized by name (another alternative is to log on as a "guest"). I'm prompted for a password. None of the passwords I use works. I've tried the administrative passwords for both computers.
    How do I get beyond this hurdle to share files? I've posted elsewhere to no avail. This must be an easy one. How do you share files between two macs on one network?

    Do your accounts on the machines have the same short name? It's an issue I've seen a few names.. one machine with bsmith, the other with bobsmith, but the long names for both being "Bob Smith". The login windows would confuse users because it showed their names, but because the short names didn't match, it wouldn't work.
    The password you should use is the administrative one, so I don't know why you're not having luck.

  • How do I share files between users on the same Macbook pro?

    I have created different users on my new Macbookpro, but I can't seem to share files between two users. Help how do I share files between users on one laptop? eg. a pdf file that I want to grab from my user x and use it on user y, thanks.  By the way I have already tries going into system preferences, sharing folder, then turning on file sharing and that didnt work. thanks

    From the Help Menu using the search criteria Drop Box

  • How do I share files between Macs?

    I have a new Mac running Lion.  My wife has a MacBook running OS X 10.6.8.
    How do I share files between the 2 machines.  Her laptop shows up in my Finder and my Mac shows up in her Finder.  We try to copy files and it looks like they are copied (using iPhoto export), but there is nothing there.  When I try to browse her laptop from my Mac, I am told I don't have permission.
    Is this something that can be done?  I would like to think so.

    Target disk mode is one way: http://support.apple.com/kb/ht1661
    Another way:
    Drop files in the user/Public Folder
    Make changes in >Preferences>Sharing

  • How do I share files between computers (mac's) on the same wireless network?

    How do I share files between computers (mac's) on the same wireless network?

    Turn on File Sharing in System Preferences - Sharing, then you should be able to see them in the other Macs' Finder sidebars (under Shared). Click on them, click Connect As, and log in with the user credentials you're sharing from.
    Matt

  • How do I share files between profiles on my Macbook Pro. 10.8.4, HELP!

    how do I share files between profiles on my Macbook Pro. 10.8.4 I have moved the files to the public folder, shared the folder and enabled sharing in system preferences. however, i still cannot access the files from my other profile. Please help!

    Information.
    Try dropping the files into your wife's Public Folder.
    File Sharing
    File Sharing (2)

  • Can I share files between two different networks at same location?

    Until TWC can offer DOCSIS 3.0 later this year or next...
    - In my home I have a closet where all my audio, video and network come together.
    - I have two cable modems from Time Warner
    - Modem A goes to a WRT320N; 192.168.0.1
    -- This router connects all my "heavy" downloads, ie. DirecTV receivers, Netflix, home server w/videos, gaming, etc.
    - Modem B goes to a E2000; 192.168.1.1
    -- This router connects my everyday use computers so they don't suffer poor speeds from all the traffic on Modem A
    My question is, how or can I somehow share files between these two routers without the need for hitting the modems? Obviously I can just push files over the Internet but I am doing it at a much slower speed due to upload restrictions on the modem.
    Thank you for any help on this!

    The easiest way would be to assign LAN IP 192.168.1.2 to the WRT320N and disable the DHCP server. Then assign static IP addresses in 192.168.1.* to all devices connected to the WRT at the moment, e.g. 192.168.1.10, 255.255.255.0, gateway 192.168.1.2, DNS 192.168.1.2 (or DNS servers of your ISP).
    Now you can connect a LAN port of the WRT to a LAN port of the E2000. All DHCP clients get the IP address from the E2000 which will assign the E2000 as gateway, i.e. they use the E2000 for internet. All other devices will have static IP addresses and use the WRT as gateway.

  • I want to share files between my MacBook Pro and G5, I am using an AirPort

    I want to share files between my MacBook Pro and G5, I am using an AirPort Extreme Base Station. I can see the MacBook Pro on the G5 and vice versa, I have file sharing turned on both, as well as Screen Sharing. I currently am sharing using Target Disk Mode, I want to know what other wireless options are available to me?
    I want to have the 2 computers able to see each other and be able to share files be drag and dropping, I also have another G4 on using Tiger I want to be a part of this happy Apple sharing family. Can someone please tell me how to accomplish my goal?
    Thanks in advance for reading and replying to my post,
    Sebastian

    The mac help is: Finder window/Help/Mac Help. It provides answers to a lot of common questions, including file sharing.
    As for the ethernet cable, you can either buy another one (inexpensive and available in many places including Walmart), or just unplug it from your modem temporarily and plug it back in when you're done.
    As for Target disk mode, take a look at this Apple article:
    http://docs.info.apple.com/article.html?artnum=58583
    Apple online support pages are also a great way to find out how to do things.
    As I mentioned, I prefer using the ethernet/file sharing method if I need to copy a lot of files; however, there is another way around if you have an external drive and just want to copy one or two files. Just plug the external into one computer, copy the file onto it, unplug, plug into the other computer and copy.

  • How to share files between pc and mac via external hard drive

    how can i share my files(mp3,mp4,documents) from my harddisk with mac. i am a new mac user and i have a harddisk of NTFS format(as i was a pc user).I learned that mac supports FAT32 format and therefore i can't write data on my external hard drive.
    but, reading a section of OSX yosemite(under compatibility) it is said that now we can easily share files between pc and mac.
    So please suggest me easier way that how can i share files between macs and pc as my friends uses pc and in future i really want to share my data with them without any hustle and i dont wanna loose my data in future

    You can format the HDD to a common one like ExFAT or Fat32 but a reformat will delete all data off of the HDD.
    Your other option is to use a third party software such as Paragon or Tuxera that will allow you to write to a NFTS formatted HDD.
    Ciao.

  • Am having all kinds of trouble enabling Home Sharing on Apple TV. Had been working previously, but now I am unable to share files between TV, Ipods and iMac. I have tried restarting all hardware, systems and connections. I recently upgraded modem?

    Am having all kinds of trouble enabling Home Sharing on Apple TV 3. Had been working previously, but now I am unable to share files between TV, Ipods and iMac. I have tried restarting all hardware, systems and connections. I recently upgraded modem, would this have an effect on connectivity?

    U may need to check the settings on ur PC or Mac.

  • Does anyone know if there is a way to share files between Mavericks and Mac OS 9.1 operating system?

    Does anyone know if there is a way to share files between Mavericks and Mac OS 9.1 operating system? When I try to connect from my iMac I get a window that says "The version of the server you are trying to connect to is not supported." Is there a work-around to this problem or is it just not possible? It would be largly appriciated for a solutin beings my business is a small town newspaper, and we have some important files on the older computer that need to be acessed daily.

    Actually to share files between OS 8-9 and OS X, all versions, is quite easy from what I read. Look here for some details.
    http://reviews.cnet.com/8301-13727_7-20003464-263.html
    And here.
    https://www.google.com/search?q=file+sharing+Mac+OS+9.x&oq=file+sharing+Mac+OS+9 .x&aqs=chrome..69i57.20706j0j1&sourceid=chrome&ie=UTF-8
    Or since both OS 9 and OS X can do SMB Windows sharing you could use that protocol to share files from one to the other.
    Doesn't really matter what OS you are using. Mac OS/OS X shar files with Windows computers of all types and versions of Windows so the same applies for the different versions of Mac OS/OS X.
    Each Operating System takes care of reading and writing files to there respective file formats of the hard drives so that does not have to be the same. They both just have to be able to do Ethernet with the same files sharing protocol.

  • Bespoke Digital Media: How can i share files between my iPhone5 and other company phones ?

    hi
    I am from Bespoke Digital Media. I wants to share files between iPhone5 and Samsung galaxy S4. How should i do this? Kindly help me.
    Thanks
    Aan Rai

    Not sure what type of files you are trying to share, but you can't use Bluetooth.
    Emails/text the files to each device.

  • Share files between PC Windows XP and Mac

    I'm trying to share files between my mac and my spouse's PC.
    I read the instructions at http://macs.about.com/od/macwindows/ss/sharemacfilesxp.htm . The instructions say that the Mac and PC need to be in the same ‘workgroup’ for file sharing to work.
    My spouse's work PC does not have a workgroup selection. It only has a domain selection.
    How can we share files over our network if no using a 'domain'?
    I can enable filesharing from mac to mac but not from mac to pc.

    Welcome to discussions
    I've tried to connect MAc/OS9 with Windows XP(home)-didn't work.
    I've used DAVE from thursby.com(three weeks free trial)- works
    fine bought it on wednesday.
    For info about connection you may look here:
    List of info connecting PC to Mac:
    http://docs.info.apple.com/article.html?artnum=19652
    http://docs.info.apple.com/article.html?artnum=31318
    http://docs.info.apple.com/article.html?artnum=43070
    http://macwindows.com/netbasic.html
    http://macwindows.com/netbasc2.html
    http://www.kan.org/networking/quicknet.html
    http://www.everythingcomputers.com/home_network.htm
    XP OSX
    http://www.ifelix.co.uk/tech/3000.html
    http://www.joelshoemaker.com/computer/mac/wxpfs.html
    http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/s agadd_appletalkport.mspx?mfr=true
    MACWINDOWSFILESHARING
    http://homepage.mac.com/william_white/smbdoc.html
    Good luck

Maybe you are looking for

  • Adobe Photoshop Web Photo Gallery

    Dear members, My name is Rotem Katz and I'm a photographer. Recently, I'm having a big problem with my photography site. The site is built by an HTML web pages technique. The Photoshop Web Photo Gallery created 8 galleries for me. [Each category has

  • Outlook Password prompt for Linked Mailboxes from certain Domain

    Hello, As part of a migration project, I'm trying to connect Outlook with Linked Mailboxes from users in a trusted domain. I'm able to create the linked mailbox on the Exchange 2013 (CU7) server without any issue, but when I try to configure Outlook

  • Copying ipod music into my itunes library

    I recently lost everything on my computer and had to get a new one. I reloaded my ipod information and would like to edit the music that I currently have in my ipod. How do I do this? Do I need to copy it to my new computer's itunes library? If so, p

  • JDBC Driver File

    Hi all, I am using Oracle 9i application server and have installed an OC4J instance on it. I am trying to execute some servlet that makes JDBC calls(This servlet is mounted on the OC4J instance). When I start my OC4J instance using "java -jar oc4j.ja

  • Sync'ing home share content to iphone

    I have an imac which i sync to my iphone 4, and my wife has a win xp laptop which she syncs to an iphone 3gs. both computers have itunes 10, and itunes libraries are being shared with home sharing. I bought an audio book from itunes store on my imac,