Frequent Use Data in JSPInit?

I have about 50 entries that from a table that I want to populate a <select> field in a jsp page. I ran a query and wrote the fields to a string array to use for the select, but the string was not recognized within the html scriptlet. I'm trying to avoid repeated queries for frequently use data to increase performance. Should variables initialized in init() be available in the main page? Any recommendations on an approach for this? Thanks.

One other approach I thought about was creating a class in JSPInit and an object for the 50 entries. Is this a workable approach?

Similar Messages

  • Using music app on my 4S uses data...why

    I see others have had this experience, but don't think my problem is solved. My provider keeps sending me messages that I'm going over my data usage and they are charging me additionally for the month. I couldn't understand this, so I downloaded My Data Manager. When i rec'd the data overage message again, I was able to see that my Music app was the culprit. This doesn't make sense to me. I buy the largest iPhone so I can keep all my tunes on it, and don't have to also have an iPod. I do not use iTunes match or cloud services of any kind. When we take a road trip, i plug it into my car's sound system via USB.   I don't want to put it in Airplane Mode to use it, as I sometimes need to use the maps (which I know uses data).  Not sure what is happening here. Suggestions?

    More on the subject above.  For a while, I just turned off my cellular data.  However, that doesn't make for a very smart phone.  I have it turned back on...used it yesterday to play 18 holes using GPS Golfshot.  That was fine...only used 2 mb of data.  When finished, I quit the program and turned off location services.  This morning, I'm checking my data manager, and it shows that today I have used 119 kb of mobile data.  But the phone hasn't left the house where I am always connected to the wireless.  What's using my data?  Here is a list of my apps that My Data Manager shows I have used today (remember, I'm wireless):
    Messages 34%  (have not sent or received any messages today)
    Mail 16% (have not checked my mail, and have manual turned on...no automatic download)
    Apple Push Service 16% (what is this?  I don't have any push services activated)
    Phone 8% (have not used my phone except to clear recent calls)
    iTunes Store Downloads (haven't downloaded or updated anything today)
    Media Download 7% (WHAT IS THIS? This may have been the culprit in my episode above...what is it                                    downloading?)
    My Data Mgr 5% (this I used)
    Settings 3% (no use today)
    Music 2% (no use today)
    Safari 1% (no use today)
    iCloud Sync Services 1% (should only happen over wireless, right?)
    Maps 1% (no use today and location services are turned off)
    just checked My Data Mgr after having my phone open to write the above: I've now used 601 kb of wi-fi and 129 kb of mobile data.  I clear out all running apps frequently.I've checked under Privacy and nothing is trying to locate me. 
    Can anyone help me understand my usage?
    On the day I mentioned in my first post, I used 28 mbs of data...all I did was listen to my music through the car speakers (which works in airplane mode), checked google maps a couple of times (no more than 5 -10 total minutes), wrote 4 or 5 texts to other iPhones and had 3 or 4 phone calls.  What used 28 mbs of data?

  • Why does "itunes accounts" use data with all settings OFF?

    Does anyone know how to keep "iTunes accounts" under system from using cellular data?
    I have already:
    1. Toggled OFF all settings in the "Use cellular data for" menu.
    2. Turned OFF all automatic downloads and any other options under iTunes/app store settings.
    3. Turned OFF Background App refresh.
    4. Turned OFF all options under iCloud sync menu.
    Right now, the only thing that keeps "iTunes accounts" from pulling cellular data is turning Cellular Data completely OFF, but I don't want to do this because I lose some messaging and voicemail functions and I need to be able to use Find My Phone. I have two identical iPhone 5c's on this account. One is running iOs 8.1.2 and the above settings control it's data usage nicely. The other phone is running iOs 8.1.3 and this one uses 50-100 mb a day even with all the above settings off and the phone almost always on wifi.
    I am aware that the phone will lose it's wifi connection when asleep, but that shouldn't be a problem if all the apps/settings are already set not to use cellular data. What am I missing. I've read a bunch of threads on this issue and they all suggest settings I already have OFF.

    My personal phone is on 8.1.2. My daughter's phone is 8.1.3.
    It is her phone that is currently having this problem, but I reported it under my account; sorry for the confusion.
    My phone has had some data problems in the past, but I have been able to control them by keeping almost all data options OFF and the overall switch ON. My usage is back to less than 50 mb per month which makes sense since my phone is almost always on wifi and I don't use data dense applications.
    Everything about my daughter's phone is the same as mine except for the 8.1.3 upgrade. She does use things like Instagram more than I do, but I have them all set to not use Cellular Data and the option to change these settings is locked. When I look at the usage on her phone, it isn't her apps that are pulling unexpected data; it's "iTunes accounts" under system services. All the options under iTunes/App Store (auto downloads, home sharing, etc.) and all the iCloud options are already OFF.

  • Can we load data in chunks using data pump ?

    We are loading data using data pump. So I want to clear my understanding.
    Please correct me if I am wrong on my understandings -
    ODI will fetch all data from source (whether it is INIT or CDC ) in one go and unload into staging area.
    If it is true, will performance hamper in case very huge data (50 million records at source) at source as ODI tries to load entire data in one go. I believe it will give better performance if we load in chunks using data pump.
    Please confirm and correct.
    Also I would like to know how can we configure chunk load using data-pump.
    Thanks in Advance.
    Regards,
    Dinesh.

    You may consider usingLKM Oracle to Oracle (datapump)
    http://docs.oracle.com/cd/E28280_01/integrate.1111/e12644/oracle_db.htm#r15c1-t2
    In 11g ODI reads from source and write to target in parallel. This is the case where you specify select query in source command and insert/update query in the target command. At source side Odi reads records from source and add them to a data queue. At target side a parallel thread reads data from the data queue and writes to the target. So the overall performance would be the slower of the read or write process.
    Thanks,

  • Item Cost Is not Updated when using Data Object OinventoryGenEntry in DTW

    Hello Everyone,               
    I'm using data transfer workbench (OInventoryGenEntry) to send the production to sap-bo. All The info that I entered in the layouts Documents.csv and Document_Lines.csv are correctly loaded, except the info related to the field "price". Do you know what changes should I apply to the layouts in order to make the DTW transfer the Item Price?
    (version: SAP Business One 2005A SP:01 PL:27)
    Thanks a lot
    Salomon Ponce
    Viniteck SA de CV
    Guadalajara, Jal. MEX

    Thank You Vincent. It works for finish goods that currently have cost in the sap-bo (taking std or avg) . Do you what should I do when the item is receiving the first-transation and it is an inventory entry coming from DTW ? Because when I test this conditions, the field "price" is ignored and when I check the inventory entry sent using dtw the recorded cost is "cero".
    Thank a lot
    Salomon Ponce

  • Unable to insert date and time when using date datatype

    Hi
    I am hitting a bit of a problem when using the date datatype. When trying to save a row to the table where the field it throws an error ora 01830 and complains about converting the date format picture ends...etc. Now when I do the insert, I use the to_date function with the format of "dd-mon-yyyy hh24:mi:ss". Of course, when I remove the time element, everything is perfect.
    Checking sysdate, I noticed that the time element wasn't be displayed, and I used alter session set nls_date_format to set the date and time I want to save to the table, which worked!
    Then based on advice in a previous thread to permanently fix the problem, I used alter system set nls_date_format ="dd-mon-yyyy hh24:mi:ss" scope=spfile; This showed that it was altered, and I can see the setting in the em. In sqlplus, I shutdown the database, and restarted with startup mount; alter database open; and then selecting sysdate, it still shows the date as dd-mon-yy, and still no time! Checking the em, and looking up the nls_date_format the setting is still shown as "dd-mon-yyyy hh24:mi:ss".
    So, my question is this - what am I doing wrong? Why can't save date and time using date in Oracle 11g?????
    Thanks

    user633278 wrote:
    Hi
    I am hitting a bit of a problem when using the date datatype. When trying to save a row to the table where the field it throws an error ora 01830 and complains about converting the date format picture ends...etc. Now when I do the insert, I use the to_date function with the format of "dd-mon-yyyy hh24:mi:ss". Of course, when I remove the time element, everything is perfect.
    Checking sysdate, I noticed that the time element wasn't be displayed, and I used alter session set nls_date_format to set the date and time I want to save to the table, which worked!
    Then based on advice in a previous thread to permanently fix the problem, I used alter system set nls_date_format ="dd-mon-yyyy hh24:mi:ss" scope=spfile; This showed that it was altered, and I can see the setting in the em. In sqlplus, I shutdown the database, and restarted with startup mount; alter database open; and then selecting sysdate, it still shows the date as dd-mon-yy, and still no time! Checking the em, and looking up the nls_date_format the setting is still shown as "dd-mon-yyyy hh24:mi:ss".
    So, my question is this - what am I doing wrong? Why can't save date and time using date in Oracle 11g?????
    ThanksYou most certainly can save the time. A DATE column, by definition stores date and time. What you describe is a presentation problem, and setting nls_date_format at the system as an init parm is the weakest of all settings as it is overridden by several other locations.
    without seeing the exact sql that produced the error (not just your description of what you think you were doing) it is impossible to say for sure.
    However, I'd suggest you read http://edstevensdba.wordpress.com/2011/04/07/nls_date_format/

  • Issue using data link in XML Publisher

    Dear All,
    I am new to XML Publisher, for the first time trying data link concept in XML Publisher tool. The issue is very simple, I have two queries Q1(say it fetches sales_order_number, application_name ) and Q2 (say it fetches sales_order_number , error_number, error_description). And sales_order_number is passed as input using data link to Query Q2 from query Q1 and Q2 will retrive more than one row for a given sales_order_number.
    Say for a given dept_name 1001 the output will be something similiar like
    Q1:
    SO# | Appl.Name
    1001 | 'Invoice '
    Q2:
    SO# | Error.# | Error Desc
    1001 | 1512 | No Data Found
    1001 | 1513 | Invalid Entry
    1001 | 2674 | Error while inserting the record
    and the query which I have used in XML template goes like this
    <dataQuery>
    <sqlStatement name="Q1">
    <![CDATA[select sales_order_number, application_name                 
                      from T1
                     where sales_order_number = :in_sales_order_num]]>
    </sqlStatement>
    <sqlStatement name="LINES">
    <![CDATA[
    select sales_order_number , error_number, error_description
    from T2]]>
    </sqlStatement>
    <link name="Dummy_LINK" parentQuery="Q1" parentColumn="sales_order_number" childQuery="Q2" childColumn="sales_order_number" condition="="/>
    </dataQuery>
    <daraStructure/>
    And the grouping is as follows
    <group name="G_Q1" source="Q1">     
         <element name="sales_order_number" value="sales_order_number"/>
         <element name="application_name" value="application_name"/>     
    <group name="G_Q2" source="Q2">
         <element name="sales_order_number" value="sales_order_number"/>
         <element name="error_number" value="error_number"/>
         <element name="error_description" value="error_description"/>     
    </group>
    </group>
    And in the RTF template I have properly used <?for-each:G_Q1?> <?for-each:G_Q2?>- --
    <?end for-each?><?end for-each?>
    Ideally the header (Q1) should have one row and the lines (Q2) should have 3 rows. But the issue here is even Q1 produces 3 rows.
    If in case Q2 has 4 records, then Q1 also plots 4 records in the report output. Hope I am explaining the issue correctly. Any help to resolve the issue would be a great. Thanks in advance.
    Regards,
    Antony.

    try like this
    <?if: (TYPE='A') or (TYPE= 'B')?><TABLE STRUCTURE><?end if?>
    or
    <?if:contains('A~B', TYPE )?><TABLE STRUCTURE> <?end if?>

  • Pinning frequently used sqls

    Hi all,
    Please let me know if the steps involved to pin frequently used sql statement in library cache to avoid reparsing
    Thanks for all your help.

    Frequently used SQL ought to be retained in the library cache without pinning. Oracle only starts flushing stuff from the cache once it's full and then it ages out the least-recently used queries.
    So, if you have a persistent problem with excessive reloading of frequently used queries you may need to reconsider the value of your shared_pool_size.
    Cheers, APC

  • Upload Excel sheet using Data Integrator 6.1?

    hi all ,
    Upload Excel sheet using Data Integrator? and how to create ODBC for the PC and jobserver i am using version 6.1? i am using excel as my one of the data source and tell me how to use different types of data sources in DI . after uploading the xl file if i apply any transform on the excel data i will give error like
    Posted: 25 Sep 2008 04:30
    Post subject: Re: Upload Excel sheet using Data Integrator? 
    I am getting the error like
    3128 292 CON-120302 09-25-08 09:59:40 ODBC call <SQLDriverConnect> for data source <sas> failed: <[Microsoft][ODBC Driver Manager] Data source name not found and no
    3128 292 CON-120302 09-25-08 09:59:40 default driver specified>. Notify Customer Support.
    1512 2992 CON-120302 09-25-08 09:59:41 ODBC call <SQLDriverConnect> for data source <sas> failed: <[Microsoft][ODBC Driver Manager] Data source name not found and no
    1512 2992 CON-120302 09-25-08 09:59:41 default driver specified>. Notify Customer Support.
    Please help me out
    Thank u

    Hi Shonti,
    The DI 11.7 installer can be used to upgrade a DI 6.1 local repository (e.g. the upgrade is supported).  This will migrate all jobs and flows.  They will remain intact, however, this is always a major migration effort and should not be taken lightly.  If you do upgrade, please make sure this is a planned effort with rigorous testing and validation.  You should also ensure that you consult the release notes and [supported platforms documentation|https://websmp110.sap-ag.de/~form/sapnet?_SHORTKEY=01100035870000712240&_SCENARIO=01100035870000000202] for the 11.7 package you intend to install.  The DI 11.7 documentation also contains info about how to install and configure the Excel Adapter, and what functionality it provides.
    Thanks,
    ~Scott

  • Why does my phone use data with cellular data turned off?

    I have problems with my iPhone 5 using data on its own. It usually happens at night, with all the apps closed and plugged in to charge (should be connected to my wifi). Recently, I started turning off my cellular data any time I'm at home out of desperation to save my data. Last night, my phone used 6MB of data with my data off, plugged in. I use My Data Manager to track, it matches up with AT&T's record of my data usage, so I'm pretty sure the app is not wrong. I have the 200MB plan, so I have to be very careful and it's incredibly frustrating to wake up and find 6MB gone when cellular data was turned off. Does anyone know what's going on?  I haven't bothered calling Apple or AT&T, I never get anywhere with either one.

    I'm not familiar with My Data Manager but from the name I would think it would tell you what app or apps have used the data and that might help narrow down the problem. If it doesn't have that information, you can go to Settings > Cellular > Use Cellular Data For and that shows usage by each app and if you click on System Services in that list it will also give details of that usage. The numbers are since you last reset the statistics (bottom of that screen). With a little time and detective work you may be able to identify the cause.
    Also, there have been many discussions on various internet forums of AT&T (and other) reporting of the time of data usage not matching the actual time of the use. The usage numbers over a number of days for example are accurate but usage reported at 2AM may actually be a summary of some types of use that happened the previous day.

  • How to get useful data from request?

    Hello.
    I am looking for creating a management tool for a web site. All I want is that is there any ready to use API or package or open source project for retrieving user�s information? I just mean that is there any easy to use way in java to get useful data from a client (for example location, his or her system configuration and information �).
    Thanks.

    If you dump all the data from request (see the javadoc, and especially the "header methods" ) you'll see the data you can get are quite simple.
    The only thing you can try to rely on are ;
    - the IP address from the sender (when reversed to DNS, you can sometime use the tld to locate the country it comes from. Yet, you'll get many .com name, so it's not that significant. it may also give you the IAP used). Note that if the user is using a proxy, it's the proxy IP that you'll collect
    - the User-Agent header : from this, you can guess the OS and the browser used
    - the Referer header : usefull to get where your user comes from (where they found a link to your site)
    - the Cookie header : if you're using a servlet container with session id stored in cookie, you should see the Cookie header appear on the second request to your site. That helps finding out wether your user accep cookie or not (from a server point).
    Besides these, i don't think you can get any other useful data without asking your users on a form. Note that it's the client that decides to send Referer, User-Agent or Cookie headers. Those are not mandatory to the Http Protocole and some browser allow their user to fool their content (butmore than 90% of the widespread browsers don't)

  • Issues with Using Data Dashboard and Using Web Service

    After running a system for many months it has suddenly decided to not work at all.  I am using Data Dashboard to read variables on a host.  I'll outline the system here to get a baseline:
    I'm running LV 2012 SP1 f5. 
    I collect data from one Ethernet port and interfact it to another Ethernet port to form a proxy.
    I use a fixed IP address from my DSL along with port forwarding/port triggering in my router for data observation and control.
    So, what have I done so far?
    1.  Repaired my original LV 2012 SP1 and tested system.
    2.  Upgraded to LV 2012 SP1 f5 and tested system.
    3.  Ran service.msc and checked all the NI services that should be operational.  Started and stopped several of them and rebooted computer.
    4.  Deployed all my SVs (multiple times)
    5.  Disconnected second Ethernet interface becasue sometimes the variables would deploy to this IP address.
    6.  Turned off my wireless because sometimes the variables would deploy to this IP address.
    7.  Checked "Web Server Configuration" "Application Web Server" for correct port number.
    8.  Checked "Web Services Management" and under "Deployed Web Services" there is one category:  SV is marked as running.  NOTE!!  WebService is NOT listed and this could be a problem
    I can use the following to retrieve data&colon;  localhost:<port number>/sv/variable.  But when I substitute my DSL IP number, I can no longer get any data.
    So, what am I missing?  
    Thanks,
    Paul.

    Siana,
    Thanks for your response.
    I haven't touched the NI code in months.  It is running on an XP laptop and I have the Windows updates turned off.  McAfee is running on it and of course that updates regularily.  This laptop is a dedicated machine that I only use for this function, nothing else.  I haven't added or subtracted any programs for many months.
    There have been no changes to the DSL from me.  AT&T is constantly trying to get us to upgrade to U-Verse but we have resisted.  All DSL modem and router hardware is the same.  
    Confusing, huh?

  • IPhone 5 using data all the time

    My husband has had his iPhone 5 for a couple of weeks.  We have Verizon 300 mb plan, as he is mainly just using it for calls and text.  But it is using data all the time!  Today our online Verizon account is showing 59 episodes of data usage.  They are small, but still, why are they there?  All he has done is call and text.  He would like to keep the cellular data on because he texts by talking to it.  He did not send anything close to 59 texts.n was not on the Internet.
    We have turned off practically everything.  Location services, stocks, weather, email, notifications for everything except text and calls.  Stopped it from sending data to Apple.  He has added only 4 apps- cam wow, talking bird, talking cat, and free cell solitaire.  Not signed in for iCloud or Facebook or anything.

    Is Digi a CDMA carrier? or is it GSM/UTMS?
    If CDMA, that's normal. The technology was not designed for data and calling.
    If its GSM, give them a call to seek resolution.

  • How to use data from standard view in Web dynpro for ABAP

    Hello:
    I have to create an Abap Web Dynpro, and I must use data from a standard view in the new one. Does anybody know what do I have to do?
    Thank you and have a happy new year.

    Hi Rodrigo,
    Firstly, list the Standard component under Component Usage of the Component which you are creating in your View.
    Second, In the Custom Component, view, goto context, and try to add the node from the Standard component in to your view.
    NOTE: The second step requires a Node in component controller of the Standard Component.
    Finally, Now in your view, get the data from that and map the data.
    NOTE: To do this, I think you need to call your Standard WDA first and then only your node contains data and it will be passed.
    I hope it is helpful.
    Regards,
    Shashikanth. D

  • Why do my 5c and 5s use data when I am on WiFi? And why does it show up in regular intervals of 6 hours? Very strange.

    I am really having problem controlling the data usage. It seems that iPhone 5c and 5s both use data when wifi is available. And plus, the data seems to be dumped all at once every 6 hours most of the time. I know I am neither uploading nor downloading 140MB over data at 7am. DOes anyone know how to control this?
    I switched off almost all background data usage (except messages). I am not on facebook etc. What is going on?

        Thanks for trying Jay's suggestion, zole. The iPhone should still be able to use WiFi to send and receive iMessages. By design though, Apple devices will turn off WiFi when the phone goes dormant (screen turns off) so if you are in the midst of downloading something or a new message comes in, the phone will be using the available mobile data by default.  You can turn cellular data on or off for individual applications http://vz.to/1IuZJIM instead of completely shutting off the cellular data. In that same section, you can see what applications may be using more cellular data than others to go into that specific app for settings (for example, if Facebook is using a lot of data, go into the application's settings and make sure the video autoplay is turned to WiFi only).
    JenniferH_VZW
    Follow us on Twitter www.twitter.com/vzwsupport

Maybe you are looking for