How can I include a jsp file in other jsp from different applications?

          Hi,
          I'd like know if it´s possible to include jsp or servlet from different applications.
          

          Thanks Deepak but I think you don´t understand me.
          I would like the include works like a normal include. I have a jsp in my application
          and , when the client requests this jsp, in the jsp should be added the result
          of the other jsp ejecution that belong to other application in the same domain.
          Is this possible?
          Thank you very much.
          Deepak Vohra <[email protected]> wrote:
          > A Jsp from a different application is included with a relative url to
          >th=
          >e Jsp.
          ><%@ include file=3D"relative url" %>
          >
          >A Jsp could be included with request parameter.
          > <jsp:include page=3D'<%=3D request.getParameter("incFile") %>' />
          >
          >javilla wrote:
          >
          >> Hi,
          >>
          >> I'd like know if it=B4s possible to include jsp or servlet from differe=
          >nt applications.
          >
          

Similar Messages

  • I have a mac book pro, an ipad and an iphone.  i have an icloud account that allows my iPad and imac to sync.  but my mac book only has a connection to 'mobile me'.  how can i include my macbook with my other devices?  help!  thanks

    i have a mac book pro, an ipad and an iphone.  i have an icloud account that allows my iPad and imac to sync.  but my mac book only has a connection to 'mobile me'.  how can i include my macbook with my other devices?  help!  thanks

    You need OSX 10.7.2 or higher in order to access icloud.  The mobile me account is now defunct (it closed down more than a year ago).

  • How can i display a image file which is placed in the applications server

    Hi all,
    Can any one help me how can I display a image file which is present in the application server.
    With regards,
    M.Ramana Murthy

    hi,
    *& Form TOP_OF_PAGE
    * text
    FORM F_TOP_OF_PAGE.
    CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
    EXPORTING
    IT_LIST_COMMENTARY = IT_LISTHEADER
    i_logo = Logo name
    * I_END_OF_LIST_GRID =
    ENDFORM. "TOP_OF_PAGE
    rgds
    Anver

  • How can i bulk rename music files in reverse order from artist - song name to songname - artist

    How can I bulk rename music files in reverse order from artist - song name to songname - artist.
    I actually dont need to rename the actual files.
    Its just i have a huge txt list of 100,000 music names that are listed as so..
    Artist - Song Name
    Artist - Song Name
    Artist - Song Name
    Artist - Song Name
    Artist - Song Name
    Artist - Song Name
    and i need this list to reverse it self so it is listed in the list as
    Song Name - Artist
    Song Name - Artist
    Song Name - Artist
    Song Name - Artist
    Song Name - Artist
    Song Name - Artist
    Song Name - Artist
    Im sure there is some kinda way to auto a mix of applescript/automator/terminal to do something like:  all char before the "-" replace with the chars after the "-".
    Please some one help me if you know how I can pull this off

    How can I bulk rename music files in reverse order from artist - song name to songname - artist.
    I actually dont need to rename the actual files.
    Its just i have a huge txt list of 100,000 music names that are listed as so.
    I wonder if we haven't misunderstood what you were asking for. Could it be that you have not a huge file, but just a huge list of names in many small files. If that's the case, you should rather use the following script instead of the previous one.
    Since this script does not rename the files, make a backup of your files before running it.
    set theFolder to choose folder -- the folder containing your text files
    tell application "Finder"
        set theNames to name of files of theFolder whose name extension is "txt"
    end tell
    set theTextFiles to {}
    set theFolderPath to POSIX path of theFolder
    repeat with thisName in theNames
        copy theFolderPath & thisName to the end of theTextFiles
    end repeat
    repeat with thisFile in theTextFiles
        set F1 to open for access thisFile
        set theText to read F1
        close access F1
        set theParagraphs to paragraphs of theText
        set bigList to (a reference to theParagraphs)
        set theNewParagraphs to {}
        set bigNewList to (a reference to theNewParagraphs)
        repeat with X in bigList
            set P to offset of " - " in X
            if P = 0 then
                set Y to X
            else
                set Y to text (P + 3) through -1 of X & " - " & text 1 through (P - 1) of X
            end if
            copy Y & return to the end of bigNewList
        end repeat
        set theNewText to text 1 through -2 of (bigNewList as text)
        set F2 to open for access thisFile with write permission
        set eof F2 to 0
        write theNewText to F2
        close access F2
    end repeat
    display dialog "Done!" buttons {"OK"} default button 1 with icon 1
    Message was edited by: Pierre L.

  • How can I includ a web site in a jsp file?

    Hi all,
    I want to includ a web site, for example www.yahoo.com, in my jsp file. when the jsp file is called, it can return the web page to my own page. How shoud I do for that?
    I placed the code:
    <jsp:include page="http://www.yahoo.com"/> in my jsp page, but it does not work. Please help!
    Thanks.

    try checking out the include tag from the jakarta utility-taglibs.
    it can do this.
    http://jakarta.apache.org/taglibs/doc/utility-doc/index.html (include)
    this one can to
    http://jakarta.apache.org/taglibs/doc/io-doc/intro.html
    (check out "request" tag).
    hope it helps

  • How can  I include my database file into my jar file?

    Hi,
    I am doing several tests for the jar command....
    I tried to put the database file into my jar file, but when the program run, it just couldn't find the database file, so how may I include the database file into the jar file? Not only that, it also can't find the policy file etc.

    sorry, I think I found the solution, I should have had read the API more carefully.

  • How can I include a javaScript files from within jsf component

    Is there any way using which I can include javascript files from my jsf component. Because otherwise I have to write all the javascript commands using writer.write which is very tedious rather than this I just want to include the javascript file which contains all the functions required. Also I want that this file should be included only once irrespective of the number of components included.
    Thanx in advance

    This doesn't depend on JSF. You need to include a script tag, like:
    <script src="/path/script.js"
    language="JavaScript" type="text/javascript"></script>
    If you want to include this only once, make a file included into every page, into which you can put other resources to be included along with this script.
    HTH,
    rs.

  • How to import jsp file in other jsp file

    I am using JSP for a website and my database is in Oracle. I want to connect to Oracle database in one jsp file such as connection .jsp.
    Then I want to use this same connection in all the jsp files by importing the jsp file. (I know in Core java we can do this by import statement e.g. import connection.java) but how can I do this in jsp. whwn i am importing connection.jsp using <%@ page import=connection.jsp%> It is showing errors.
    Plz help me. It's very urgent.
    Thanks in advance.

    Thats because import is for importing packages as any jsp tutorial could have told you. You are looking for include:
    <%@ include file="connection.jsp"%>

  • How to import jsp files into other jsp files ?

    hi i have the following code mymainpage.jsp
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
    <%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
    <%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html;" >
    <title>Sagem Module</title>
    </head>
    <body>
    <f:view>
    <rich:modalPanel id="panel" width="350" height="100">
            <f:facet name="header">
                <h:panelGroup>
                    <h:outputText value="Modal Panel"></h:outputText>
                </h:panelGroup>
            </f:facet>
            <f:facet name="controls">
                <h:panelGroup>
                    <h:graphicImage value="/images/modal/close.png" styleClass="hidelink" id="hidelink"/>
                    <rich:componentControl for="panel" attachTo="hidelink" operation="hide" event="onclick"/>
                </h:panelGroup>
            </f:facet>
            <h:outputText value="This panel is called using Component Control Component"></h:outputText>
            <br/>
            <h:outputText value="Closure link (X) works also through Component Control"></h:outputText>
        </rich:modalPanel>
    <h:form>
        <h:outputLink value="#" id="link">
            Show Modal Panel
            <rich:componentControl for="panel" attachTo="link" operation="show" event="onclick"/>
        </h:outputLink>
    </h:form>
    <f:view>
    </body>
    </html>can i put the model panel into another file for example modalpanel.jsp and then include it into my page mymainpage.jsp such
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
    <%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
    <%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html;" >
    <title>Sagem Module</title>
    </head>
    <body>
    <f:view>
    //**** import modalpanel.jsp
    <h:form>
        <h:outputLink value="#" id="link">
            Show Modal Panel
            <rich:componentControl for="panel" attachTo="link" operation="show" event="onclick"/>
        </h:outputLink>
    </h:form>
    <f:view>
    </body>
    </html>

    Use jsp:include.
    parent.jsp
    <f:view>
        <h1>Parent</h1>
        <jsp:include page="child.jsp" />
    </f:view>child.jsp
    <f:subview id="child">
        <h2>Child</h2>
    </f:subview>(note the f:subview!)

  • How can I save my Log files (and other my own files) to windows azure ?

    Hi ,Dear all
    I am migrating an Asp.Net Web App to Windows Azure. It runs in IIS
    In that Web App,it will:
      1. save log files to a virtual path (for example, save to $WEBAPP_ROOT_DIR/LOGFILES/
      2. save ViewState by session as temporary files to a virtual path (for example , save to $WEBAPP_ROOT_DIR/VIEWSTATE/
      3. upload some image files to the web server virtual path at $WEBAPP_ROOT_DIR/UPLOAD/
    so, when I migrate the web app to windows azure,how can I do the same job in my code?It seems so many great changes in my code ...
    Any ideas and suggestions for me ? many thanks!

    hi Eric,
    If you use Azure website, you can save your log and files into azure storage service ,such as blob or table.
    If you use VM to host your service, you can only attach a data disk or file service on your VM and save your data into data disk or file service.
    Regards,
    Will
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How Can I re-Install Bootcamp? I deleted it from my applications somehow.

    I have recently purchased an i7 core processor MacBook Pro and I am trying to install BootCamp so I can run a Windows program. I have 2 other MacBooks running BootCamp (one Windows XP and the other Windows 7).When I tried to run the Windows XP install DVD the MacBook wouldn't read it (I have an update DVD to upgrade to Windows 7 once XP is installed). Appearently XP is no longer supported by BootCamp, so I will get a Windows 7 install disk.
    I have somehow merged BootCamp and it is no longer in my applications list in Finder. How can I re-install BootCamp? Is there a way to do this without wiping the disk clean and re-installing the Snow Leopard OS?
    I also have a Parallels 6 DVD. Should I just use it and forget running BootCamp? I'm running Mac OS X 10.6.8 2.66 GHz Intel Core i7 with 4 GB 1067MHz DDR3.
    Thank You For Your Help,
    Curt

    If the computer came with 10.7 Lion installed NEW then you cannot install XP or Vista now. If it's an older one then you can still use XP and upgrade to Lion and it will still work.
    You do not have to install XP in order to Upgrade to W7. It will just erase and install over XP anyway. You cannot merge the OS together like you would with VIsta and W7. That's the only way you can install W7 over XP is a clean install. You already have the legal XP disk so you can just skip that step and just go to installing the Upgrade version of W7 as it is mentioned by Microsoft. There are a few ways of installing with the Upgrade version the easiest way is to just install W7 normally then without updating or authorizing it reinstall over the new install and then you can authorize it and update it normally and all is good.
    I'm not sure what you mean by merged Boot Camp?
    Have you done a search in Spotlight for "Boot Camp Assistant" and see what it says? Worst case scenario you can just re-install (Restore?) 10.6 over itself and it will just reinstall the core OS without deleting anything else. Click on your empty desktop and at the top of the Apple Menu click on Help and type in Reinstalling Mac OS X and follow the instructions.
    Also you do have an Application Disk along with the OS disk to restore applications with, Boot Camp Assistant should be on there, you will just have to make sure to use the Apple Software Updater to make sure it gets updated before you need it.
    As far as using VMWare/Parallels, if you have a heavy duty program that is processor heavy or needs a lot of ram then you may need to use Boot Camp for the native use of the hardware. If you don't need the full Proc or lot's of ram then a Virtual disk is fine. Myself I use both, I can boot into Windows for the heavy programs and stay in the Mac side and use Parallels for the lighter applications. I'm still using 10.6 so I don't have it installed on my Lion HD yet so I don't know how Version 6.x works in Lion.

  • How can i upgrade to OSX Mountain Lion other than from the app store?

    I am trying to upgrade to OSX Mountain Lion from OSX Lion but i get this message:
    "We could not complete your purchase. The product distribution file could not be verified. It may be damaged or was not signed."
    Further I am able to download other programs from the app store (like growl) but it does not work for Mountail Lion ????
    I looked through the forum and one post said that i have to use lion recovery to reinstall osX lion but then it defetes the objective of upgrading.
    Please help me
    Cheers

    If your system's not compatible with 10.8 and has at least a Core 2 Duo(not Core Duo) CPU, phone the online Apple Store and order a download code for 10.7.
    (73799)

  • How can I include downloadable exercise files with my iBook?

    I want to create an iBook that has practices for students.  Can I provide exercise files for the students to use as a part of the iBooks purchase or do I have to setup an external file download site?

    You can  use Dropbox or similar  "cloud" storage. upload your files and make an hyperlink in your  book pages.

  • How can I include a video file via a Widget

    Greetings.
    I was requested to find out how I would insert a video into some form of widget (see attached picture). What I would like to accomplish is for the elearner to be able to access different videos on the same slide.  The reason we want the same slide is because our LNS system will not give full credit if the user is able to jump slides.  If anyone has any ideas, your comments/suggestions would be very helpful.
    thank you!

    You cannot insert videos in a widget like that. However, you can insert them as Event videos. That will allow you to insert multiple videos on a single slide.
    You can know more about them here:
    Adobe Captivate * Differences between event and synchronized videos
    Sreekanth

  • How can I convert CMYK PDF file to Spot Color from a standard Spot Library?

    Hi,
    I have PDF file that is in CMYK colors. Can I use Adobe Pro X to convert the document to Spot Color from a established spot library like the PANTONE PC? Is there a plugin to do it?
    Amit.

    In method HMAC, you have towards the bottom
    catch(Exception e) {}please change this to
    catch(Exception e)
                e.printStackTrace();
            }Note that using the sun.* classes, including the sun.misc.BASE64Encoder class, requires elevated privileges (see http://forum.java.sun.com/thread.jspa?threadID=483223&messageID=2255882).
    It is not difficult to write your own encoder/decoder class, or borrow one from someone else. Just google on "java base64 encoder".

Maybe you are looking for

  • Windows handles left open after opening and closing registry key

    When I open a registry key with 'Create Registry Key.vi' or 'Open Registry Key.vi' and thereafter close it with 'Close Registry Key.vi', there are 2 Windows handles left open. As my program polls the registry for changes repeatedly, my system crashes

  • Cisco Nexus 3000 ssh access

    I have a Cisco  Nexus 3172T in a small environment running System version: 6.0(2)U3(1). I am using a vlan as management access, i.e. vlan100 is on every device and is using for snmp/ssh access. On the same switch I have one non-switchport (routed) po

  • Adobe's PlugPlug library

    Hi I'm trying to include a flex panel in an already created InDesign CS5 Plugin. Im using flashbuilder and CSExtension Builder to create a bundled extension which installs the extension, and places the plugin at the right place. I have an HTML contro

  • Downloads & Upgrades...

    I don't want auto downloads or upgrades from Adobe until I'm notified first.  How can I arrange this?

  • Macbook Pro Keyboard isn't working.

    When I log on to the PC side of my macbook pro the keyboard doesn't work! The mouse works, it's just the keyboard. The light when I press CapsLock also doesn't light up. But! When I switch to the mac side, my keyboard works there! If I plug in a keyb