BSOD with my function key and hardware setup

I have this problem, it took me a entire day to pinpoint exactly what my problem is.  Well my Antivirus, I tired using different ones, Bitdefender and AVG, and they both seem to cause the same problem.  Everytime I press the function key I get this message:
Problem signature:
  Problem Event Name:    BlueScreen
  OS Version:    6.0.6002.2.2.0.256.1
  Locale ID:    1046
Additional information about the problem:
  BCCode:    a
  BCP1:    00000016
  BCP2:    0000001B
  BCP3:    00000000
  BCP4:    82E3B0B5
  OS Version:    6_0_6002
  Service Pack:    2_0
  Product:    256_1
Files that help describe the problem:
  C:\Windows\Minidump\Mini052010-01.dmp
  C:\Users\Bruno\AppData\Local\Temp\WER-83429-0.sysdata.xml
  C:\Users\Bruno\AppData\Local\Temp\WERB8E2.tmp.version.txt
Read our privacy statement:
  http://go.microsoft.com/fwlink/?linkid=50163&clcid=0x0409
I'm using Vista Ultimate 32 Bit with SP 2, I tested my memory and hardrive and there is no problem with it.  If I disable my antivirus the function key works, if I enable my AV it causes the BSOD.  It seems that there is a conflict with the Hardware setup and the TVAP issue.  I have the latest ones, but it seems that Toshiba won't come out with new drivers to fix this problem.  The only thing I can do now is disable my function key.  But I don't know if there is anything I could do.  Maybe modify the registry or something.  I cannot remove my AV as well.  I'm using both the Internet Security of it.
Solved!
Go to Solution.

Qosmio F50-10Z 
Try reinstalling these two utilities in this order. It sometimes helps to uninstall them first.
   Toshiba Flash Cards Support Utility for Windows Vista 32 Bit, 1.54.0.3C, 28/07/08
   Toshiba Value Added Package for Windows Vista 32 Bit, 1.1.19, 28/07/08
-Jerry

