Writing the result to seperate HTML page.

Hello,
I want a program in which I compare 3 different files and display the result. Now I want to write/save the result into a seperate HTML/pdf file. Can somebody help me in this respect.
Thanks in advance,
Nirmal Kumar Bhogadi

Thank you so much for helping me with this. The accordion is still not sliding. The links work tho. I see that you have ?page=cascade_dining" right after your index.php, is this what is making the slider work? If so, what is ?page supposed to equal? For instanceI now have this:
<div class="AccordionPanel">
     <a href="art_cards.html" onclick="window.location=this.href;return false;">
            <div class="AccordionPanelTab">greeting cards</div>
     </a>
But should I have this instead:
     <a href="art_cards.html?page=something" onclick="window.location=this.href;return false;">
            <div class="AccordionPanelTab">greeting cards</div>
I appreciate the help!

Similar Messages

  • I would like to see the results divided in more pages

    Hi,
    I've done a search web application (whit JSP).
    After a search I would like to see the results divided in more pages with an index pages [ 1 2 3 4 5 6 ...] (like forum's page).
    How can I do?
    thank's,
    Marco

    My code is...
    <%
    articoli.find();
    if (articoli.oArticlesList!=null && articoli.oArticlesList.length!=0) {%>
    <hr noshade="noshade" align="center" size="1"></hr>
    Search Results...</br></br></br>
    <% for (int i=0; i<articoli.oArticlesList.length; i++) {%>
    <%=(i+1)%>)<a href="corpo.jsp?title=<%=articoli.oArticlesList[i.sTitolo%">"><b><%=articoli.oArticlesList.sTitolo%></b></a></br>
     Abstract: <em><%=articoli.oArticlesList[i].sOcchiello%></em></br>
    <%articoli.setRiferimento(articoli.oArticlesList[i].sTitolo);%>
    <%articoli.getReferenceNum();%>
    Referenced <%=articoli.oReferenceList.length%> times</br></br>
    <% }
    } else {%>
    No match found!
    <%}%>
    when the results are displayed I see them only in a page.
    I want to see them divided in more pages, like a search engine or this forum results ( pages [1,2,3,...] ) </a>

  • How to set a cookie in the browser from an html page called via an Iview

    How to set a cookie in the browser from an html page called via an Iview
    Hello all,
    I have an issue which is causing problems. I have a snap survey (html form with submit and cookie setting) which is embedded in a url iview.
    Although the submit and the form work fine, the portal will not allow the cookie to be set it seems.
    Is there a way to allow cookies to be set from an embedded page in a url iview??
    You will make my day if you know!
    System: EP7 SP13
    Kind regards
    Alex

    Hi,
    Check this:
    http://www.oracle.com/technology/products/ias/portal/html/same_cookie_domain_with_pdkv2.html
    Cookie Basics
    Web browsers have built in rules for receiving and sending cookies. When a browser makes a request to a web server and the web server returns cookies with the response, the browser will only accept a cookie if the domain associated with the cookie matches that of the original request. Similarly, when a browser makes a subsequent request, it will only send those cookies whose domain matches that of the target web server.
    These rules are designed to ensure that information encoded in cookies is only "seen" by the web server(s) that the originator of the cookie intended. These rules also ensure that the cookie cannot be corrupted or imitated by another server. By default, the domain associated with a cookie exactly matches that of the server that created it. However, it is possible to modify the domain at the time the cookie is created. Relaxing the cookie domain increases the scope of the cookie's visibility making it available to a wider "audience" of web servers.
    For example, if a cookie is created by a.us.oracle.com, it's domain will usually be set to a.us.oracle.com. This means that the browser will only send the cookie to a.us.oracle.com. It will never send it to any other servers. However, if at the time of creation, the domain of the cookie is set to .us.oracle.com, the browser will send the cookie to any server whose domain falls within .us.oracle.com. such as portal.us.oracle.com, provider.us.oracle.com, app.us.oracle.com etc
    Regards,
    Praveen Gudapati

  • Parsing the FRAME tag from HTML pages

    Hello to everybody,
    I am trying to parse the A tags & the Frame tags from HTML pages. I have developed the code below, which works for the A tags but it does not work for the Frame tags. Is there any idea about this?
    private void getLinks() throws Exception {
         System.out.println(diskName);
    links=new ArrayList();
    frames=new ArrayList();
    BufferedReader rd = new BufferedReader(new FileReader(diskName));
    // Parse the HTML
    EditorKit kit = new HTMLEditorKit();
    HTMLDocument doc = (HTMLDocument)kit.createDefaultDocument();
    doc.putProperty("IgnoreCharsetDirective", new Boolean(true));
    try {
         kit.read(rd, doc, 0);
    catch (RuntimeException e) {return;}
    // Find all the FRAME elements in the HTML document, It finds nothing
         HTMLDocument.Iterator it = doc.getIterator(HTML.Tag.FRAME);
    while(it.isValid()) {
    SimpleAttributeSet s = (SimpleAttributeSet)it.getAttributes();
    String frameSrc = (String)s.getAttribute(HTML.Attribute.SRC);
         frames.add(frameSrc);
    // Find all the A elements in the HTML document, it works ok
    it = doc.getIterator(HTML.Tag.A);
    while (it.isValid()) {
    SimpleAttributeSet s = (SimpleAttributeSet)it.getAttributes();
    String link = (String)s.getAttribute(HTML.Attribute.HREF);
    int endOfSet=it.getEndOffset(),
    startOfSet=it.getStartOffset();
    String text=doc.getText(startOfSet,endOfSet-startOfSet);
    if (link != null)
         links.add(new Link(link,text));
    it.next();
    }

    Hello to everybody,
    I am trying to parse the A tags & the Frame tags from HTML pages. I have developed the code below, which works for the A tags but it does not work for the Frame tags. Is there any idea about this?
    private void getLinks() throws Exception {
         System.out.println(diskName);
    links=new ArrayList();
    frames=new ArrayList();
    BufferedReader rd = new BufferedReader(new FileReader(diskName));
    // Parse the HTML
    EditorKit kit = new HTMLEditorKit();
    HTMLDocument doc = (HTMLDocument)kit.createDefaultDocument();
    doc.putProperty("IgnoreCharsetDirective", new Boolean(true));
    try {
         kit.read(rd, doc, 0);
    catch (RuntimeException e) {return;}
    // Find all the FRAME elements in the HTML document, It finds nothing
         HTMLDocument.Iterator it = doc.getIterator(HTML.Tag.FRAME);
    while(it.isValid()) {
    SimpleAttributeSet s = (SimpleAttributeSet)it.getAttributes();
    String frameSrc = (String)s.getAttribute(HTML.Attribute.SRC);
         frames.add(frameSrc);
    // Find all the A elements in the HTML document, it works ok
    it = doc.getIterator(HTML.Tag.A);
    while (it.isValid()) {
    SimpleAttributeSet s = (SimpleAttributeSet)it.getAttributes();
    String link = (String)s.getAttribute(HTML.Attribute.HREF);
    int endOfSet=it.getEndOffset(),
    startOfSet=it.getStartOffset();
    String text=doc.getText(startOfSet,endOfSet-startOfSet);
    if (link != null)
         links.add(new Link(link,text));
    it.next();
    }

  • After upgrading 3.6.7, in "google image search" all the results appears in one page, I just need to go back to the previous way of search : page after page.......??

    After upgrading 3.6.7, in "google image search" all the results appears in one page, I just need to go back to the previous way of search : page after page.......??
    where can I adjust this option ?? I tried in IE, the search way is normal as in past..
    == This happened ==
    Every time Firefox opened

    I believe this to be a browser issue, not a google search results issue, and here is why:
    having updated Firefox only yesterday, I visited google images searching for pancakes.... interestingly, I have the NEW image results (yuck) on Firefox 3.6.8, I have the OLD image results on IE8 and Opera 10.53.
    When I use the 'switch to basic version' in Firefox 3.6.8, indeed it DOES revert to the new format next time I image search (in Firefox).
    For those of us who prefer the OLD image results page, I guess we will just have to switch browsers for google image search.
    Now I'm off to research how to get rid of the UGLY FFox sidebar.

  • Getting one swf to be higher than another in the zindex of a html page

    Hey all could someone please show me how I can tell one .swf
    to be higher in the pages object stack than an other, I presume
    using javascript?
    Any help would be great.

    Add a table with two rows put the first one in the fist row
    and the second
    in the next row. or make a two div's that work and put them
    in there.
    I think that for you the tables would work better and end
    your frustration.
    Dave
    "complexity" <[email protected]> wrote in
    message
    news:e4lqnl$o0m$[email protected]..
    > Hi all,
    >
    > I am atempting to get a swf higher than another on
    screen in a HTML page.
    >
    > I thought that by using the z-index attribute would
    achieve this but I am
    > having difficulty with it.
    >
    > Firstly I have tried Javascript solution.
    >
    > <script language="Javascript">
    > <!--
    > function makeswf1higher() {
    > div1.style.zIndex="4";
    > div2.style.zIndex="3";
    > -->
    > </script>
    >
    > <body onLoad="makeswf1higher()" >
    > <div id="div1"> //mswf here </div>
    > <div id="div2"> //mswf here </div>
    >
    >
    > secondly I have tried a CSS z-index solution.
    >
    > <style type="text/css">
    > <!--
    > #div1 {
    > position:relative;
    > width:200px;
    > height:115px;
    > top: 0px;
    > visibility: visible;
    > left: 0;"
    > z-index: 50;"
    >
    > }
    > #div2 {
    > position:relative;
    > width:783px;
    > height:446px;
    > top: 0px;
    > visibility: visible;
    > left: 0;"
    > z-index: 1;"
    > }
    >
    > -->
    > </style>
    >
    >
    > And neither produces a result for me. Could someone
    please show me what I
    am
    > doing wrong here.
    >
    > Any help is much appreciated.
    >

  • Cannot get the parameter from a HTML page at the first time

    Hi everyone,
    I have a html page with <input name="username" ...>, and the submit action is a url to my JSF web application. In the start page of the JSF webapp, I use following code to get value of username.
    FacesContext facesContext = javax.faces.context.FacesContext.getCurrentInstance();
    String userName = (String)facesContext.getExternalContext().getRequestParameterMap().get("username");
    However, I cannot get it at the first time. The strange thing is if i click "refresh" button, the value of username is shown up on my page.
    Why? and How to solve it?
    Thanks in advance,

    Hi,
    Are you putting this code in the public void preprocess() method?
    Check out
    http://developers.sun.com/prodtech/javatools/jscreator/reference/techart/2/app_model.html
    The assumption is that Creator is being used.

  • 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

  • To get checkboxes in the results table of SEARCH page?

    Hi,
    I am trying to create a search form using 'Execute With Params', while doing this I am getting radiobuttons when I go for Enable Selections , but I want Checkboxes to be present there instead of Radio Buttons.
    And also when the page is displayed I want only the search parameter to be prsent and not the results table by default.How can I do that?
    Kindly tell me how can I acheive that?
    Thanks,
    ivaR

    Hi,
    a) create a table with no selection enabled. Then drag and drop the tableSelectMany component into the "Selection" facet of the table
    b) make the default vaue of the bind variable so that no value is returned by the query. Then on the render property of the table, set #{bindings.tableIterator.estimatedRowCount>0}. This hides the table if not query is issued

  • Writing the results of JavaScript function to a table.

    Hi - I used the javascript from the post below to calculate a field based on two other fields. It works fine, but is only displaying it - not assigning it to the page item.
    How can I assign the result to a page item so that it is processed with the auto DML when the page is submitted?
    Thanks,
    Matt
    Re: How to multiply two textbox values and write it to another textbox?
    function addthis(){
    var val1 = parseInt($v('PX_VALUE1'));
    var val2 = parseInt($v('PX_VALUE2'));
    if ($v('PX_VALUE1') != "" && $v('PX_VALUE2') != ""){
    var answer = val1+val2
    $s('PX_VALUE3',answer);
    }

    What kind of item is PX_VALUE3 - a text item or a display item or something else?
    What happens if you manualy change the value of PX_VALUE3 to something? Does the DML Process save that value or not?
    What is the source used and source type of your PX_VALUE3 item - is it only when... or always... / is it a database column or static assignment?
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • Getting the content of an HTML page?

    Hi,
    I'd like to know how I can connect to an HTML page and then put the content of the page in a String object.
    Could someone help me?
    Thanks,
    Roming

    Something like:
                    HttpURLConnection conn = null;
              try {           
                   conn = (HttpURLConnection) new URL("http://forum.java.sun.com/thread.jsp?forum=54&thread=542277&tstart=0&trange=15").openConnection();
                   InputStream inputStream = conn.getInputStream();
                   BufferedReader br = new BufferedReader(new InputStreamReader(inputStream));               
                   String line = null;                    
                   while ((line = br.readLine()) != null) {
                        System.out.println(line);               
              } catch (MalformedURLException murle) {
                      murle.printStackTrace();
              } catch (IOException ioe) {
                   ioe.printStackTrace();
              } finally {
                   if (conn != null) conn.disconnect();
              }          

  • The applet in my html page keep poping up

    The applet I put on the HTML page keep poping up, how can have on the same web page without poping
    <Html>
    <Head>
    <Title>Java Example</Title>
    </Head>
    <Body>
    This is my page<br>
    Below you see an applet<br>
    <br>
    <Applet Code="Ch6_PrExercise7.class" width=200 Height=100>
    </Applet>
    </Body>
    </Html> here is the code
    //This Java Program determines the amount on maturity.
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import static java.lang.Math.*;
    public class Ch6_PrExercise7 extends JFrame
        private JLabel amtL, yearL, interestL, valueL;
        private JTextField amtTF, yearTF, interestTF, valueTF;
        private JButton calculateB, exitB;
        private CalculateButtonHandler cbHandler;
        private ExitButtonHandler ebHandler;
        private static final int WIDTH = 400;
        private static final int HEIGHT = 300;
        public Ch6_PrExercise7()
                //create four labels
            amtL = new JLabel("Amount deposited : ",
                             SwingConstants.RIGHT);
            yearL = new JLabel("Duration in years : ",
                      SwingConstants.RIGHT);
            interestL = new JLabel("Interest rate : ",
                        SwingConstants.RIGHT);
            valueL = new JLabel("Value on maturity : ",
                        SwingConstants.RIGHT);
                //create four textfields
            amtTF = new JTextField(10);
            yearTF = new JTextField(10);
            interestTF = new JTextField(10);
            valueTF = new JTextField(10);
                //create Calculate Button
            calculateB = new JButton("Calculate");
            cbHandler = new CalculateButtonHandler();
            calculateB.addActionListener(cbHandler);
                //create Exit Button
            exitB = new JButton("Exit");
            ebHandler = new ExitButtonHandler();
            exitB.addActionListener(ebHandler);
                //set the title of the window
            setTitle("Calculating Interest");
                //get the container
            Container pane = getContentPane();
                //set the layout
            pane.setLayout(new GridLayout(5, 2));
                //place the components in the pane
            pane.add(amtL);
            pane.add(amtTF);
            pane.add(yearL);
            pane.add(yearTF);
            pane.add(interestL);
            pane.add(interestTF);
            pane.add(valueL);
            pane.add(valueTF);
            pane.add(calculateB);
            pane.add(exitB);
                //set the size of the window and display it
            setSize(WIDTH,HEIGHT);
            setVisible(true);
            setDefaultCloseOperation(EXIT_ON_CLOSE);
        private class CalculateButtonHandler implements ActionListener
            public void actionPerformed(ActionEvent e)
                double year, amt, interest, value;
                amt = Double.parseDouble(amtTF.getText());
                year = Double.parseDouble(yearTF.getText());
                interest = Double.parseDouble(interestTF.getText());
                value = amt * pow((1.0 + (interest/100.0)), year);
                valueTF.setText("" + String.format("%.2f", value));
       private class ExitButtonHandler implements ActionListener
            public void actionPerformed(ActionEvent e)
                System.exit(0);
       public static void main(String[] args)
            Ch6_PrExercise7 interestProductObject = new Ch6_PrExercise7();
    }

    ronisto wrote:
    I dont know what u asking,Obviously. You try to have an applet without even knowing what it is.
    Read this: [http://java.sun.com/docs/books/tutorial/deployment/applet/]

  • Let applet out without the frame of a html page?

    Hi,
    I want to run a java applet like this:
    when someone logs into a web page, the applet contained in this web page
    will come out just like a standalone application, rather than run in the frame
    of this web page, how could i get it?
    I appreciate any suggestion!
    Thanks a lot
    michael

    public void init(){
    YourClass application = new YourClass();
    Where YourClass is like that:
    import java.awt.*;
    public class YourClass extends Frame{
    getContentPane().show();
    ...

  • Writing the Result set to a file!

    Hello ...java gurus.. pls i want to write the contents of my result set to a file ...i have tried it but when i open the files it contains jargons any other way?
    thanks.

    Just get the results as strings, ints or whatever you want and write them. If you want, store results in vectors, hashes... and write the file after closing connections.

  • Row not creating in the results table of search page,plz help

    hi,
    i had created searchpage, and after giving the criteria ,after press the go button, its giving exception the row is not created
    oracle.apps.fnd.framework.OAException: oracle.jbo.RowCreateException: JBO-25017: Error while creating a new entity row for DeptEO.
    can anyone help regarding this.

    Please post the full error stack.
    This message is not enough to diagnose the problem.
    --Prasanna                                                                                                                                                                                                       

Maybe you are looking for

  • SAPSQL_ARRAY_INSERT_DUPREC

    Hi All,   We are repeatedly getting this error while trying to create a delivery from VL01N. I would think this is due to duplicate entry but i checked the data and found that the entry does not exist in the concerned table (EIKP). Has anyone faced s

  • Is there a single "SDK" I can download, for a well worked J2ee env?

    There are too many "terms" for j2ee env. such as "j2eeSdk,ant,tomcat,lomboz,jboss....", I was totally confused. I need a simple sdk for all those functions. Is it possible?

  • Default template is English (US)

    Hi, when we create any new Office Document via the 'new document' button in SharePoint 2010 the default proofing language is always English (US).... No matter if the Regional settings in the Site Collections are English (UK), or the default in Office

  • Problems with the header

    Hello, I have followed the tutorial using my own Photos but now I have a problem. I have taken a screenshot to shot how the header "involves" with the next line. I don't know how to solve this problem? Isabella

  • How to make a video as mpeg_2 with audio together?

    Hi guys, I just could not figure out how to compress a mpeg_2 video with audio in it, which means the video and the audio as a whole one file. I am using FCP 5.0.4 when i compress my finished video using compressor, it comes out two files, one video