Including the results of a jsp into an HTML page

Hey everyone,
I am trying to include the results of a jsp inside an HTML page (HTML served by Apache, JSP served by Tomcat).
Is there any straight way of doing this - say using Ajax or some javascript? I have been experimenting with ajaxinclude from DynamicDrive.
Appreciate the help,
Ankush

Well, u can do one thing, may not be a proper method...
one way is to call the jsp page using ajax and the output of the jsp page can be converted to an xml and this xml can be read by the ajax program.

Similar Messages

  • Extracting the result of a query into a internal table

    Hi,
    Does anyone knows or have an idea how to extract the result of a query into a internal table, is there a function module or BAPI?
    Thanks in advance,
    CK

    So then normally I would use a statment like:
    IFunctionTemplate ftemplate = repository.getFunctionTemplate("<b>BAPI_SALESORDER_GETLIST</b>");
    to call a particluar function, but I tried using
    IFunctionTemplate ftemplate = repository.getFunctionTemplate("<b>BAPI_MDDATAPROVIDERBW_GETCATALOGS</b>");
    and it did not seem to work. I also tried -
    IFunctionTemplate ftemplate = repository.getFunctionTemplate("<b>MDDataProviderBW.GetCatalogs</b>");
    How do I format the function?
    Thanks
    Paul

  • When i type a search term in the URL box, the result is returned on an AOL Search page; I want a Google search page - help....

    When i type a search term in the URL box, the result is returned on an AOL Search page; I want a Google search page - help....

    In order to better assist you with your issue please provide us with a screenshot. If you need help to create a screenshot, please see [[How do I create a screenshot of my problem?]]
    Once you've done this, attach the saved screenshot file to your forum post by clicking the '''Browse...''' button below the ''Post your reply'' box. This will help us to visualize the problem.
    Thank you!

  • Insert JAVA3D CODE into a HTML PAGE

    My java 3d code is working perfectly with javac and java command. I can see the result of my game in the appletviewer
    But when I want to insert the code into a html page,it dosen t work
    the java applet remain grey....
    Can someone tell me why and someone can tell me how to solve it
    Could you give me an example of HTML page using java 3D code with mulitple classes

    I don't know Java3D, but I know a little applets. :)
    Are you sure your browser understands the 3D API ?
    applets work with AWT and JDK1.1, (it's your browser than run your applet and not your jdk 1.3 or 1.4), so peraphs you should download a plug-in to run Java3D in your browser ?
    for example, if you want to use swing, you have to download a plug-in in your browser.
    and another problem is that different browsers work differently with a same applet : for example, IE 6.0 don't run than IE 4.0 or Netscape 3.0
    it's the internet's way of life... :)
    Good luck,
    David
    PS : sorry for my english, I'm from Paris ! :)

  • Can I insert an html file as an image into an HTML page?

    The site I'm working on (www.ngospen.com) has PNGs for background art - 10 - 15 kb per image. As the site is intended for settings with low bandwidth, I'd like these background images to be as small as possible.
    When saving for the web, one of the options is Save As HTML file. When I open the file, the artwork appears the same as the PNG (no lost resolution), but it is a much smaller file size (1 - 2 KB).
    Is it possible to insert these HTML files into my HTML pages?
    Thanks!
    Ken D
    Creative Director
    Grateful Creative

    Are you meaning that you work with fireworks?
    If so the html and the images you export are flattened images (slices), you have to put those images directly into your html page.
    If you want to save the file (fireworks) as a flattened image you could also goto save as -> flattened png.
    If you save your image from fireworks just as png it contains the layer information etc. etc. from fireworks, that's why you should save them as flattened png, or just export the slices.
    http://www.dreamweaverfan.nl

  • How to Convert an existing window into an HTML page

    Hi,
    I am trying to convert a window into an HTML page using Forte Web
    Enterprise.
    - The window has just the widgets without any code behind it.
    - How can I use the WindowConverter class, WindowToDocument method for
    it etc.....
    Any suggestions? Can I get a sample code if anyone has tried this.
    Thanks in advance
    Nafisa Husain
    CBSI, Chicago

    user8731258 wrote:
    Hi,
    I want to know how can i convert my application into a clustered application.
    my current application there are 5 modules and thses modules have 5-10 tables in common.Since these modules work simultaeously the processing time gets increased drastically.Is it possible that to have seperate instances of these tables and every module works independently and oracle take care of the consistency.
    I want to know if RAC could be the solution?Sounds like an application design issue. I think you'd be best served tracing the applications and see where the overhead is being introduced when they do their process concurrently.
    Throwing RAC at a poorly developed application would do nothing except amplify the poor design (it'll make things worse).
    Cheers,

  • How to embed a swf video into an html page?

    I am haing trouble embedding my swf video into my html page. Here is my code:
    <embed height="340" width="549" src="flashvideos/test.swf" allowscriptaccess="always" allowfullscreen="true" flashvars="&amp;MM_ComponentVersion=1&amp;skinName=C:/Users/RogerPa1/Documents/Visual Studio 2008/WebSites/WebSite1/Products/Create/flashvideos&amp;streamName=C:\Users\RogerPa1\Docum ents\Visual Studio 2008\WebSites\WebSite1\Products\Create\flashvideos\Robotics&amp;autoPlay=true&amp;autoRew ind=false"></embed> 
    When I run the page the place where the flash player should be is blank. But if I right click I can select settings so the flash player is there. I'm using absolute urls for the flashvars because I read in a forum that that's what you're supposed to do. Anyway I am a little frustrated that the video won't play. I tried creating a video with no skin and the same problem occurs.
    Thank You
    idesofdecember

    Answered

  • How to send information from HTML page to JSP without reloading HTML page?

    Hello,
    Is it possible to send information(row number selected by user) from HTML page to JSP without reloading HTML page?
    Thanks.
    Oleg.

    Yes, you can do this with framesets and a hidden frame.
    You need a bit of JavaScritp in the "visible" frame that
    sets the location of the hidden frame to the JSP.
    Add the user's choice as a parameter to the JSP URL.

  • Including the output of a jsp in one server into the a jsp in another serve

    Hi,
    I have a web server(w1) which contains a jsp file (jsp1).
    I have an application server(a1) which contains a jsp file (jsp2).
    Both w1 and a1 are running in different machines.
    I want the output of jsp2 to be inserted into jsp1.
    The control should always be in jsp1. Just like a method call jsp2 should be executed and results are to be included in jsp1.
    Hope my explaination is clear.
    include tag is not working for the above scenario.
    Can anybody help me with a piece of code.
    Thanks in advance.
    Regards,
    Sathish E.

    Why don't you just create a new URL object to jsp2 read in the stream and write it into jsp1.
    For example:
    // this is jsp1
    URL url = new URL( "http://www.somewhere/jsp2" );
    HttpURLConnection con = ( HttpURLConnection ) url.openConnection();
    con.setRequestMethod( "POST" );
    con.setAllowUserInteraction( true );
    con.setDoInput( true );
    con.setDoOutput( true );
    // Post any arguments here.
    OutputStream os = con.getOutputStream();
    os.write( ( "FNAME=" + fName + "&LNAME=" + lName ).getBytes() );
    os.flush();
    reader = new BufferedReader( new InputStreamReader( con.getInputStream() ) );
    // Read response from jsp2
    while ( ( line = reader.readLine() ) != null )
    // write the response into jsp1
    out.println( line );
    Hope this helps,
    Nick

  • Using the result of Get-ADOrganizationalUnit into an array.

    Hello all!
    I'm hoping you can help me with the following challange. What I want to accomplish:
    I'm building a PowerShell script that will parse all the servernames from multiple OU's through the RDCman Set-Rdg script build by timdun @
    http://blogs.msdn.com/b/timid/archive/2013/03/25/rdcman-config-files-rdg.aspx. I'm doing this on a OU basis because this will give an better overview (treeview) in RDCman.
    So far I can accomplish this by naming each OU individually (see: $ouA, $ouB, etc). See the following script:
    $domain = "dc=domain,dc=subdomain,dc=address,dc=com"
    $ou1 = "FABRIC"
    $ou2 = "Servers"
    $outputfile = "c:\temp\hostnames.txt"
    Import-Module ActiveDirectory
    $ints = @($ouA, $ouB, $ouC, $ouD, $ouE, $ouF, $ouG, $ouH, $ouI, $ouJ, $ouK, $ouL, $ouM, $ouN, $ouO, $ouP, $ouQ, $ouR, $ouS)
    foreach ($i in $ints){
    $servername = Get-ADComputer -SearchBase "OU=$i,OU=$ou2,OU=$ou1,$domain" -Filter '*' | Select -Expand DNShostname
    $servername > $outputfile
    Get-content $outputfile | c:\temp\Set-Rdg.ps1 -Pattern '(..)' -Taxonomy $domain, $ou1, $i -nobackup
    To the question: I'd like to automate this process. I used the command Get-ADOrganizationalUnit command to give me a list of sub OU's.
    $oucollection = Get-ADOrganizationalUnit -LDAPFilter '(name=*)' -SearchBase "OU=$ou2,OU=$ou1,$domain" -SearchScope OneLevel | FT Name
    The result is als follows:
    Name
    OU1
    OU2
    OU3
    OU4
    etc
    My question is: how to rebuild the result from above so that I can use this in $ints (see script) so that i don't have to name each OU individually...
    Many thanks in advance!

    Hi j-tt,
    this should certainly work. However ... if instead of Name you select the distinguishedName, you could use the whole dn as searchbase, instead of the construct you are currently using. Here's an Example after some slight rewrite:
    # Import the Active Directory Modules
    Import-Module ActiveDirectory
    # Grab all sub-OUs of the Search-Base, then retrieve their DistinguishedNames and Names
    Get-ADOrganizationalUnit -Filter "*" -SearchBase "OU=Servers,OU=FABRIC,dc=domain,dc=subdomain,dc=address,dc=com" -SearchScope OneLeve | Select Name, DistinguishedName | ForEach{
    # Save OU into Variable
    $OU = $_.Name
    # For each OU found, get all contained computers, extract their DNSHostnames and pass those into the script
    Get-ADComputer -SearchBase $_.DistinguishedName -Filter "*" | Select -ExpandProperty DNSHostname | c:\temp\Set-Rdg.ps1 -Pattern '(..)' -Taxonomy "dc=domain,dc=subdomain,dc=address,dc=com", "FABRIC", $OU -nobackup
    I'll admit I might have gone a bit wild with the pipelines here :)
    Cheers,
    Fred
    Edit: Fixed my shortened Version to include the Taxonomy parameters
    There's no place like 127.0.0.1

  • How Can I speed  up the results on my JSP page with the help of Caching.

    I am generating a dropdown listbox by merging an xml file with a style sheet(xsl).
    This list box comes up fine without any problems. Now, I am adding some advanced
    logic to the
    style sheet (xsl) to use the same xml file in a more efficient way. This time
    the generation
    of the list box is taking much longer (upto 25 seconds) although I get the results
    I want.
    Is there any way I could speedup this process by using weblogics caching. I know
    the process is slowing down
    due to the code in the stylesheet. Will caching resolve this issue?. I tried
    using
    <wl:cache> </wl:cache> on the jsp page generating this listbox but found no improvement.
    Any help will be very much appreciated.

    turn off your phone, unplug your router, leace it off for 30 seconds, and then power it back on and turn the iphone back on

  • How to spool the result of an query into a file in sql 2000

    Hi All,
    I have an SQL query which iterates through number of times for checking on some conditions and will return results each time. I wants to save the results into an different xml file each time. I tried using below query:
    exec xp_cmdshell 'bcp "use Mimsadaptorlogs; select top 10 * from log order by logdate" queryout "D:\cdr_cg.xml" -T -c -t,'  ---> Its not working as expected.
    I got the Below output:
    NULL
    Starting copy...
    SQLState = 01000, NativeError = 5701
    Warning = [Microsoft][ODBC SQL Server Driver][SQL Server]Changed database context to 'MIMSAdaptorlogs'.
    NULL
    10 rows copied.
    Network packet size (bytes): 4096
    Clock Time (ms.): total       62
    NULL
    Could you anuone please suggest me on this.......
    Thanks and Regards, Bala

    You will need to write a client program to do this. SQL Server is not intended for writing files. People still do it by calling BCP through xp_cmdshell, but this is a dubious practice. Better is to write a CLR stored procedure for the task. However, you
    are on SQL 2000, and the CLR support was added in SQL 2005. Furthermore, there is no XML type in SQL 2000, and the only way to generate XML is with the FOR XML clause. But this output is not well understood by BCP. Then I try: [code} bcp "SELECT * FROM Northwind..Customers
    FOR XML RAW" queryout slask.bcp -c -T [/code] on SQL 2000, I get [code] 11 rows copied. [/code] which is complete hogwash, because there are 91 rows in that table, and the output should be a single XML document, and the output looks like this: [code] <row
    CustomerID="ALFKI"... Bouchers" City="Marseil... tomerID="DUMON" Company... 0.32.21.21" Fax="40.32.... los Hern ndez" ContactT... n Steel" ContactTitle="... e" ContactTitle="Market... ="Salzburg" PostalCode=... " Phone="(21) 555-3412"... ty="Charleroi" PostalCo...
    <row CustomerID="WARTH"... [/code] I have truncated the output on the right side, but the left side is authentic. It really is that bad.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • How can I include the results are coming from a new thread, in the main sequence report?

    Hi,
    I have a main sequence which calls other sequence running in a new thread.
    I cannot see the results (limit test etc.) comming from that sequence.
    Is there any trick to it?
    Andras

    Hi again Andras.
    I got a reply from the technical support. I hope this help you.
    To include in main report the results of your test in another thread you must follow these steps:
    1.- Right click on the sequence call where you create the new thread. In "Specify Module" panel, just right "Run sequence in a new thread" press "Settings" button and disable "Automatically wait for the thread to complete..."
    2.- At the end of your main sequence add a new "synchronization - wait" step. Configure your wait, selecting in the upper ring tab "wait for thread".
    3.- Then select below "specify by sequence call" and pick over your thread name.
    With these changes your main sequence will add the results from your thread to your main sequence report.
    I hope it works for you. (but sadly it doesn't work for me)

  • Saving results displayed on jsp into a text file using struts actions

    Hi,
    i am developing a web application using struts...the basic functionality of the system is to retrieve data from the database based on the search conditions given by the user. Hence for different search criteria there are different JSP result screens. Struts and persistence are being used. The user should be able to save/view the data loaded on the screen in a text file when he clicks on the save button.
    I am supposed to write an action for fileoutput which can be used by all the result screens...instead of writing the same code in all the jsp pages...how do i go about it? I have already written an action class for the same but when i click on the save button a blank IE screen opens up instead of the open /save dialog box...i have also added mappings for the same in struts config xml file....any suggestions?

    Again, you have posted to the wrong board. SignalExpress is an application written in LabVIEW.

  • How to include the javafx program in JSP page

    I am working on a college project and i have got a problem that how will I can use the javafx program in JSP.
    plz imform me as soon as possible

    The JavaFX app can be included in JSP as an Applet.

Maybe you are looking for

  • Different issues on Satellite L855

    Dear Toshiba Community.... I purchased a Toshiba laptop like a half year ago for my study Mediadevelopment. I got the Toshiba Satellite edition L855. When i received my order i was very happy with it and i knew that i would succeed programming on thi

  • XML Publisher report ends in Warning with java.lang.OutOfMemoryError

    Hi, We are modifying the standard report Account Analysis Report (in Subledger Accounting) to create a custom report. When run wide open, it is ending in Warning with the error java.lang.OutOfMemoryError in OPP Log. We are on EBS 12.1.3. DB 11.2.0.3

  • Ipod will not sync with new Vista system

    I've downloaded Itunes to my new computer and cannot sync to my Ipod. Connections, diagnostics are all fine. I keep getting a message that Windows  cannot find the disk. I went to the sync center and cannot figure out how to sync the device. Any help

  • Can I get an additional power connector for a HD inside my MacPro?

    Hello, I have a MacPro Early 2009 with all HD bays full and both optical drives full. I have a Apricorn Velocity Solo x2 with 512 GB SATA III SSD and the card has an additional SATA port for my additional 2TB HD SATA III that I would like to make int

  • Trying to shoot RAW with my new SX50

    It seems that the AF Frame and Digital Zoom selections gray out when I select RAW or RAW+JPG.  Is it not possible to use face detect and/or digital tele-converter when shooting in RAW?