Similar Messages

  • I recently purchased some scripts and saved them as actions but wont work with assigned function key

    i could use some help ....i recently purchased some scripts to help automate things i do with scrapbooking.... i am using cs4 and have vista...i have made actions to make it easy to use the scripts.... i have assigned function keys to make it easy to use the actions... but it doesnt seem to work with the function keys...i can run the actions by pressing that arrow/button on the bottom of the action palette but when i hit the f key nothing happens..when i first got the scripts it did work.... but now it doesnt....i deleted the actions and made them again but still dont work with f keys...what could be the problem and what do you suggest i do...others who have purchased these same actions seem to be able to use them with the f keys.... thanks for any thoughts and suggestions

    think i may have solved it myself and passing this dum thing along....on my keyboard is flock...i mustve hit it and the keys were locked...so i hit it and now they work.... oh dear.

  • RE: RE: Function keys and droplists

    I had to implement the same problem in a window. I wanted Ctrl-F to be the
    same as the "Fetch" button. I forgot the SetAsFunctionKey existed, so I
    created a Menu choice with a shortcut of "Find." I have had no problems,
    when
    Ctrl-F is pressed the "menuWidget.activate" event is posted and no keystroke
    events are sent at all.
    Greg.Nyberg wrote>>>From: [email protected]
    Date: Tue, 26 Jan 1999 10:20:40 -0600
    Subject: RE: Function keys and droplists
    Also note that if you set a cntrl-<letter> as a function key, any time the
    user types that letter (without the cntrl) in any entry field on the window,
    the field gets an "aftervaluechange" event fired. Normally aftervaluechange
    doesn't fire until after you leave the field... This caused us significant
    problems in the use of cntrl-<letter> key combinations, since we were
    validating the contents of fields as the user left them in some cases. We
    went back to only using the upper-row function keys, avoiding F1 (help) and
    F10 which have undesirable side effects as you describe. F4 is also a
    problem as it tends to open droplists before getting processed as a function
    key, but we could live with that.
    - -Greg
    -----Original Message-----
    From: Thomas Kunst [SMTP:[email protected]]
    Sent: Tuesday, January 26, 1999 3:18 AM
    To: [email protected]
    Cc: Ostlund, Scott CWT-MSP
    Subject: Re: Function keys and droplists
    It is a general problem with the SetAsFunctionKey method that the
    default behaviour of the key - which is present if you do not call
    SetAsFunctionKey - is not disabled after the key is used as function
    key. We have this problem under Windows: the F10 key has a default
    behaviour of activating the window's menu. Now if you set F10 as
    function key, the corresponding Forte event is posted to the window
    but
    the menu is still activated. Forte refuses to acknowledge this as a
    bug,
    but maybe requests from several people can convince them ...
    Ostlund, Scott CWT-MSP wrote:
    >
    > Picture a grid with a bunch of widgets within it. Inside this
    grid there is
    > a 'Find' button accelerated with the letter 'F'. Also inside
    there is a
    > droplist. When the user places focus on the droplist and hits
    Ctrl+F to
    > shortcut the find button the method to handle the button click is
    called but
    > the droplist changes to the first element beginning with the
    letter 'F' as
    > well. Does anyone know of a way to not change the droplist when I
    am
    > handling the letter 'F' as a function key?
    Dr. Thomas Kunst mailto:[email protected]
    sd&m GmbH & Co. KG http://www.sdm.de
    software design & management
    Thomas-Dehler-Str. 27, 81737 Muenchen, Germany
    Tel +49 89 63812-221 Fax -444
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive
    <URL:http://pinehurst.sageit.com/listarchive/>
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    I had to implement the same problem in a window. I wanted Ctrl-F to be the
    same as the "Fetch" button. I forgot the SetAsFunctionKey existed, so I
    created a Menu choice with a shortcut of "Find." I have had no problems,
    when
    Ctrl-F is pressed the "menuWidget.activate" event is posted and no keystroke
    events are sent at all.
    Greg.Nyberg wrote>>>From: [email protected]
    Date: Tue, 26 Jan 1999 10:20:40 -0600
    Subject: RE: Function keys and droplists
    Also note that if you set a cntrl-<letter> as a function key, any time the
    user types that letter (without the cntrl) in any entry field on the window,
    the field gets an "aftervaluechange" event fired. Normally aftervaluechange
    doesn't fire until after you leave the field... This caused us significant
    problems in the use of cntrl-<letter> key combinations, since we were
    validating the contents of fields as the user left them in some cases. We
    went back to only using the upper-row function keys, avoiding F1 (help) and
    F10 which have undesirable side effects as you describe. F4 is also a
    problem as it tends to open droplists before getting processed as a function
    key, but we could live with that.
    - -Greg
    -----Original Message-----
    From: Thomas Kunst [SMTP:[email protected]]
    Sent: Tuesday, January 26, 1999 3:18 AM
    To: [email protected]
    Cc: Ostlund, Scott CWT-MSP
    Subject: Re: Function keys and droplists
    It is a general problem with the SetAsFunctionKey method that the
    default behaviour of the key - which is present if you do not call
    SetAsFunctionKey - is not disabled after the key is used as function
    key. We have this problem under Windows: the F10 key has a default
    behaviour of activating the window's menu. Now if you set F10 as
    function key, the corresponding Forte event is posted to the window
    but
    the menu is still activated. Forte refuses to acknowledge this as a
    bug,
    but maybe requests from several people can convince them ...
    Ostlund, Scott CWT-MSP wrote:
    >
    > Picture a grid with a bunch of widgets within it. Inside this
    grid there is
    > a 'Find' button accelerated with the letter 'F'. Also inside
    there is a
    > droplist. When the user places focus on the droplist and hits
    Ctrl+F to
    > shortcut the find button the method to handle the button click is
    called but
    > the droplist changes to the first element beginning with the
    letter 'F' as
    > well. Does anyone know of a way to not change the droplist when I
    am
    > handling the letter 'F' as a function key?
    Dr. Thomas Kunst mailto:[email protected]
    sd&m GmbH & Co. KG http://www.sdm.de
    software design & management
    Thomas-Dehler-Str. 27, 81737 Muenchen, Germany
    Tel +49 89 63812-221 Fax -444
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive
    <URL:http://pinehurst.sageit.com/listarchive/>
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

  • Re: Function keys and droplists

    It is a general problem with the SetAsFunctionKey method that the
    default behaviour of the key - which is present if you do not call
    SetAsFunctionKey - is not disabled after the key is used as function
    key. We have this problem under Windows: the F10 key has a default
    behaviour of activating the window's menu. Now if you set F10 as
    function key, the corresponding Forte event is posted to the window but
    the menu is still activated. Forte refuses to acknowledge this as a bug,
    but maybe requests from several people can convince them ...
    Ostlund, Scott CWT-MSP wrote:
    >
    Picture a grid with a bunch of widgets within it. Inside this grid there is
    a 'Find' button accelerated with the letter 'F'. Also inside there is a
    droplist. When the user places focus on the droplist and hits Ctrl+F to
    shortcut the find button the method to handle the button click is called but
    the droplist changes to the first element beginning with the letter 'F' as
    well. Does anyone know of a way to not change the droplist when I am
    handling the letter 'F' as a function key?--
    Dr. Thomas Kunst mailto:[email protected]
    sd&m GmbH & Co. KG http://www.sdm.de
    software design & management
    Thomas-Dehler-Str. 27, 81737 Muenchen, Germany
    Tel +49 89 63812-221 Fax -444
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    Also note that if you set a cntrl-<letter> as a function key, any time the
    user types that letter (without the cntrl) in any entry field on the window,
    the field gets an "aftervaluechange" event fired. Normally aftervaluechange
    doesn't fire until after you leave the field... This caused us significant
    problems in the use of cntrl-<letter> key combinations, since we were
    validating the contents of fields as the user left them in some cases. We
    went back to only using the upper-row function keys, avoiding F1 (help) and
    F10 which have undesirable side effects as you describe. F4 is also a
    problem as it tends to open droplists before getting processed as a function
    key, but we could live with that.
    -Greg
    -----Original Message-----
    From: Thomas Kunst [SMTP:[email protected]]
    Sent: Tuesday, January 26, 1999 3:18 AM
    To: [email protected]
    Cc: Ostlund, Scott CWT-MSP
    Subject: Re: Function keys and droplists
    It is a general problem with the SetAsFunctionKey method that the
    default behaviour of the key - which is present if you do not call
    SetAsFunctionKey - is not disabled after the key is used as function
    key. We have this problem under Windows: the F10 key has a default
    behaviour of activating the window's menu. Now if you set F10 as
    function key, the corresponding Forte event is posted to the window
    but
    the menu is still activated. Forte refuses to acknowledge this as a
    bug,
    but maybe requests from several people can convince them ...
    Ostlund, Scott CWT-MSP wrote:
    >
    > Picture a grid with a bunch of widgets within it. Inside this
    grid there is
    > a 'Find' button accelerated with the letter 'F'. Also inside
    there is a
    > droplist. When the user places focus on the droplist and hits
    Ctrl+F to
    > shortcut the find button the method to handle the button click is
    called but
    > the droplist changes to the first element beginning with the
    letter 'F' as
    > well. Does anyone know of a way to not change the droplist when I
    am
    > handling the letter 'F' as a function key?
    Dr. Thomas Kunst mailto:[email protected]
    sd&m GmbH & Co. KG http://www.sdm.de
    software design & management
    Thomas-Dehler-Str. 27, 81737 Muenchen, Germany
    Tel +49 89 63812-221 Fax -444
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive
    <URL:http://pinehurst.sageit.com/listarchive/>
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

  • Switch function keys and Fkeys

    The default use of the F-keys is for the functions such as brightness and volume. How do I switch function keys and F-keys so the F keys are the default, especially for programs that I can assign custom keystrokes such as in Adobe InDesign. Thanks

    Hi, Shut down the notebook.  Tap away at the esc key as you start the notebook to enter the Start-up Menu.  Select the Bios option ( f10 ), then make the change shown in the document on the following link. http://h10025.www1.hp.com/ewfrf/wc/document?docname=c02035108&cc=us&dlc=en&lc=en&jumpid=reg_R1002_US... Regards, DP-K

  • Function Keys and Mouse Right Click Stopped Working On New iMac

    I bought a new iMac a couple of days ago and everything was working fine until last night when I noticed that the volume up/down function keys and also the mouse right click no longer worked.
    For the mouse I tried turning off the right click option and back on again and also tried another mouse which has the same problem.  Both work ok on a MBP which I have.
    I have tried doing the normal SMC and PRAM resets which doesn't solve the problem.
    One program which I installed after I got the computer was Logmein which screwed up my audio settings.  After uninstalling that my audio settings are ok but I was wondering if the program could also have changed some other settings.
    Any ideas would be greatly appreciated.

    Have you checked the System/Keyboard preference pane to see if the Function key option is checked?
    OT

  • Satellite L305D-S5895 - Functions keys and WLan don't work with Win XP

    Hi,
    first sorry for my english
    I bought a Toshiba Satellite l305d s5895, with winXP, because I need software, but the function keys doesn't works.
    So I need a driver, but i can't find it, and the internet wireless doesn't work.

    >Where would one find this special XP BIOS?
    In my opinion there is problem because most threads here are about European notebook models. so then come question from US. Toshiba Europe and Toshiba US don't work together and every of them is responsible for own models and offer support for country specific notebook models.
    So here in Europe Toshiba has for most models offered two BIOSes. One was already on the Vista delivered notebooks. On download page Toshiba has offered BIOS for WXP. in most cases it was version 5.xx and this BIOS was designed to support Toshiba specific tools and utilities. For example, full FN keys functionality was available with this WXP BIOS only.
    So if someone of you have US notebook model they should see how to find the solution with Toshiba US or US forum under http://community.compuserve.com/n/pfx/forum.aspx?webtag=ws-laptop&redirCnt=1
    Bye and good luck!

  • Problem with Keyboard function keys.

    Hey guys, let me start by saying I'm not a novice when it comes to computers, I'll be able to understand most of what you guys say here. My function keys are working perfectly fine... when I hold fn with F10 or any other button with controls it will move the desktop away in a quick and timely manner. However, if I try to use the key with just the speaker function it does not respond until MUCH later if at all.
    I have been having numerous headaches with Lion. This issue did not arise previously with Snow Leopard. Keyboard Setup Assistant also appears at bootup although I have nothing plugged in what-so-ever. Couple of things I've tried (I've found many threads about this and this seems to be the answer that is commonly given, but doesn't work for most of these people):
    1) I reset my PRAM a few times.
    2) I tried it with the Use function keys button checked and unchecked. This is happening straight from a fresh install.
    3) I deleted preferences and had them remade.
    This goes for Brightness, Keyboard Brightness, Dashboard, volume and track controls. Thanks for your help...

    Without knowing which verison of OS X is installed it's difficult to say what you have done. However in ML open System Preferences - Keyboard - uncheck Use all F1, F2 etc. keys as standard function keys

  • Ideapad U430p, Swap function keys and my cat

    So I bought the U430p and after installing the complete system new, I am quite happy with it. Obviously my cat also. I disabled in the Bios the Hotkey that I don't have to press all the time Fn+one of the function keys to access these. However, I read this forum and several others asked also this question, however my cat must have found a hidden key combination to swap the Fn keys back after stepping or sleeping on my notebook. It happened already 2 times, that I pressed F2 (to rename a file) and the loudness was going down. F5 and the window closes. So I went back to the BIOS and to my surprise the Hotkey was still disabled(!). So I enabled it and disabled it again, Exit and save settings and all was back to normal. Pressing the Decrease Volume was F2 again, so I could rename w/o pressing the Fn key. Until 2 days ago, same situation, cat stepped at night on the notebook and I had to suffer again that selecting F2 was only possible with the Fn Key. Bios same, Hotkey was still disabled. My question is now: what is the secret hotkey in Windows (or login screen) to swap the Fn keys. If my cat can do it, I wanna do it also Cheers Tom

    I have the same problem, and I really can't understand why do they do such things! I even can't get a normal answer from Lenovo about it. I like Thinkpads, they are great designed & they have a lot of unique features, most of them could be customized, exept this! Why??? I can't belive that it's so hard to remap 2 buttons using BIOS! The problem is that the FN key doesn't generate a scan code, which could be recognized by the software, i tried numerous programs to remap the FN button, but it's useless. You can do it only in 2 ways: 1. mechanical - to swap them fisically, but it's hard, dangerous & the warranty will be lost of course. 2. BIOS remapping which can be done only by Lenovo or maybe by somobody, who can hack the BIOS. So, Dear Lenovo Experts PLEASE do this feature for us, we REALLY neeed it! We need it much more than "keyboard customizer", more than "easy eject", more than "media center" becouse we use the left CTRL button every minute, working on your notebook!

  • Problem with push email key and adding mailbox

    There seems to be a strange problem with the email key. I added my gmail account initially but then i deleted it. I don't see any mailbox in the email setup, but i still receive notification on recieving a new email. But when I press the push email key on the home screen to open my inbox, it takes me to the email setup. I tried adding a mailbox, but when i select "add mailbox" the screen becomes whitish and nothing happens.
    I need to add my gmail account again. Please help me with this. Thanks!

    1. Predictive text can only be enabled in alphanumeric keypad, but from testing the QuickOffice 6 on the 5800 (same app used for both phones), It cannot use predictive text. Its not in the typing options. Furthermore, if you would be using the qwerty keyboard on the mini, predictive text AFAIK cannot be used.
    2. If using "vodaphone live" is giving an error in ALL applications, then it is not the fault of your phone but of the "vodaphone live" settings not being compatible to your phone. I assumed that it was only for email that it did not work. A similar case was one on T-mobile, wherein the T-mobile GPRS settings were incorrect which leads to the same issue as you do. The fix was to configure GPRS settings manually. You can also take it to vodaphone for them to configure it themselves.
    3. As I said, unless we find out what is different from the files that can play and cannot I cannot help you. Its not like I can check the files themselves. You can try attaching two each of the working files and non working files here for some of us to test on our phones.
    If you find my post helpful please click the green star on the left under the avatar. Thanks.

  • Strange behavior with the tab key and multiple users

    Hello,
    I'm stuck on this problem and none of the usual trouble-shooting techniques have yielded results, so perhaps someone will point me the right direction.
    I have an Intel iMac running 10.3.9 with two user accounts, and in one of the accounts the tab key fails to advance the cursor from field to field in any application, be it a browser, mail client, etc. The tab key works otherwise, I can switch between applications using apple tab, for instance. The other user account works fine. The keyboard & Mouse preferences are identical on both user accounts. In fact, after creating a new user account it too had no tabbing from field to field either, which would seem to indicate that it is not a problem in an individual account. Repairing the permissions did not help, and even a recent archive and install failed to change this. Anyone know where to look for an answer? Thanks in advance...
    iMac 2GHz Intel Core 2 Duo Mac OS X (10.4.9)

    I did a wholesale replacement of the preferences folder from the working account to the non-working one, and after going through the welcome screens and re-setting a variety of preferences (setting up mail.app again, etc...), the tab key is functioning as expected in all applications. Thanks!

  • Function Keys and Power Commands Don't Respond

    I've encountered an odd intermittent problem with my iBook G3 900. On certain boots the following issues crop up:
    - Function keys are non-responsive. Expose, Volume, Brightness, and Eject all stop working.
    - Power button doesn't respond. Also, software power commands don't respond. The only way to shut down the system is to do a force shutdown by holding down the power button for four seconds (or other unpleasant things like unplugging the power and the battery, which I refuse to do except under the most dire circumstances).
    - "About This Mac" refuses to load. Sometimes I see the window appear, but it parks itself at the top left of the screen where I can't get to the window bar, and Expose obviously doesn't help.
    Now as I said, this problem is intermittent. It only seems to occur on certain boots, but it's incomprehensibly annoying when it does appear. The iBook is a secondary system, so I have barely anything on it and I don't do anything crazy with as far as software goes. All I know is that the problem appeared after I rebooted after installing SideTrack, but try as I can I can't seem to link my problem with aforementioned app. If the problem does assert itself, I force a shutdown, and it goes away on the next boot.
    Any thoughts?
    iBook G3 900 Dual USB   Mac OS X (10.4.7)  

    Hi, and welcome to Apple Discussions.
    One of the first troubleshooting procedures to try when you are seeing operational anomalies is to reset the PMU.
    What is the hard drive capacity and how much space remains available on it? Sometimes strange things start to happen when you get down to less than 5 GB of free hard drive space.

  • Tecra A3 Keyboard Function keys and Microsoft Comfort Keyboard

    I have a Tecra A3 and are using it with a Microsoft Comfort keyboard. The problem is that ever since the keyboard drivers have been installed the function keys (i.e. Fn + F2 to change power mode) now carry out additional funcitons i.e Fn + F2 also brings up the My Pictures folder. The strangest on is turning the wirelss network card on or off with the switch on the front of the notebook. This has the additional effect of loading an extra copy of MS Outlook each time it is swithed.
    I have the latest version of Microsoft IntelliType Pro (version 5.20.412.0)
    Any idea on how to solve this?

    Hi
    Sorry but you have not explained do you have this problem now using notebook keyboard or external one.
    If the problem persists using an external one I think that you can not use Toshiba FN+FX key combinations. Every external keyboard is specific one and in my opinion you should check users manuals and check also all additional functions. I am also pretty sure that you are able to configure some special keys on your own.
    The issue with WLAN switcher is very strange. Try to remove Microsoft specific software and check if the functionality is like before.

  • Please Help::How to display a Map with LIsts as Keys and Values using JSTL

    Hi,
    I need some assistance on how to display a Map in JSP using struts or core JSTL. I have a HashMap which has a List of keys and each key maps to a value of an ArrayList.i.e I have an ArrayList of taxCodes and each taxCode maps to a value of taxDetails which is an ArrayList of details for for that particular taxCode. I have some trouble to display each taxCode then display taxDetails for each taxCode. Here is my code below:
    OrderDetails.java
    package orderitems;
    import java.sql.*;
    import java.util.*;
    public class OrderDetails {
        private LineOder lineOrder;
        private Map lineItems;
        //returns an item number, key_item, from its unique keys
        public int getItemNumber(int key_item, String key_year,
                String key_office,String key_client,String key_company){
            Connection conn = null;
            Statement stat = null;
            ResultSet rst = null;
            int itmNum = 0;
             * key_item a unique number for an item.
             * key_year,key_office,key_client,key_company unique keys
             * for each order where this key_item is taken
             * from.
            String select = "SELECT key_item FROM "+
                    Constants.WEB_TABLE +" WHERE key_item = " + key_item +
                    " AND key_year = '" + key_year + "'" +
                    " AND key_office = '" + key_office + "'" +
                    " AND key_client = '" + key_client + "'" +
                    " AND key_company = '" + key_company +"'";
            DbConnection dbConn = new DbConnection();
            try {
                conn = dbConn.getDbConnection(Constants.WEB_JNDI);
                stat = conn.createStatement();
                rst = stat.executeQuery(select);
                if(rst.next()){
                    itmNum = Integer.parseInt(rst.getString("key_item"));
            } catch (SQLException ex) {
                ex.printStackTrace();
            } finally{
                SQLHelper.cleanUp(rst, stat, conn);
            return itmNum;
        //get a list of item number(item codes)
        public List getAllItemNumbers(String key_year,
                String key_office,String key_client,String key_company){
            List itemNumbers = new ArrayList();
            LineItem itemNumber = null;
            Connection conn = null;
            Statement stat = null;
            ResultSet rst = null;
            String select = "SELECT key_item FROM "+ Constants.WEB_TABLE +
                    " WHERE key_year = '" + key_year + "'" +
                    " AND key_office = '" + key_office + "'" +
                    " AND key_client = '" + key_client + "'" +
                    " AND key_company = '" + key_company + "'";
            DbConnection dbConn = new DbConnection();
            try {
                conn = dbConn.getDbConnection(Constants.WEB_JNDI);
                stat = conn.createStatement();
                rst = stat.executeQuery(select);
                while(rst.next()){
                    itemNumber = new LineItem();
                    itemNumber.setKey_item(Integer.parseInt(rst.getString("key_item")));
                    itemNumbers.add(itemNumber);
            } catch (SQLException ex) {
                ex.printStackTrace();
            } finally{
                SQLHelper.cleanUp(rst, stat, conn);
            return itemNumbers;
        //get a list of tax codes
        public List getAllTaxCodes(int key_item, String key_year,
                String key_office,String key_client,String key_company){
            Connection conn = null;
            Statement stat = null;
            ResultSet rst = null;
            ItemTax taxCode;
            List taxCodes = new ArrayList();
            int itemNum = getItemNumber(key_item, key_year,
                    key_office,key_client,key_company);
            String select = "SELECT key_tax_code FROM "+
                    Constants.WEB_TABLE +" WHERE key_item = " + itemNum +
                    " AND key_year = '" + key_year + "'" +
                    " AND key_office = '" + key_office + "'" +
                    " AND key_client = '" + key_client + "'" +
                    " AND key_company = '" + key_company +"'";
            DbConnection dbConn = new DbConnection();
            try {
                conn = dbConn.getDbConnection(Constants.WEB_JNDI);
                stat = conn.createStatement();
                rst = stat.executeQuery(select);
                while(rst.next()){
                    taxCode = new ItemTax();
                    taxCode.setKey_tax_code(rst.getString("key_tax_code"));
                    taxCodes.add(taxCode);
            } catch (SQLException ex) {
                ex.printStackTrace();
            } finally{
                SQLHelper.cleanUp(rst, stat, conn);
            return taxCodes;
        /////This methode returns a Map which am trying to display in JSP
        //use tax code to get tax details
        public Map getItemTaxDetails(String key_year,String key_office,
                String key_client,String key_company,int key_item){
            ItemTax taxDetail = null;
            List taxDetails = new ArrayList();
            List itemTaxCodes = new ArrayList();
            Map itemTaxDetails = new HashMap();
            Connection conn = null;
            Statement stat = null;
            ResultSet rst = null;
            //get a list of all tax codes of an item with a
            //given item number
            itemTaxCodes = getAllTaxCodes(key_item,key_year,
                    key_office,key_client,key_company);
            DbConnection dbConn = new DbConnection();
            try {
                conn = dbConn.getDbConnection(Constants.WEB_JNDI);
                stat = conn.createStatement();
                for(Iterator taxCodeIter= itemTaxCodes.iterator(); taxCodeIter.hasNext();){
                    ItemTax itemTaxCode = (ItemTax)taxCodeIter.next();
                    String taxCode = itemTaxCode.getKey_tax_code();
                    String select = "SELECT tax_type,tax_value," +
                            "tax_limit_val FROM "+ Constants.WEB_TABLE +
                            " WHERE key_item = "+ key_item +
                            " AND key_year = '" + key_year + "'" +
                            " AND key_office = '" + key_office + "'" +
                            " AND key_client = '" + key_client + "'" +
                            " AND key_company = '" + key_company +"'" +
                            " AND key_tax_code = '" + taxCode + "'";
                    rst = stat.executeQuery(select);
                    while(rst.next()){
                        taxDetail = new ItemTax();
                        //records to be displayed only
                        taxDetail.setKey_item(Integer.parseInt(rst.getString("key_item")));
                        taxDetail.setTax_value(rst.getString("tax_value"));
                        taxDetail.setTax_limit_val(Float.parseFloat(rst.getString("tax_limit_val")));
                        //////other details records ommited//////////////////////////
                        taxDetails.add(taxDetail);////An ArrayList of taxDetails for each taxCode
                     * A HashMap which has all taxCodes of an item as its keys
                     * and an ArrayList of taxdetails as its values.
                     * I return this for display in a JSP.
                    itemTaxDetails.put(taxCode,taxDetails);
                System.out.println();
                System.out.println("*********CONSOLE OUTPUT*************");//display on console
                Set set = itemTaxDetails.keySet();
                Iterator iter = set.iterator();
                System.out.println("Key\t\tValue\r\n");
                while (iter.hasNext()) {
                    Object taxCode=iter.next();
                    Object details=itemTaxDetails.get(taxCode);
                    System.out.println(taxCode +"\t" + details);
                System.out.println("************************************");
            } catch (SQLException ex) {
                ex.printStackTrace();
            } finally{
                SQLHelper.cleanUp(rst, stat, conn);
            return itemTaxDetails;
        //details of an item with all its taxes
        public List getAllItemDetails(String key_year,
                String key_office,String key_client,String key_company){
            List lineItems = new ArrayList();
            List itemNumbers = new ArrayList();
            Map taxDetails = new HashMap();
            LineItem item = null;
            Connection conn = null;
            Statement stat = null;
            ResultSet rst = null;
            //A list of all item numbers in the declaration
            itemNumbers = getAllItemNumbers(key_year,
                    key_office,key_client,key_company);
            DbConnection dbConn = new DbConnection();
            try {
                conn = dbConn.getDbConnection(Constants.WEB_JNDI);
                stat = conn.createStatement();
                for(Iterator itemIter= itemNumbers.iterator(); itemIter.hasNext();){
                    LineItem itemNum = (LineItem)itemIter.next();
                    int itemNumber = itemNum.getKey_item();
                    String select = "SELECT item_description,item_mass," +
                            "item_cost" +
                            " FROM " + Constants.WEB_TABLE +
                            " WHERE key_year = '"+key_year+"'" +
                            " AND key_office = '"+key_office+ "'"+
                            " AND key_client = '"+key_client+ "'"+
                            " AND key_company = '"+key_company+ "'"+
                            " AND key_item = " + itemNumber;
                    rst = stat.executeQuery(select);
                    while(rst.next()){
                        item = new LineItem();
                        item.setItem_description(rst.getString("item_description"));
                        item.setItem_mass(Float.parseFloat(rst.getString("item_mass")));
                        item.setKey_item(Integer.parseInt(rst.getString("item_cost")));
                        //////other details records ommited//////////////////////////
                        /* A HashMap of all itemTaxeCodes as its keys and an
                         * ArrayList of itemTaxedetails as its values
                        taxDetails = getItemTaxDetails(item.getKey_year(),item.getKey_office(),
                                item.getKey_client(),item.getKey_company(),item.getKey_item());
                        //item tax details
                        item.setItmTaxes(taxDetails);
                        //list of items with tax details
                        lineItems.add(item);
            } catch (SQLException ex) {
                ex.printStackTrace();
            } finally{
                SQLHelper.cleanUp(rst, stat, conn);
            return lineItems;
        public Set getOrders(String key_year,String key_office,
                String key_client,String key_company){
            List lineItems = new ArrayList();
            Set lineOrders = new HashSet();
            Connection conn = null;
            Statement stat = null;
            ResultSet rst = null;
            LineOder lineOrder = null;
            String select = "SELECT * FROM " + Constants.WEB_TABLE +
                    " WHERE key_year = '" + key_year + "'" +
                    " AND key_office = '" + key_office + "'" +
                    " AND key_client = '" + key_client + "'" +
                    " AND key_company = '" + key_company + "'";
            DbConnection dbConn = new DbConnection();
            try {
                conn = dbConn.getDbConnection(Constants.WEB_JNDI);
                stat = conn.createStatement();
                rst = stat.executeQuery(select);
                while(rst.next()){
                    lineOrder = new LineOder();
                    lineOrder.setKey_year(rst.getString("key_year"));
                    lineOrder.setKey_office(rst.getString("key_office"));
                    lineOrder.setKey_client(rst.getString("key_client"));
                    lineOrder.setKey_company(rst.getString("key_company"));
                    ////list of items with all their details
                    lineItems = getAllItemDetails(lineOrder.getKey_year(),lineOrder.getKey_office(),
                            lineOrder.getKey_client(),lineOrder.getKey_company());
                    //setting item details
                    lineOrder.setItems(lineItems);
                    //a list of order with all details
                    lineOrders.add(lineOrder);
            } catch (SQLException ex) {
                ex.printStackTrace();
            } finally{
                SQLHelper.cleanUp(rst, stat, conn);
            return lineOrders;
    Controller.java
    package orderitems;
    import java.io.*;
    import java.util.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class Controller extends HttpServlet {
        private Map taxDetails = new HashMap();
        private OrderDetails orderDetails = null;
        protected void processRequest(HttpServletRequest request,
                HttpServletResponse response)throws
                ServletException, IOException {
            response.setContentType("text/html;charset=UTF-8");
            String key_year = "2007";
            String key_office = "VZX00";
            String key_company = "DG20";
            String key_client =  "ZI001";
            int key_item = 1;
            String nextView = "/taxdetails_list.jsp";
            orderDetails = new OrderDetails();
            taxDetails = orderDetails.getItemTaxDetails(key_year,key_office,
                    key_company,key_client,key_item);
            //Store the collection objects into HTTP Request
            request.setAttribute("taxDetails", taxDetails);
            RequestDispatcher reqstDisp =
                    getServletContext().getRequestDispatcher(nextView);
            reqstDisp.forward(request,response);
        protected void doGet(HttpServletRequest request,
                HttpServletResponse response)throws
                ServletException, IOException {
            processRequest(request, response);
        protected void doPost(HttpServletRequest request,
                HttpServletResponse response)throws
                ServletException, IOException {
            processRequest(request, response);
    taxdetails_list.jsp
    <%@page contentType="text/html"%>
    <%@page pageEncoding="UTF-8"%>
    <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
        <head>
            <title>Simple Tax Detail Diaplay ::</title>
            <link rel="stylesheet" type="text/css" href="imgs/orders.css"/>
        </head>
        <body>
            <jsp:useBean id="taxDetails" class="java.util.HashMap" scope="request"/>
            <table>
                <c:forEach items="${taxDetails}" var="hMap">
                    <tr>
                        <td><c:out value="${hMap.key}" /></td>
                        <!--td><%--c:out value="${hMap.value}" /--%></td-->
                    </tr>
                </c:forEach>
            </table>
        </body>
    </html>am displaying taxCodes(in this case i have VAT and ICD) fine but cant figure out how to display a list of value for each taxCode.Here is the output am getting
    both in my JSP and on the console:
    *******************************CONSOLE OUTPUT****************************
    Key          Value
    ICD     [orderItems.ItemTax@13e6226, orderItems.ItemTax@9dca26]
    VAT [orderItems.ItemTax@13e6226, orderItems.ItemTax@9dca26]
    Edited by: aiEx on Oct 8, 2007 6:54 AM

    hi evnafets,
    yes i need a nested for loop.I have tried your advice but my bean properties are not found.Am getting this error:
    javax.servlet.ServletException: Unable to find a value for "key_item" in object of class "java.lang.String" using operator "."
    I have tried this as stated earlier in the post:I have tried to make the method getItemTaxDetails return a List and get the returned list value as taxDetails. I then tested to display this list on JSP and its displaying fine.
    public List getItemTaxDetails(String key_year,String key_office,
                String key_client,String key_company,int key_item){
            ItemTax taxDetail = null;
            List taxDetails = new ArrayList();
            List itemTaxCodes = new ArrayList();
            Map itemTaxDetails = new HashMap();
            Connection conn = null;
            Statement stat = null;
            ResultSet rst = null;
            //get a list of all tax codes of an item with a
            //given item number
            itemTaxCodes = getAllTaxCodes(key_item,key_year,
                    key_office,key_client,key_company);
            DbConnection dbConn = new DbConnection();
            try {
                conn = dbConn.getDbConnection(Constants.WEB_JNDI);
                stat = conn.createStatement();
                for(Iterator taxCodeIter= itemTaxCodes.iterator(); taxCodeIter.hasNext();){
                    ItemTax itemTaxCode = (ItemTax)taxCodeIter.next();
                    String taxCode = itemTaxCode.getKey_tax_code();
                    String select = "SELECT tax_type,tax_value," +
                            "tax_limit_val FROM "+ Constants.WEB_TABLE +
                            " WHERE key_item = "+ key_item +
                            " AND key_year = '" + key_year + "'" +
                            " AND key_office = '" + key_office + "'" +
                            " AND key_client = '" + key_client + "'" +
                            " AND key_company = '" + key_company +"'" +
                            " AND key_tax_code = '" + taxCode + "'";
                    rst = stat.executeQuery(select);
                    while(rst.next()){
                        taxDetail = new ItemTax();
                        //records to be displayed only
                        taxDetail.setKey_item(Integer.parseInt(rst.getString("key_item")));
                        taxDetail.setTax_value(rst.getString("tax_value"));
                        taxDetail.setTax_limit_val(Float.parseFloat(rst.getString("tax_limit_val")));
                        //////other details records ommited//////////////////////////
                        taxDetails.add(taxDetail);////An ArrayList of taxDetails for each taxCode
                     * A HashMap which has all taxCodes of an item as its keys
                     * and an ArrayList of taxdetails as its values.
                     * I return this for display in a JSP.
                    itemTaxDetails.put(taxCode,taxDetails);
            } catch (SQLException ex) {
                ex.printStackTrace();
            } finally{
                SQLHelper.cleanUp(rst, stat, conn);
            //return itemTaxDetails;
            return taxDetails;
        }And my JSP
    taxdetails_list.jsp
    <%@page contentType="text/html"%>
    <%@page pageEncoding="UTF-8"%>
    <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
            <link rel="stylesheet" type="text/css" href="imgs/orders.css"/>
        </head>
        <body>
            <table>
                <c:forEach var="curRecord" items="${taxDetails}" varStatus="rowCounter">
                        <c:choose>
                            <c:when test="${rowCounter.count % 2 == 0}">
                                <c:set var="rowStyle" scope="page" value="odd" />
                            </c:when>
                            <c:otherwise>
                                <c:set var="rowStyle" scope="page" value="even" />
                            </c:otherwise>
                        </c:choose>
                        <tr class="${rowStyle}">
                            <td>${curRecord.key_item}</td>
                            <td>${curRecord.tax_value}</td>
                            <td>${curRecord.tax_limit_val}</td>
                        </tr>
                    </c:forEach>
            </table>
        </body>
    </html>I can't see where am going wrong even with your advice.Please help.
    Thnx.

  • The fn/function key and Safari causing it to freeze! Help!!

    Hi there, I'm a new user to Mac, just got my Macbook today. I have a problem with my safari. I was trying to group a few pictures together in a folder with the shift key but I accidentally pressed the "fn" key and some other key I'm not sure which and this has caused my safari to freeze, or rather when I click on any buttons or tabs it just gives me the error sound and it will not close. I've tried to restart or shut down my mac but it wouldn't let me because it says to shut down safari before I can shut down the Macbook. I've tried everything to try to shut it down but it can't because everytime I click on something on safar I just get the error sound! I can't even click to open a new window. I've been trying and trying and I dunno what is it that I did with the "fn" key thats made it this way! Please help! Thank you!

    Force Quit Safari
    Command-Option-Escape
    -OR-
    Apple Menu -> Force Quit
    -OR-
    Dock -> Option-Click -> Force Quit
    If that does not work, then you can always power-off the Mac (NOT desirable, but sometimes it is needed, I just hope the Force Quit works). To power off, press and hold the power button for 5 to 10 seconds, and this will power off your Mac.

Maybe you are looking for

  • Alpha channel and ProRes 4444

    I have a number of AE files that I would like to render in Media Encoder with their alpha channels using the ProRes 4444 codec. I cannot figure out how to make ME give me an alpha channel. If I render in AE, I get the alpha channel without a problem.

  • BW Navigation Attributes

    Hey, all, I'm just checking myself here - We have a BW 3.5 system. We have 0GL_ACCOUNT set as authorizationally relevant. We have a object (Z_GLACCT) created and set with various value ranges for the different GL account sets. The user reported an is

  • Keyboard covers for macbook pro 15" unibody

    Is there a website i can find quality keyboard covers for my Macbook pro 15" unibody for the following programs: Final Cut Pro Adobe (photoshop, after effects) I also was looking around for a clear hard case.. is this one a good one? anyone have sugg

  • Problem opening

    windows vista:   IE 9:   reader 10.1.9 message:    cannot open in protected mode due to a problem with system configuration this either from the browser, or just trying to open from reader from the desk top thanks

  • I am constantly prompted to verify my password for my ATT (Yahoo) email account in Mail.

    Every frew minutes I am prompted to reenter/verify my ATT email account in Mail.  This has been working flawlessly until a few weeks ago.  I tried deleting and recreating the account with no success. ATT uses Yahoo to host their email and I use the i