INCLUDE (Any one know how to do it ???)

I got one situation ..
My one JSP (say example1.jsp) is on server1
& another jsp(say example2.jsp) is on server 2
I want to include output of example1.jsp (server1) into example2.jsp ...
I try to use include but it allows only relativeURI ...
Any one know how to do it ???

<body>
<%@ include file = "example2.jsp" %>
</body>
is that what you are looking for?That won't work; he explicitly stated that the second jsp is on a different server, and you can't use either include directive across servers.
The only option is to open a connection to the other server/jsp and effectively "pipe" the results into your current JSP.// assume this a scriptlet in jsp1.jsp
java.net.URL url = new java.net.URL("http://server2/jsp2.jsp");
java.io.BufferedReader reader=
    new java.io.BufferedReader(new java.io.InputStreamReader(url.openStream()));
String inputLine = null;
while ((inputLine = reader.readLine()) != null) {
    out.println(inputLine);
reader.close();Of course, you could always write a custom tag that includes this logic if you are going to have to do this very often...

Similar Messages

  • Can any one know how do restrict that fields in mm

    hi gurus
    can any one know how do we restrict the fields in the material master.  Where do we control  do any one know the transaction code for that.
    Thanks in advance

    OMSR
    and
    OMS9
    Help for OMSR
    Assign Fields to Field Selection Groups
    To define whether a field is hidden or displayed, or whether an entry is mandatory or optional in material master maintenance, you must assign the field to a field selection group. You may assign a field to one field selection group only.
    Before including customer-defined fields in a field selection group together with standard fields, or assigning standard fields to a different field selection group, familiarize yourself with the assignment of fields to field selection groups in the standard R/3 System.
    Standard settings
    The values of the field selection groups have been preassigned as follows:
    001-110 Material master for industry
    111-120 Reserved for customers (except where the values are already in use)
    121-150 Material master for industry
    151-210 Material master for retail
    211-240 Reserved for customers
    Recommendation
    If possible, use the setting in the standard R/3 System. No further action is then required. If you want to make individual fields inaccessible, the easiest way is to group them together in a single field selection group and to set it to Display or Hide.
    Activities
    1. Check the setting in the standard R/3 System.
    For this, you need to know the data screen on which the relevant field appears in the material master, and the name of the screen field, for example, MARA-MEINS in the case of the base unit of measure.
    2. If necessary, change the assignment of fields to field selection groups as required.
    Further notes
    In the case of long texts, you define whether the entire screen is hidden or displayed, or whether entries are mandatory or optional. For this reason, each screen has been assigned to one of the following dummy fields:
    LTEXT_BEST Purchase order text
    LTEXT_GRUN Basic data text
    LTEXT_IVER Internal comment
    LTEXT_PRUE Inspection text
    LTEXT_VERT Sales text
    help for OMS9
    Maintain Field Selection for Data Screens
    In this IMG activity, you create and maintain field references. You can see where a field reference is used by choosing Where-used list.
    Activities
    Define or change the field references as required (except for field references with the prefix SAP which must not be changed). New field references must begin with Y or Z.
    Changing the Field Selection Options for a Field Selection Group
    1. Specify the field selection group.
    2. Select the field selection option (hide, display, required entry, or optional entry) for each field reference as required.
    3. Save your data.
    Creating a Field Reference
    1. Choose New entries.
    2. Specify a field reference beginning with Y or Z.
    3. Select the field selection option for each field selection group as required.
    4. Save your data.
    Changing a Field Reference
    1. Double-click the relevant field reference.
    2. Change the field selection option for each field selection group as required.
    3. Save your data.
    reward if usefull
    Message was edited by:
            Umakant Bhangale

  • My safari browser seems to have been taken over by a malicious program called only-search.  Does any one know how to uninstall this program from safari?  I am running osX 10.10.

    My safari browser seems to have been taken over by a malicious program called only-search.  Does any one know how to uninstall this program from safari?  I am running osX 10.10.

    There is no need to download anything to solve this problem.
    You may have installed the "VSearch" trojan. Remove it as follows.
    Malware is always changing to get around the defenses against it. These instructions are valid as of now, as far as I know. They won't necessarily be valid in the future. Anyone finding this comment a few days or more after it was posted should look for more recent discussions or start a new one.
    Back up all data before proceeding.
    Step 1
    From the Safari menu bar, select
              Safari ▹ Preferences... ▹ Extensions
    Uninstall any extensions you don't know you need, including any that have the word "Spigot," "Trovi," or "Conduit" in the description. If in doubt, uninstall all extensions. Do the equivalent for the Firefox and Chrome browsers, if you use either of those.
    Reset the home page and default search engine in all the browsers, if it was changed.
    Step 2
    Triple-click anywhere in the line below on this page to select it:
    /Library/LaunchAgents/com.vsearch.agent.plist
    Right-click or control-click the line and select
              Services ▹ Reveal in Finder (or just Reveal)
    from the contextual menu.* A folder should open with an item named "com.vsearch.agent.plist" selected. Drag the selected item to the Trash. You may be prompted for your administrator login password.
    Repeat with each of these lines:
    /Library/LaunchDaemons/com.vsearch.daemon.plist
    /Library/LaunchDaemons/com.vsearch.helper.plist
    Restart the computer and empty the Trash. Then delete the following items in the same way:
    /Library/Application Support/VSearch
    /System/Library/Frameworks/VSearch.framework
    ~/Library/Internet Plug-Ins/ConduitNPAPIPlugin.plugin
    Some of these items may be absent, in which case you'll get a message that the file can't be found. Skip that item and go on to the next one.
    The problem may have started when you downloaded and ran an application called "MPlayerX." That's the name of a legitimate free movie player, but the name is also used fraudulently to distribute VSearch. If there is an item with that name in the Applications folder, delete it, and if you wish, replace it with the genuine article from mplayerx.org.
    This trojan is often found on illegal websites that traffic in pirated content such as movies. If you, or anyone else who uses the computer, visit such sites and follow prompts to install software, you can expect more of the same, and worse, to follow.
    You may be wondering why you didn't get a warning from Gatekeeper about installing software from an unknown developer, as you should have. The reason is that the Internet criminal behind VSearch has a codesigning certificate issued by Apple, which causes Gatekeeper to give the installer a pass. Apple could revoke the certificate, but as of this writing has not done so, even though it's aware of the problem. This failure of oversight has compromised both Gatekeeper and the Developer ID program. You can't rely on Gatekeeper alone to protect you from harmful software.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination  command-C. In the Finder, select
              Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.

  • Does any one know , how to delete the others in itunes. it takes lot of space

    does any one know , how to delete the others in itunes. it takes lot of space, i wanna delete that... Actually what it contains

    Those are the data of the installed apps. Don't listen if someone says that it's an iOS, because it is not. On your iPhone, go to general > usage. It will show you all the programs installed on your iPhone. If you click any of them you will see how much of "others" it has (documents and data)
    There's no way to delete it if you want to still have those apps. You can reinstal those which has the most "others" but after some time of usage, it will raise again.

  • How can I watch movies in germany with native tone, english? Any one knows how to switch the language when renting a movie?

    How can I watch movies in germany with native tone, english? Any one knows how to switch the language when renting a movie?

    I wonder the Format Tables macros on my site could be adapted?
    http://www.grainge.org/pages/authoring/word/word_macros.htm
    If not, I have used Macro Express to format tables in Rh. No reason it could not be used in Word.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • I need to delete the entire browsing history so when i type in a webpage it soes not bring up previuosly visited sites.  deleting the history does not do this.  any one know how to do this

    I need to delete the entire browsing history so when i type in a webpage it soes not bring up previuosly visited sites.  deleting the history does not do this.  any one know how to do this

    Judy-
    If Private Browsing doesn't do it, try Settings-Safari-Advanced-Website Data-Remove All Websitre Data.
    Or changing Settings-Safari-Autofill to OFF.
    You might also try Settings-Safari and Clear History and Clear Cookies and Data.
    As you can see, there are several controls for Safari.  Which one works depends on what your problem is.
    Fred

  • Can't use down key because it opens automator. Does any one know how to disable this short cut?

    Everytime I press down on down key it opens automator. It doesn't let me delete the app. I don't know what to do, it is very frustating to fill in a chart when I can't use the down key. Does any one know how to disable this short cut?

    Are you talking about the Down Arrow key? To my knowledge there is no way to use that key as a shortcut for anything. But look in the Keyboard section of System Preferences and the Keyboard shortcut tab.

  • Does any one know how to execute program in Jump developer desktop

    hi,
    Does any one know how to execute program in Jump developer desktop,
    actually i copied the hello world project from my eclipse workspace to jump
    developers workspace and once i run the program it asks for the main class
    and then i gave main class as my HelloWorld Class,it generates error as
    java.lang.NoSuchMethodError: main
    Exception in thread "main"
    Can any one help me to come out of this problem.....
    Thanks
    MRaj

    i solved it,
    thanks
    MRaj

  • Does any one know how to arrange songs by location in itunes lybrary?

    I've ripped more than 100 CDs in different folder in my computer. After installing itunes, every songs is added to the library. But when I want to transpher some songs located in a specific folder, I can not find how? They only arrange by names, or album, or artist... They don't know if you got a collection of favourite songs in a folder, how can I find them, or I have to find each song manualy? Any one knows how to arragne songs by their location, pls help. Thanks alot

    I can not drag directy from my store folder to my Ipod, right?
    Correct.
    I dont want to select hundreds of songs one by one.
    Okay. You have already done that.
    But how do you find a specific song? You have to remember if it's in your favorites folder or in the artist folder or ???
    In iTunes, you create a playlist, put the music you want in the playlist, drag the playlist to your iPod in iTunes.
    Anytime you wan t, add or remove songs from this playlist and plug in the iPod to sync it up.
    iTunes is a music manager.
    You are simply using Windows Explorer/the desktop as a manager now.
    iTunes is so much more versatile. You can sort, group, exclude by Album, Artist, date of song, Genre, and a bunch of other criteria.
    Just as you don't care where a song is physically located on a CD, you don't need to be concerned (too much) with where it is on your HD. With iTunes, as long a syou know something about it (Artist or album), you can find it with one or two clicks.

  • In my iTunes on the iPad I've got 95 items that are stuck and I tried swiping them to delete them but it doesn't work dose any one know how to empty the download tab

    In my iTunes on the iPad I've got 95 things that are stuck and I tried swiping them to delete them but it doesn't work dose any one know how to empty the download tab

    Thanks, but, using the "free" version of Reader, there is no opportunity to open nor import the xml data - the menu options do not exist - there is no import listed.
    If we try to open the xml file directly, then we get an error - something to the effect of "unsupported file type, or the file is corrupted".
    I just noticed in my Pro version that there is the command File ->Form Data ->Import Data to Form... command. Is this what you are referring to?
    What do you recommend? Perhaps the easiest thing to do would be to purchase a few copies of Acrobat Pro for the reservations people to use? I was hoping that the free version of reader would do it, but perhaps not?
    Thanks again,
    Rob

  • In previous versions of Firefox I was able increase the display size on Flickr which remained unless I altered it again. Does any one know how to do this on Firefox 4?

    Question
    In previous versions of Firefox I was able increase the display size on Flickr which remained unless I altered it again. Does any one know how to do this on Firefox 4

    Make sure that you not run Firefox in (permanent) [[Private Browsing]] mode.
    * You enter Private Browsing mode if you select: Tools > Options > Privacy > History: Firefox will: "Never Remember History"
    * To see all History and Cookie settings, choose: Tools > Options > Privacy, choose the setting <b>Firefox will: Use custom settings for history</b>
    * Uncheck: [ ] "Permanent Private Browsing mode"
    You can use one of these extensions to adjust the default font size and page zoom on web pages:
    * Default FullZoom Level - https://addons.mozilla.org/firefox/addon/6965
    * NoSquint - https://addons.mozilla.org/firefox/addon/2592

  • Iphone 4 is hiting in ios 5.1.1. any one know how to solve this problem??

    iphone 4 is hiting in ios 5.1.1. any one know how to solve this problem??

    This sounds like a hardware problem and should be taken to Apple if the heating / "hiting" becomes disturbing to you. If you feel that your iPhone has a heating / "hiting" problem and needs to be repaired, please contact Apple Support and they can further assist you in having it inspected, repaired, or even replaced. In the past, the overheating of Apple products has been known to cause harmful problems to a few particular users. Please evaluate your situation and take further action if you feel necessary.
    http://www.apple.com/support/contact/

  • I deleted all my playlist by mistake from itunes. tried copying the to on the go on ipod and thought it would copy it on to my itune but it didn't. does any one know how i can do this without redoing all my playlists. thanks

    I deleted all my playlist by mistake from itunes. tried copying them to on the go on ipod and thought it would copy it on to my itune but it didn't. does any one know how i can do this without redoing all my playlists. thanks

    Are the playlists still on the iPod? If so I can probably cook up a script to read them back into iTunes, or you can check the features of the various tools listed at the end of this user tip to see if you can find one that you want to use.
    tt2

  • Does any one know how to connect itunes up? when i click on store it always says 'itunes could not connect to the store. Make sure your network connection is active and try again.' if you know how to fix tell me please, please!

    does any one know how to connect itunes up? when i click on store it always says 'itunes could not connect to the store. Make sure your network connection is active and try again.' if you know how to fix tell me please, please! thanx

    Work through all the troubleshooting here: iTunes: Advanced iTunes Store troubleshooting
    B-rock

  • Do any one know how much it is to get the new ipod touch with the camera if you trade in your old ipod touch?

    do any one know how much it is to get the new ipod touch with the camera if you trade in your old ipod touch?

    Sounds like you need a new battery.  I would make an appointment at the Genius Bar of an Apple store to confirm.  Apple will replace the battery for $79.  A third-party place like the folloing may be less expensive.  Google for more places.
    iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens
    You can also replace it yourself if you are so inclined.  For parts and instruction:
    iFixit: The free repair manual

Maybe you are looking for