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

Similar Messages

  • How can i see if other accounts on my ipod touch with the serial code?

    How can i see if other accounts on my ipod touch with the serial code?

    What? If other accounts what?

  • How can i get Google maps back on, i lost them with the ios6 update, the new maps are terrible

    how can i get Google maps back on, i lost them with the ios6 update, the new maps are terrible

    It's still not known if and when Google Maps becomes available in the AppStore. This is today's story: http://www.macrumors.com/2012/09/25/google-has-not-yet-submitted-a-google-maps-a pp-to-apple/

  • How can i get my iMessage on my mac to sync with the texts i get on my iPhone?

    how can i get my iMessage on my mac to sync with the texts i get on my iPhone?

    Welcome to the Apple Community.
    Are you aware it only syncs iMessages. Also once enabled only new messages will sync, try messaging the user from the Mac and see if that gets things going for you.

  • How can I delete my apple id and create another one with the same email?

    How can I delete my apple id and create another one with the same email?

    So sorry; somehow I forgot to provide the link.   Here it is ...
    Frequently asked questions about Apple ID
    Again, my apologies.

  • How can i render a dynamic html file in jsp page

    Hi everybody,
    i am trying to render a dynamic html file in jsp page with the result of querying a database.
    The response of the query is a xml document. And i have a stylesheet to transfer it to html.
    How can i render the html in a jsp file?

    I am using below code for HTML files
    private var appFile:String="index.html";
    if (StageWebView.isSupported)
                        currentState = "normal";
                        webView.stage = stage;
                        webView.viewPort = new Rectangle( 10, 130, (stage.stageWidth)-20, 750 );
                        var fPath:String = new File(new File("app:/assets/html/aboutus/"+ appFile).nativePath).url; 
                        webView.loadURL(fPath);
                        addEventListener(ViewNavigatorEvent.REMOVING,onRemove);
                    else {
                        currentState = "unsupported";
                        lblSupport.text = "StageWebView feature not supported";
    above code is working fine for me.

  • How Can I Add Pivot Tables of Excel Into JSP Pages

    Hello all,
    Basing upon a query to database, i wanted to add a Microsoft Excel pivot table functionality in JSP page [with the result of query].
    Is it possible to create a Pivot Table in JSP with dynamic data from database ??
    Can any body help me in solving this issue ???
    Thanks & Regards
    Krishna

    There are a few alternatives to doing this (depending on the clients you are serving this page up for).
    Going the pure HTML
    There is an open source project called JPivot which provides an HTML front end for Pivot Table (using tag libraries)
    Going the Microsoft Office route there are a few options:
    1) POI HSSF ( http://jakarta.apache.org/poi/index.html) allows you to "update" an existing Pivot table by replacing data values contained in a template pivot table.
    2) Use the open source XELEM api (xelem.sourceforge.net) which produces SpreadsheetML (Micorsofts current XML file Format). At present, I don't believe this handles creating a pivot table from scratch (you have to manually create the Pivot Table template, read in the template (with XELEM) and update the data values in the template before writing it out. (the same holds true for POI)
    3) Commercially the company I work for (www.workbeans.com) is writing a pure Java Pivot Table API that will allow you to create a Pivot Table in the Excel SpreadsheetML file format from scratch. (supported by Office 2000, XP and 2003). The Pivot table functionality isn't slated until a future release (Oct. 2005), so if you can wait until then we could help you further.
    Best,
    Eric
    M. Eric DeFazio
    Application Architect, workbeans
    [email protected]

  • How can I copy a iPhoto album onto a flashdrive along with the photo information?

    How can i copy an iPhoto album to a flashdrive along with photo information, in order to send it to a friend please?

    File -> Export. In the resulting dialogue you can choose to export the Original. Or, if you choose to export a Jpeg you can get the edited version. Check the boxes at 'Keywords and Descriptions' and 'Places Information' and you'll get the metadata, if that's what you mean by "photo information"
    Regards
    TD

  • How can I sync my Itunes between my iphone and ipad with the cloud?

    How can I sync my Iphone 4 and my Ipad 2 using the Cloud?

    Make sure they are both using iOS 5 or higher, then go to Settings>iCloud, sign in with your Apple ID to create the account and turn on the data you want to sync with iCloud.

  • How can I get a start-time modified song to play with the modification on my ipad2? The sync shows the modification.

    I shortened a song in my PC iTunes music library by using "get info" options and start time. The change shows up in my PC iTunes library for the song and after syncing, in my ipad2 music library when hooked up via USB. The song plays at original length on my ipad2. Weirdly enough, after syncing with my iPod, the song plays at the shortened length on the iPod. A previous sync with the ipad2 sent the shortened version to the iPad with no problems. The next time I synced, and 50 times later, all I got was the long version. It's a trivial matter but I need the song for a slide show presentation at a high school and the first few seconds of the song feature an expletive that I obviously can't use. Help! This is maddening.

    We are Apple users here, and we answer technical questions.
    Sorry, we cannot help you.

  • How can i  apply this  java program for  a jsp page?

    import java.io.*;
    import java.util.*;
    public class FileProcessing
      //create a vector container  for the input variables
         Vector variables = new Vector();
      //create a vector container for the constants
         Vector constants = new Vector();
      /*create a string expression container for the equation
         as read from the file */
         String expression = " ";
      //create double result container for the final result
         double result = 0;
         public boolean processFile(String filename,String delim)
          //index for values vector
              int num_values = 0;
          //index for constants vector
              int num_constants = 0;
          //current line being read from the external file.
              String curline = " ";
          //start reading from the external file
              try
                   FileReader fr = new FileReader(filename);
                   BufferedReader br = new BufferedReader(fr);
                   while(true)
                        curline = br.readLine();
                        if(curline == null)
                             break;
                    //determine the type of current interaction
                        boolean variable = curline.startsWith("input");
                        boolean constant = curline.startsWith("constant");
                        boolean equation = curline.startsWith("equation");
                        boolean output = curline.startsWith("result");
                   //on input variables
                        if(variable)
                          StringTokenizer st = new StringTokenizer(curline,delim);
                          int num = st.countTokens();
                          int count=0;
                          while(st.hasMoreTokens())
                               String temp = st.nextToken();
                               if(count==1)
                                    byte b[]= new byte[100];
                                    System.out.println(temp);
                                    System.in.read(b);
                                    String inputval = (new String(b)).trim();
                                    variables.add(num_values,inputval);
                                    num_values++;
                               count++;
                        // on constant values
                        if(constant)
                             StringTokenizer st = new StringTokenizer(curline,delim);
                             int num = st.countTokens();
                             int count = 0;
                             while(st.hasMoreTokens())
                                  String temp = st.nextToken();
                                  if(count==1)
                                       byte b[]= new byte[100];
                                       System.out.println(temp);
                                       System.in.read(b);
                                       String cons = (new String(b)).trim();
                                       constants.add(num_constants,cons);
                                       num_constants++;
                                  count++;
                        // on equation
                        if(equation)
                             StringTokenizer st = new StringTokenizer(curline,delim);
                             int num = st.countTokens();
                             int count = 0;
                             while(st.hasMoreTokens())
                                  String temp = st.nextToken();
                                  if(count==2)
                                       this.expression = temp;
                                  count++;
              // now we are ready to evaluate the expression
                       if(output)
                          org.nfunk.jep.JEP  myparser= new org.nfunk.jep.JEP();
                          myparser.setAllowAssignment(true);
                          for(int i=1;i<variables.size()+1;i++)
                             String name = "arg"+Integer.toString(i);
                             myparser.addVariable(name,new Double(variables.get(i-1)
                                                .toString()).doubleValue());
                          for(int i=1;i<constants.size()+1;i++)
                               String name = "arg" +Integer.
                                         toString(i+variables.size());
                               myparser.addConstant(name,new Double(constants.get(i-1).toString()));
                   //output is obtained as follows
                          myparser.parseExpression(expression);
                          result = myparser.getValue();
                          System.out.println("Assay value: "+result);
              catch(Exception e)
                   System.out.println(e.toString());
              return true;
         public static void main(String[] args)
              FileProcessing fp = new FileProcessing();
              fp.processFile("input.eqn",":");
    }//my text file name is: "input.eqn" (given below)
    input:Enter Value1:arg1
    input:Enter Value2:arg2
    input:Enter Value3:arg3
    constant:arg4
    constant:arg5
    Equation:arg1+arg2+arg3
    result:

    how can i apply this java program for a jsp pagewhy do you want to do this ?
    Your program reads from a file on the disk and formats based on a patterm.
    Jsp is not intended for such stuff.
    ram.

  • How to send the jsp page with the data as attachment

    hi
    my application is to display all the datas from the database.In the same page. i'm having a option to select mail address from the combo box and to send the page with the same format thru mail as an attachment .
    <%      String from="192.168.10.1";
              String to=request.getParameter("to");
              System.err.println(to);
              String mailhost="localhost";
             System.err.println("hiiiiiiiii");
              try
                   System.err.println("byeeeeeee");
                   Properties prop=System.getProperties();
                   prop.put("mail.smtp.host", mailhost);
                   Session ss=Session.getInstance(prop,null);
                System.err.println("session props");
                   Message message = new MimeMessage(ss);
                   System.err.println("message");
                   message.setFrom(new InternetAddress(from));
                   System.err.println("form not null");
                   message.addRecipient(Message.RecipientType.TO, new InternetAddress(to));
                   System.err.println("from and to r set");
                   message.setSubject("Hello JavaMail Attachment");
              // Create the message part
                   BodyPart messageBodyPart = new MimeBodyPart();
              // Fill the message
                   messageBodyPart.setText("have u got the attachement?");
                   Multipart multipart = new MimeMultipart();
                   multipart.addBodyPart(messageBodyPart);
              // Part two is attachment
                   messageBodyPart = new MimeBodyPart();
                   DataSource source = new FileDataSource("C:/Program Files/Apache Software Foundation/Tomcat 5.0/webapps/MgmtTool/emsReport.jsp");
                   messageBodyPart.setDataHandler(new DataHandler(source));
                   messageBodyPart.setFileName("emsReport.jsp");
                   multipart.addBodyPart(messageBodyPart);
              // Put parts in message
                   message.setContent(multipart);
                   System.err.println("ready");
              // Send the message
                   Transport.send(message);
                   out.println("mail was sent successfully");
              catch(Exception e)
              {out.println(e);}
              %>
    by using this code i 'm sending the emsreport page as attachment
    i'm recieving only the tabular format but i cant able to get those data which are present on that page
    i dont know wat to do???
    kindly help me
    thank u in advance

    Some of the points might help you in thinking towards right direction, you might already know this but doesn't look like you are following in your code anyway.
    1. The JSP that you are emailing is uncompiled source file. It need JVM environment to be able to run on.
    2. The JSP is a view technology so try to separate the view logic from the business.
    3. Try to put entire business logic in a Bean and use that in your JSP to start off with.
    You may need to write the HttpServletResponse#content on to the Writer and then persist it on the filesystem. and then send that persisted file as an attachment.
    Have a look at http://java.sun.com/j2se/1.5.0/docs/api/java/io/Writer.html
    It provide different type of writer implementations.
    HttpServletResponse#getWriter() provides PrintWriter instance.
    Does it make sense?

  • How can i use index in select query.. facing problem with the select query.

    Hi Friends,
    I am facing a serious problem in one of the select query. It is taking a lot of time to fetch data in Production Scenario.
    Here is the query:
      SELECT * APPENDING CORRESPONDING FIELDS OF TABLE tbl_summary
        FROM ztftelat LEFT JOIN ztfzberep
         ON  ztfzberep~gjahr = st_input-gjahr
         AND ztfzberep~poper = st_input-poper
         AND ztfzberepcntr  = ztftelatrprctr
        WHERE rldnr  = c_telstra_accounting
          AND rrcty  = c_actual
          AND rvers  = c_ver_001
          AND rbukrs = st_input-bukrs
          AND racct  = st_input-saknr
          AND ryear  = st_input-gjahr
          And rzzlstar in r_lstar                            
          AND rpmax  = c_max_period.
    There are 5 indices present for Table ZTFTELAT.
    Indices of ZTFTELAT:
      Name   Description                                               
      0        Primary key( RCLNT,RLDNR,RRCTY,RVERS,RYEAR,ROBJNR,SOBJNR,RTCUR,RUNIT,DRCRK,RPMAX)                                          
      005    Profit (RCLNT,RPRCTR)
      1        Ledger, company code, account (RLDNR,RBUKRS, RACCT)                                
      2        Ledger, company code, cost center (RLDNR, RBUKRS,RCNTR)                           
      3        Account, cost center (RACCT,RCNTR)                                        
      4        RCLNT/RLDNR/RRCTY/RVERS/RYEAR/RZZAUFNR                        
      Z01    Activity Type, Account (RZZLSTAR,RACCT)                                        
      Z02    RYEAR-RBUKRS- RZZZBER-RLDNR       
    Can anyone help me out why it is taking so much time and how we can reduce it ? and also tell me if I want to use index number 1 then how can I use?
    Thanks in advance.

    Hi Shiva,
    I am using two more select queries with the same manner ....
    here are the other two select query :
    ***************1************************
    SELECT * APPENDING CORRESPONDING FIELDS OF TABLE tbl_summary
        FROM ztftelpt LEFT JOIN ztfzberep
         ON  ztfzberep~gjahr = st_input-gjahr
         AND ztfzberep~poper = st_input-poper
         AND ztfzberepcntr  = ztftelptrprctr
        WHERE rldnr  = c_telstra_projects
          AND rrcty  = c_actual
          AND rvers  = c_ver_001
          AND rbukrs = st_input-bukrs
          AND racct  = st_input-saknr
          AND ryear  = st_input-gjahr
          and rzzlstar in r_lstar             
          AND rpmax  = c_max_period.
    and the second one is
    *************************2************************
      SELECT * APPENDING CORRESPONDING FIELDS OF TABLE tbl_summary
        FROM ztftelnt LEFT JOIN ztfzberep
         ON  ztfzberep~gjahr = st_input-gjahr
         AND ztfzberep~poper = st_input-poper
         AND ztfzberepcntr  = ztftelntrprctr
        WHERE rldnr  = c_telstra_networks
          AND rrcty  = c_actual
          AND rvers  = c_ver_001
          AND rbukrs = st_input-bukrs
          AND racct  = st_input-saknr
          AND ryear  = st_input-gjahr
          and rzzlstar in r_lstar                              
          AND rpmax  = c_max_period.
    for both the above table program is taking very less time .... although both the table used in above queries have similar amount of data. And i can not remove the APPENDING CORRESPONDING. because i have to append the data after fetching from the tables.  if i will not use it will delete all the data fetched earlier.
    Thanks on advanced......
    Sourabh

  • Can a standard Adobe ID Suite be installed on more than one computer? If not; how can an educator buy a second seat on another computer with the same educators account?

    Adobe requires an ID account to install software on a single computer. However I have a portable Mac as well as a desktop system. Can I install another copy with the monthly paid installation on the second computer or do I need to buy another seat with the same account?
    J-GM

    Hey tferm78!
    I have a couple of options for you to consider. First, you may simply want to authorize all of your computers for your iTunes account and turn on Automatic Downloads, so that when you download something on one computer, it will automatically download to other computers:
    iTunes Store: Authorize or deauthorize your Mac or PC
    http://support.apple.com/kb/ht1420
    iTunes Store: How to enable Automatic Downloads
    http://support.apple.com/kb/ht4539
    You could also look into iTunes Match, a service that would seamlessly link all of your iTunes libraries:
    Apple - iTunes - Match
    http://www.apple.com/itunes/itunes-match/
    Lastly, here is an article that will help you move your library from one computer to another, if you so desire:
    iTunes: How to move your music to a new computer
    http://support.apple.com/kb/ht4527
    Thanks for using the Apple Support Communities. Have a good one!
    -Braden

  • HT204022 My Pc downloaded all photos to ipad when I first synched it. Now ipad is full! How can I delete those photos as they were not taken with the ipad! Please...

    When I first bought my ipad and connected it to my PC ten years worth of photos were downloaded ont ipad. It is now full! Cannot delete them as they were not taken with the ipad. Can anyone tell me how to delete them? Apple Store been very unhelpful.
    Many thanks

    photos that were synced to the pad can only be deleted by re syncing.   When you do the resync, on your computer running i tunes, select the photo tab, and uncheck anything you do not want put back on your pad.

