How to have an app include a JSP from a module outside of that app?

How can you have your application include a JSP that is in a different
module outside of that application?
For example, /NASApp/app1/jsp/Main.jsp looks like the following...
<jsp:include page="/mod1/jsp/header.jsp"/>
<jsp:include page="/mod1/jsp/footer.jsp"/>
For me, header.jsp and footer.jsp are not found because iAS is
prepending "/app1" and trying to find
<IAS>/APPS/app1/mod1/jsp/header.jsp on the file system instead of
<IAS>/APPS/modules/mod1/jsp/header.jsp. Same for footer.jsp. Even if
Main.jsp were part of a module and not an application, I see the same
type of results.
Earlier postings suggest this can be done as long as it is an
application to module or module to module paradigm. But an application
to application paradigm would violate J2EE. If this is true, how do you
make this work?
Thanks,
George Cutrell
Nextel Communications, Inc.

Hi George,
You cannot access any file in a j2ee application from other j2ee application, since it violates the j2ee specs. To do this, I think, the only way is to simply copy that file into your application.
Thanks,
Rakesh.

Similar Messages

  • How to remove preinstalled files of adobe photoshop from my mac mini so that i can install a new version of the same software.The previous version was removed using the app cleaner software.Could not continue installation bcoz of earlier files

    How to remove preinstalled files of adobe photoshop from my mac mini so that i can install a new version of the same software.The previous version was removed using the app cleaner software.Could not continue installation of the new version because of the existance of files from the previous version.plz help

    What "app cleaner software" ? I ask because installing Photoshop over a previous version has never been a problem. Perhaps your difficulty stems from another source, eg. "cleaner software" ?
    If you look in your hard drive, at the root level there is a Library. In there is a folder called Application Support, and in that you will find a folder called Adobe. Files from your previous version are there.
    However, I urge you to call Adobe support to make sure you are not doing anything that would mess up other Adobe applications.
    http://www.adobe.com/support/connect/connecthostedsupport.html

  • HT5517 How can have full picture using mirrored image from iPad

    How can have full picture using mirrored image from iPad on my Apple TV airplay

    Welcome to the Apple Community.
    Mirroring won't fill the TV screen. The iPad has an aspect ratio of 4:3 and the iPhone 4S or prior an aspect ratio of 3:2, neither of these will fit exactly into a TV screen which as an aspect ratio of 16:9. The Apple TV will not zoom the mirrored image, because it may well cut off information which is situated at the top or bottom of the screen.
    You may wish to try each of the settings in ‘Settings > Audio & Video > Adjust for AirPlay overscan’ for the best setting that suits you.

  • TS4036 if i go into icloud on my phone then manage storage, i can see i have a 252.6 back up from my old iphone 5 (that i have now lost) i want to use this backup to get all my photos back but when i click on it, it says Latest back up Incomplete????????

    if i go into icloud on my phone then manage storage, i can see i have a 252.6 back up from my old iphone 5 (that i have now lost) i want to use this backup to get all my photos back but when i click on it, it says Latest back up Incomplete????????
    am i out of luck of can i do something??

    I'm afraid you're out of luck.  If it says incomplete you won't be able to access the backup.

  • How can I delete previously itunes synched photos from my ipad 3 now that I use the cloud instead of synching via mac/itunes?

    how can I delete previously itunes synched photos from my ipad 3 now that I use the cloud instead of synching via mac/itunes?

    You will need to connect your iPad to your computer, and on the Photos tab de-select those folders that you no longer want on the iPad - they can't be deleted directly on the iPad. If you no longer want any synced photos on your iPad then you can select and sync just an empty folder.

  • WebLogic Server 7.0: Including another JSP from within a custom tag

    Hi all,
              has anyone made experience with including (ie. processing) a dynamic
              resource (JSP) from within a custom JSP tag?
              Using the following code inside doEndTag():
              pageContext.include("/templates/blub.jsp");
              throws a ServletException (Note: the JSP is a part of the web app
              which is deployed as war). Does it make a difference if the web
              application is warred up into and therefore include cannot resolve the
              specified relative URL?
              [Tomcat 4.1.10 doesn't have problems for that matter]
              The full stack trace is:
              javax.servlet.ServletException: java.lang.NullPointerException
              at com.foo.taglibs.template.InsertTag.doEndTag(InsertTag.java:55)
              at jsp_servlet._models.__index._jspService(__index.java:774)
              at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
              at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:945)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:332)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:376)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:242)
              at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5360)
              at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:721)
              at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3043)
              at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2468)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
              TIA,
              niko.
              

    Try the same code from an exploded web app.
              Niko Schmuck wrote:
              > Hi all,
              >
              > has anyone made experience with including (ie. processing) a dynamic
              > resource (JSP) from within a custom JSP tag?
              >
              > Using the following code inside doEndTag():
              >
              > pageContext.include("/templates/blub.jsp");
              >
              > throws a ServletException (Note: the JSP is a part of the web app
              > which is deployed as war). Does it make a difference if the web
              > application is warred up into and therefore include cannot resolve the
              > specified relative URL?
              > [Tomcat 4.1.10 doesn't have problems for that matter]
              >
              > The full stack trace is:
              >
              > javax.servlet.ServletException: java.lang.NullPointerException
              > at com.foo.taglibs.template.InsertTag.doEndTag(InsertTag.java:55)
              > at jsp_servlet._models.__index._jspService(__index.java:774)
              > at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
              > at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:945)
              > at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:332)
              > at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:376)
              > at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:242)
              > at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5360)
              > at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:721)
              > at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3043)
              > at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2468)
              > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
              > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
              >
              > TIA,
              > niko.
              Rajesh Mirchandani
              Developer Relations Engineer
              BEA Support
              

  • In portlet context include a jsp from the desktop context

    Hi,
    I developed a portlet, and in my jsp file I want to include a jsp file which is in my portal desktop (the file is in /etc/opt/SUNWps/desktop/..).
    So I want to do something like:
    <c:import url="file:///etc/opt/SUNWps/desktop/mydesktop/ PortletHeader.jsp" /> Of course this doesn't work because the jsp expressions are not executed, instead the jsp tags are just displayed in the browser.
    but for including a jsp with <@include file> or <c:import> or <jsp:include>, the jsp must run in its context. So actually we should do something like <c:import url="some_path" context="some_context" >.
    Now, I don't know what some_context is. To what context the portal desktop runs so the jsp file can be 'executed'?
    Hope someone can give me some more information about this.
    Greets,
    Tim

    <quote>some_context <quote>
    ..will be the pageContext
    which is the implicit object for a JSP.
    or
    use config object to get this context and then use
    <jsp:include> or <@include file>
    rgds
    http://lokeshpant.blogspot.com

  • How i have to attach a report output(from server) as attachment

    Hi ,
    how i have to attach a report o/p as attachment.
    Thanks in advance for helping

    You could make use of a GLOBAL TEMPORARY TABLE and populate the data in this table in the BEFORE-REPORT trigger.
    Then your report query would be based on this global temporary table which will make it very easy for you.

  • HT1725 i recently have downloaded a few new albums from iTunes.  However, now that i have listened to the albums, there are some "blank spots" on the recording that are interrupting the songs.... what can i do to "re-download" the album without paying aga

    I recently have downloaded a few new albums from iTunes.  However, after I have listened to them, I realize there are some "blank spots" in the recordings...  not sure why.  Can I "re-download" the album/music again with paying again?
    Thanks!

    The advice you provided me helped download songs from the album that failed to download the first time.  However, there are songs that I originally downloaded that have blank spots in the song...  How can I re-download songs that have already been downloaded so they are "clean" .. i.e. the play straight through without blank spots in them.  Can I do this without re-paying?
    Thank You

  • I have charges in my credit card from apl apple iTunes store that I dint make and I need my credit back to my card

    I have charges in my credit card from apple iTunes store that I dint make and I need my credit back to credit card I need help to fix that problem

    I have the same thing happening on both my credit cards! I first noticed random charges on my bank statement, but, the funny thing is that on the same statement I was credited back for the charges so everything cancelled out. I still wanted to change my credit card to be safe and my card wouldn't work with iTunes anyway (I emailed Apple and they said my account was compromised). I also changed my Apple ID password.
    So I got my new credit card and now looking back at my statement for the month, the day that I added the new card onto iTunes was the same day I got more preauthorized charges. The amounts were exactly the same as on my previous credit card. I don't know what to do anymore. Is this a problem on Apple's end?

  • How 2 have 2 Apps open at same time for data sharing?

    I have two music apps that I see being used together on U-Tube and data being moved from one to the other, how do they do this?

    I have no clue what you are talking about that you have seen on YouTube, but you cannot run two apps side by side on the iPad. You can double tap the home button to get the the recents tray and tap on another to launch it, or you can swipe with 4 fingers across the screen to move from app to app if you have multitasking gestures enabled in Settings>General>Multitasking Gestures>On.

  • How to call a method in one JSP from another JSP?

    say that I have 2 JSPs.
    JSP one has a button.
    JSP two has some method that, say, find the square root of the number passed from JPS one.
    How to - when click - the button on page one call the method on page two?
    Please note that I can not use object binding, but I want passing the actual parameter and call the method on page two.
    Please note that this is an update of a previous post on the same topic called "Object scope".
    Thank you all very much.

    No, i dont know how to call other than main methods from other classes
    And one more doubt i have i.e. Like in C can we see the execution of the program like how the code is being compiled step by step and how the value of the variable changes from step to step like(Add Watch).........

  • How can I kick out a older computer from the list of computers that have access to CC?

    When I want to start an CC app it says there are already 2 computers using Adobe CC on my account. How can I manage the list of computers in this list?

    I checked it out by myself: I could quit my CC account on the old computer with Creative Cloud Desktop App > Preferences > Delete account on this computer.

  • My iTunes library is on a PC, includes items purchases from Apple but a lot that are not.  Can I sync the entire library (Apple purchases and others) with my iPAD and how?

    My itunes library is on my PC.  It has Apple purchased and other music.  Can I sync everything with my iPAD and how?  I'm having difficulties getting the "non-Apple" music sync'd.

    You should be able to sync them from your computer's iTunes to your iPad and/or iPhone. Connect your iPad or iPhone to your computer and select it on the left-hand sidebar of your computer's iTunes (you can enable the sidebar via control-S on a PC), and then use the Music tab on the right-hand side of the iTunes to select and sync the music that you want in the iPad/iPhone's Music app
    Syncing media : http://support.apple.com/kb/HT1351

  • Lost itunes on windows laptop.  Have tried everyhing including a transfer from another laptop.  Thanks

    Uninstalled, re-installed, repaired, transfer cables from another laptop....no luck.  Re-installed drivers and no luck. Help.

    amyfromwiltshire wrote:
    hey just had a new laptop and lost my itunes on my old one! So now i want to get the music off my ipod onto my new itunes and laptop! I can seem to only download music i have purchased is there anyway where i can get all the music off my ipod and onto my itunes!!! PLEASE HELP
    You can recover purchases by installing the latest version of iTunes to your laptop, then select the 'purchases' tab under Store in the sidebar and look at the lower left of the iTunes window for a link to: 'Download Previous Purchases'