Maybe you are looking for

  • UPRE to replicate User Profiles and Managed Metadata to High Availability backup farm

    I'm working on a HA project, and have been tasked with replicating our User Profiles and Metadata to a newly created farm. I'll call the current production farm FarmA and the new HA farm FarmB. I've installed SharePoint2010AdministrationToolkit on Fa

  • Need help connecting to wi-fi at home........

    I just purchased an IPad 2 for my daughter.  I connect to wi-fi at home and nothing happens, no internet, no facebook, no safari, no itunes, no connection.  I t keeps telling me no internet connection.  It connects to wi-fi at my work and public plac

  • Adobe form Logo does not display

    hi Adobe masters, I  am trying to upload logo onto my adobe form.... I have inserted image but when i view from the output the logo is not displayed. when i right click the image i cannot see OBJECT to bind it. where have i gone wrong...how can i dis

  • "segmentation fault" after JNI_CreateJavaVM

    Who knows how to do with it?I have look through all the material that i can find,but the questions still remain.My platform is linux redhat 7.3,J2sdk 1.4.1 many thanks!

  • Has anyone integrated Google search in merged webhelp?

    Our web site has a Google search 'server' for users to search. We're going to be adding our Help system to the web site and want to leverage that search capbility in place of the native search provided by webhelp. We're currently using RoboHTML 7, bu