Maybe you are looking for

  • Template url problem in Dreamweaver CS4

    Hi there, Thank you very much for reading this post.  I am having a problem with templates in Dreamweaver CS4, I am following the correct procedures to build a template, but when I link the pages together and update the template, the url has not been

  • Character set Conversion Buffer Overflow Error

    Hi, I have got an issue while loading data from a flat file to a staging table. i.e., Character set Conversion Buffer Overflow. Suppose there are 10,000 records in a flat file, after running control file only 100+ records are loading to the staging t

  • Problem when pass a file to R/3 server.

    Hi people! I need to pass a file from XI to R/3 server but the problem is when the file is inserted in R/3 don't have all the data. For example: I send from XI this record: 0101,78606,2027,78657N,INSTALAR GUIA COMERCIAL,CM But in R/3 I receive this:

  • Nokia Suite doesn't detect Nokia E62

    I tried to connect my Nokia E62 with the usb to my comp and I can not get it to detect it. It keeps asking for the driver. I installed everything. I am using Motorola SKN6371C usb cable which  I was told was suppose to work. Is this the problem?

  • Update to Mac OS X 10.5 - just bought my new MacBook Pro C2D - update free?

    dear forum, is there a cheap update path to 10.5 ? got my new macbook pro C2D some hours and thought about getting 10.5 update free of charge. in the early years there where coupons when you got a new mac. thank you for some statements torres