Need sugestions to solve this annoying problem

Hey everyone, after many hours i decided to ask for your help.
Here's the problem.
I have two txt. files one of them has :
1st txt:
Barcelona 14 20 // Airport , x and y (coord.)
Caliornia 30 40
Paris 2 15
Fiji 20 23
and the 2nd txt file has:
40 // number of flights for exemple
C 0025 Barcelona California // type, number, Start point , destiny
A 0045 California fiji
C 0032 Barcelona Paris
C 0047 Paris Barcelona
A 0078 fiji Paris
C 0065 California Barcelona
So what im trying to do is if the type is "C" (Comercial) catch the coordenates from the start point and the arrived point...to do that i think we must compare (don't know how) those strings with the other strings from the 1st txt file, because the coordenates are inside the first txt. file. I need to catch the coordenates from the start point and from the destiny point, so we can't give a line , beacause it must be a dynamic way , this operation must result to any txt. file (2nd one) it can has 5 flights or 50 flights, just has to
return all the coordenates ( x1 y1 ) and (x2 y2) .
Any sugestion?
What i already did, was to insert all the names into a String [ ] , and then inserted into a LinckedList , so its like: e.g String word [ ] :
word[0] has all the names word [1] has all the xx's , word[2] the yy's this for the 1st txt file.
For the 2nd , i did the same thing but this one has four columns.
another String [ ] ...words [0] has all the types , words[ 2] the start points and words [3] the destiny point.
Need a serious help with this thing.
[[]] thanks everyone!!

loop through file 2 adn check if first word[0] is a C
if it is a C get file2.word[2] and lopp through file1 and check if file2.word[2] is equal to file1.word[0]
if equal save file1.word[1] in a new arrary or something
then get file2.word[3] and lopp through file1 and check if file2.word[3] is equal to file1.word[0]
if equal save file1.word[1] in a new arrary or something
i guess thats someting you are looking for

Similar Messages

  • When mousing over text, the cursor flickers constantly (with each letter passed) from arrow to i-beam and back.  The problem occurs in both MS Word and Pages.  Any idea of how to resolve this annoying problem is appreciated.  System: 10.10.1

    When mousing over text, the cursor flickers constantly (with every letter passed) from arrow to i-beam and back.  The problem occurs in both MS Word 2011 and Pages.  Any idea of how to solve this annoying problem will be much appreciated.  System 10.10.1 on a MacPro (Late 2013)

    The mouse is controlled by the OS so don't guess any app other than a mouse driver or OS X itself would be able to cause this sort of flicker issue.
    Have you seen the following and is it what you are seeing? Maybe you could make a movie (Quicktime is great for this this to make a screen recording) - but not sure how to attach a movie to these discussions as mine is grayed out and can't be selected (to the right of the insert image). Here is the what I found for a search of "mouse cursor flickers os x yosemite"
         https://www.youtube.com/watch?v=ZNQ0D84DdF4
    What kind of mouse are you using? Is the mouse driver up to date if it's a third party mouse?

  • My wi-fi button greyd out after iOS 6.1 update. Any sugestions to solve this problem?

    My wi-fi button greyd out after iOS 6.1 update. Any sugestions to solve this problem?

    IOS: Wi-Fi or Bluetooth settings greyed out or dim.
    http://support.apple.com/kb/TS1559

  • Since updating to 10.4 getting error message on startup 'AppleSyncNotifier.exe – Entry Point Not Found, The procedure entry point xmlTextReaderConstName could not be located in the dynamic link library libxml2.dll.'. How do I fix this annoying problem?

    Since updating to 10.4 I've been getting this error message on computer startup
    'AppleSyncNotifier.exe – Entry Point Not Found
    The procedure entry point xmlTextReaderConstName could not be located in the dynamic link library libxml2.dll.'.
    Please help me fix this annoying problem?
    belle

    This is the fix I got from discussions and it worked for me.  It is copied below.  I just did the manual fix which I have underlined. Good luck! Regards, Belle.
    This can occur because libmxl2.dll is not in your C:\Program Files\Common Files\Apple\Mobile Device Support folder.
    There have been some issues with this and other dlls not being in the right place (or not being everywhere they should be) since the 10.3.1.55 iTunes update.
    However, I note that the 10.4 iTunes update is now out - surprisingly quickly - so try installing that, rebooting, and see if your issue is solved.
    If it isn't, though, here's the manual fix:-
    With Windows Explorer, navigate to your C:\Program Files\Common Files\Apple\Apple Application Support folder.
    Copy the libmxl2.dll that you should find there, navigate to the nearby Mobile Device Support folder, and Paste it in there also.
    Reboot and see if all is well.
    I actually had the issue with SQLite3.dll, and the above fix worked for me (I found it in an April 2010 posting!).
    I passed on the fix as above for the similar issue with libmxl2.dll to someone who had exactly your problem, and he reported that it fixed it for him.

  • Since I upgraded to iOS 7.0.4 on my iPad 3, battery capacity has drained almost 10%/hour without any use of the device. Prior to the upgrade, the battery charge would hold during periods of inactivity. What can I do to solve this significant problem?

    Since I upgraded to iOS 7.0.4 on my iPad 3, my battery capacity has drained almost 10% per hour without any use of the device. Prior to the upgrade, the battery charge would hold during periods of inactivity. What can I do to solve this significant problem? Is there a way to uninstall iOS 7.0.4 and return to the previous version?

    Downgrading isn't supported.
    You can poke around in the settings. There's a lot of stuff defaulted to on that you may not need, such as notifications.
    You can also look into background app refresh and background app updates. They can be running in the background and drain your battery.

  • I need a solution of this complicated problem to finalize my final project

    Introduction
    This project revolves around an important text processing task, text compression. In particular, you will be required to encode a sequence of words read from a source file into binary strings (using only the characters 0 and 1). It is important to note that text compression makes it possible to minimize the time needed to transmit text over a low-bandwidth channel, such as infrared connection. Moreover, text compression is helpful in storing large documents more efficiently. The coding scheme explored in this project is the Huffman Coding Scheme. While standard encoding schemes, such as Unicode and ASCII, use fixed-length binary strings to encode characters, Huffman coding assigns variable-length codes to characters. The length of a Huffman code depends on the relative frequency of its associated character. Specifically, Huffman coding capitalizes on the fact that some characters are used more frequently than others to use short codewords when encoding high-frequency characters and long codewords to encode low-frequency characters. Huffman coding saves space over state of the art fixed-length encoding and is therefore at the heart of file compression techniques in common use today. Figure 1 shows the relative frequencies of the letters of the alphabet as they appear in a representative sample of English documents.
    Letter     Frequency     Letter     Frequency
    A     77     N     67
    B     17     O     67
    C     32     P     20
    D     42     Q     5
    E     120     R     59
    F     24     S     67
    G     17     T     85
    H     50     U     37
    I     76     V     12
    J     4     W     22
    K     7     X     4
    L     42     Y     22
    M     24     Z     2
    Figure 1. Relative frequencies for the 26 letters of the alphabet.
    Huffman coding and decoding
    Huffman’s algorithm for producing optimal variable-length codes is based on the construction of a binary tree T that represents the code. In other words, the Huffman code for each character is derived from a full binary tree known as the Huffman coding tree, or simply the Huffman tree. Each edge in the Huffman tree represents a bit in a codeword, with each edge connecting a node with its left child representing a “0” and each edge connecting a node with its right child representing a “1”. Each external node in the tree is associated with a specific character, and the Huffman code for a character is defined by the sequence of bits in the path from the root to the leaf corresponding to that character. Given codes for the characters, it is a simple matter to use these codes to encode a text message. You will have simply to replace each letter in the string with its binary code (a lookup table can be used for this purpose).
    In this project, you are not going to use the table given in Figure 1 to determine the frequency of occurrence per character. Instead, you will derive the frequency corresponding to a character by counting the number of times that character appears in an input file. For example, if the input file contains the following line of text “a fast runner need never be afraid of the dark”, then the frequencies listed in the table given in Figure 2 should be used per character:
    Character          a     b     d     e     f     H     i     k     n     O     r     s     t     u     v
    Frequency     9     5     1     3     7     3     1     1     1     4     1     5     1     2     1     1
    Figure 2. The frequency of each character of the String X.
    Based on the frequencies shown in Figure 2, the Huffman tree depicted in Figure 3 can be constructed:
    Figure 3. Huffman tree for String X.
    The code for a character is thus obtained by tracing the path from the root of the Huffman tree to the external node where that character is stored, and associating a left edge with 0 and a right edge with 1. In the context of the considered example for instance, the code for “a” is 010, and the code for “f” is 1100.
    Once the Huffman tree is constructed and the message obtained from the input file has been encoded, decoding the message is done by looking at the bits in the coded string from left to right until all characters are decoded. This can be done by using the Huffman tree in a reverse process from that used to generate the codes. Decoding the bit string begins at the root of the tree. Branches are taken depending on the bit value – left for ‘0’ and right for ‘1’ – until reaching a leaf node. This leaf contains the first character in the message. The next bit in the code is then processed from the root again to start the next character. The process is repeated until all the remaining characters are decoded. For example, to decode the string “0101100” in the case of the example under study, you begin at the root of the tree and take a left branch for the first bit which is ‘0’. Since the next bit is a ‘1’, you take a right branch. Then, you take a left branch (for the third bit ‘1’), arriving at the leaf node corresponding to the letter a. Thus, the first letter of the coded word is a. You then begin again at the root of the tree to process the fourth bit, which is a ‘1’. Taking 2 right branches then two left branches, you reach the leaf node corresponding to the letter f.
    Problem statement
    You are required to implement the Huffman coding/decoding algorithms. After you complete the implementation of the coding/decoding processes, you are asked to use the resulting Java code to:
    1.     Read through a source file called “in1.dat” that contains the following paragraph:
    “the Huffman coding algorithm views each of the d distinct characters of the string X as being in separate Huffman trees initially with each tree composed of a single leaf node these separate trees will eventually be joined into a single Huffman tree in each round the algorithm takes the two binary trees with the smallest frequencies and merges them into a single binary tree it repeats this process until only one tree is left.”
    2.     Determine the actual frequencies for all the letters in the file.
    3.     Use the frequencies from the previous step to create a Huffman coding tree before you assign codes to individual letters. Use the LinkedBinaryTree class that we developed in class to realize your Huffman coding trees.
    4.     Produce an encoded version of the input file “in1.dat” and then store it in an output file called “out.dat”.
    5.     Finally, the decoding algorithm will come into play to decipher the codes contained in “out.dat”. The resulting decoded message should be written to an output file called “in2.dat”. If nothing goes wrong, the text stored in “in1.dat” and the one in “in2.dat” must match up correctly.

    jschell wrote:
    I need a solution of this complicated problem to finalize my final project The solution:
    1. Write code
    2. Test code3. If test fails, debug code, then go to step 2.

  • How can i solve this replication problem between TT and ORACLE

    Hi
    I have an application that using AWT cashgroup implement the replication between TT (7.0.6.7) and ORACLE(10g);
    but i encounter this problem:
    16:16:50.01 Err : REP: 2302682: ABM_BAL_WH:meta.c(4588): TT5259: Failed to store Awt runtime information for datastore /abm_wh/abm_bal_ttdata/abm_bal_wh on Oracle.
    16:16:50.02 Err : REP: 2302682: ABM_BAL_WH:meta.c(4588): TT5107: TT5107: Oracle(OCI) error in OCIStmtExecute(): ORA-08177: can't serialize access for this transaction rc = -1 -- file "bdbStmt.c", lineno 3726, procedure "ttBDbStmtExecute()"
    16:16:50.02 Err : REP: 2302682: ABM_BAL_WH:receiver.c(5612): TT16187: Transaction 1316077016/357692526; Error: transient 0, permanent 1
    the isolation level of my date store is read-committed ,and the sys.ODBC.INI file is also set Isolation=1(readcommitted mode)
    so ,I still wonder how the error ORA-08177!
    how can i solve this replication problem?
    thank you.

    I suspect this is failing on an UPDATE to the tt_03_reppeers table on Oracle. I would guess the TT repagent has to temporarily use serializable isolation when updating this table. Do you have any other datastores with AWT cachegroups propagating into the same Oracle database? Or can you identify if some other process is preventing the repagent from using serializable isolation? If you google ORA-08177 there seem to be ways out there to narrow down what's causing the contention.

  • I give up! I need help to solve this problem.

    Just a heads up you will need coffee.
    Please this is driving me mad and I cannot solve it I really, really can't! So here it is in a nutshell because I'm done! With trying to solve this by myself because clearly I'm not getting it.
    So here is my understanding in short say 101 of networking put simply just as a base of understanding..... you get a IP from your ISP with a gateway IP in a subnet range and within that range you ARP to send from your IP to another IP in that range for the MAC (technically this MAC can still be the ISP gateway MAC and route by IP without knowing MAC for that other IP in your subnet but....works either way) and to send from your IP to an IP out side the subnet your in you send to the ISP gateway MAC where it will be routed.
    This is from windows 7 and when you ARP that MAC e6-1f-6d-6c-db-da is my ISP for all of 10. for all of 172.16. to 172.31. for all of 192.168. and 169.254. replys with that MAC every-single-one! From a request by ARP IP sender like 77.96.238.3 (if that was my IP) in 255.255.254.0 for them target IP's! (except the ones in the subnet of the subnet your in) The reply comes from my ISP gateway basically saying for sending to IP's in 10. for all of 172.16. to 172.31. for all of 192.168. and 169.254. is over where my ISP gateway IS! ITS NOT!
    C:\Windows\system32>arp -a
    Interface: 77.96.238.3 --- 0x13
    Internet Address    Physical Address      Type
    10.0.0.1                e6-1f-6d-6c-db-da      dynamic ]< NOT
    10.0.0.2                e6-1f-6d-6c-db-da      dynamic ]<-NOT
    10.0.0.3                e6-1f-6d-6c-db-da      dynamic ]<-NOT
    10.0.0.4                e6-1f-6d-6c-db-da      dynamic ]<-NOT
    77.96.238.1           e6-1f-6d-6c-db-da      dynamic      }-OK
    77.96.238.2           9d-d3-6d-4d-ad-c5      dynamic     }-OK
    77.96.238.4           20-8e-f2-0a-ef-c1      dynamic       }-OK
    77.96.238.5           4c-d3-3d-cd-7f-cd      dynamic      }-OK
    77.96.238.6           80-e5-2a-c4-7e-31      dynamic     }-OK
    77.96.239.0           0c-b0-5d-09-d5-01      dynamic     }-OK
    77.96.239.2           50-1f-33-4b-bd-05      dynamic      }-OK
    77.96.239.3           8c-b0-5d-15-d0-79      dynamic     }-OK
    77.96.239.4           1c-d3-6d-ea-5c-0d      dynamic     }-OK
    77.96.239.5           60-e5-2a-c8-94-59      dynamic     }-OK
    172.16.0.0           e6-1f-6d-6c-db-da      dynamic ]< NOT
    172.16.0.1           e6-1f-6d-6c-db-da      dynamic ]<-NOT
    172.16.0.2           e6-1f-6d-6c-db-da      dynamic ]<-NOT
    172.16.0.3           e6-1f-6d-6c-db-da      dynamic ]<-NOT
    192.168.0.0         e6-1f-6d-6c-db-da      dynamic ]<-NOT
    192.168.0.1         e6-1f-6d-6c-db-da      dynamic ]<-NOT
    192.168.0.2         e6-1f-6d-6c-db-da      dynamic ]<-NOT
    192.168.0.3         e6-1f-6d-6c-db-da      dynamic ]<-NOT
    224.0.0.22           01-00-5e-00-00-16     static
    224.0.0.252         01-00-5e-00-00-fc      static
    224.1.1.1             01-00-5e-01-01-01     static
    255.255.255.255   ff-ff-ff-ff-ff-ff                static
    The XP TCP/IP stack does not do this and you might think that my windows 7 has a problem it does not because the TCP/IP stack in windows 7 is a rebuild of what the TCP/IP stack was like in XP but whats done is done and that how the windows 7 TCP/IP stack is and that should be a eye opener as to why nothing has been done about this but thats just me saying that but its not really a TCP/IP stack problem. So is that my ISP problem? The answer is no because even if my ISP did not reply you still can send requests from a valid IP like 77.96.238.3 to your ISP a ARP with a target IP that does not and should not exist out to your ISP gateway like 192.168.0.1 yet you can.
    The simple fact is this there is no, none and nothing to make a ACL for ARP to drop the target/sender IP's for the 0806 Ethertype.
    And I have tried this Dynamic ARP Inspection with both DHCP Snooping/Relay and ARP Inspection in a two port VLAN on the right port for this Trusted Interface to be on and Enabled VLANs for ARP Inspection is set with ARP Inspection Status & ARP Packet Validation enabled and in DHCP Snooping/Relay with DHCP Snooping Status & Verify MAC Address enabled and VLAN set for DHCP Snooping. Does not stop this.
    Maybe just maybe if the DHCP Snooping looked at the Option 1 & 3 for the Subnet Mask & Router to know the range that the ARP Inspection can drop ARP for target IP's outside that range because like I said to send from your IP to an IP outside the subnet your in you send to the ISP gateway MAC where it will be routed only then would that Dynamic ARP Inspection work as I was hoping for but sadly no.
    So please tell me why I can't simply drop ARP for given target/sender IP's is their another way (and NAT is not a solution) that ideally makes ARP for from 77.96.238.3 as the sender for a request for a target IP of 10. for all of 172.16. to 172.31. for all of 192.168 and 169.254. NOT reach my ISP BUT allows ARP from 77.96.238.3 as the sender for a request for a target IP within the given subnet to my ISP for a reply.
    A million THANK YOU to anyone for helping me with this

    I really do not get why providing a config would help because if you have a config that does what I need should it not be you to provide a config or tell me how? Why not tell me how if you know how? because I need to understand how if you know what I need to do.
    But here is how its setup:
    Administration
    System Mode L3
    VLAN Management
    Default VLAN Settings 20
    GE1-GE7 and GE10 VLAN 20 Trunk Untagged with GE8-GE9 Forbidden
    GE8-GE9 VLAN 10 Trunk Untagged with GE1-GE7 and GE10 Forbidden
    IP Configuration
    IPv4 Interface VLAN 20 Static 192.168.1.254 255.255.255.0 Valid
    DHCP Snooping/Relay
    DHCP Snooping Status: Enable - ticked
    Verify MAC Address: Enable - ticked
    Interface Settings
    VLAN 10 DHCP with Snooping Enable - ticked
    DHCP Snooping Trusted Interfaces
    GE9 Trusted Interface Yes
    GE1-GE8 and GE10 Trusted Interface No
    ARP Inspection
    ARP Inspection Status: Enable - ticked
    ARP Packet Validation: Enable- ticked
    Interface Settings
    GE9 Trusted Interface Yes
    GE1-GE8 and GE10 Trusted Interface No
    VLAN Settings
    Enabled VLANs VLAN 10
    Access Control
    IPv4-Based ACL – note this is based on Ethertype 0800 it will not help me drop ARP which is Ethertype 0806 this really does not help it really does not but works for 0800 not for 0806 Ethertype.
    Dropsetin
    Dropsetintoout
    IPv4-Based ACE for Dropsetin
    Priority---------Action--Protocol------Source IP Address----------Destination IP Address
    100--------------Deny---Any (IP)------Any-----------Any --------------192.168.0.0--0.0.255.255
    101--------------Deny---Any (IP)------192.168.0.0--0.0.255.255-------Any----------Any
    102--------------Deny---Any (IP) -----Any------------Any--------------10.0.0.0-------0.255.255.255
    104--------------Deny---Any (IP)------Any------------Any--------------172.16.0.0----0.15.255.255
    105--------------Deny---Any (IP)------172.16.0.0----0.15.255.255----Any------------Any
    106--------------Deny---Any (IP)------Any------------Any--------------169.254.0.0---0.0.255.255
    107--------------Deny---Any (IP)------169.254.0.0---0.0.255.255-----Any------------Any
    2147483647---Permit--Any (IP) -----Any------------Any---------------Any-----------Any
    IPv4-Based ACE for Dropsetintoout
    Priority---------Action--Protocol------Source IP Address----------Destination IP Address
    100--------------Deny---Any (IP)------Any-----------Any --------------192.168.0.0--0.0.255.255
    101--------------Deny---Any (IP)------192.168.0.0--0.0.255.255-------Any----------Any
    102--------------Deny---Any (IP) -----Any------------Any--------------10.0.0.0-------0.255.255.255
    103--------------Deny---Any (IP) -----10.0.0.0-------0.255.255.255---Any------------Any
    104--------------Deny---Any (IP)------Any------------Any--------------172.16.0.0----0.15.255.255
    105--------------Deny---Any (IP)------172.16.0.0----0.15.255.255----Any------------Any
    106--------------Deny---Any (IP)------Any------------Any--------------169.254.0.0---0.0.255.255
    107--------------Deny---Any (IP)------169.254.0.0---0.0.255.255-----Any------------Any
    2147483647---Permit--Any (IP) -----Any------------Any---------------Any-----------Any
    ACL Binding for Dropsetin
    GE9
    ACL Binding for Dropsetintoout
    GE8
    And added a IPv6-Based ACL not that thiers any piont yet.
    And added rules for modem status Source IP 192.168.100.1 0.0.0.0 Source port 80 Dropsetin before 192.168.0.0 drop and Destination IP 192.168.100.1 0.0.0.0 Destination port 80 before 192.168.0.0 drop in Dropsetintoout 
    Message was edited by: Peter __

  • Anyone ever successfully solved this strange problem in Time Machine?

    Hi Folks,
    I have a intel imac running snow leopard (10.6.8) and have a problem I can't seem to solve, and Applecare is having trouble also.
    I am trying to do a time machine backup from scratch.  I had a previous well-functioning TM backup, but it was trying to do what I thought was an inappropriately large backup and I decided to start afresh.  So I went to my external firewire drive and trashed the backup folder.  I then re-selected the drive as the backup disc for TM and started over.  The backup always stops at 16.13g of a 350+ g backup.  There are no error messages...it just sticks there and says "backing up".
    To solve this I have tried reformatting the drive in several different paradigms (GUID, Journaled, Nonjournaled, case-sensitive, etc).  I even bought a new external drive thinking that might have the problem....it still sticks at the same place.  I have also trashed the TM preference files....no difference.  Repaired permissions....no change. I even did a archive and reinstall of the OS with preserved user settings.....still gets stuck at the same place.
    Does anyone know anything else I could try short of doing a complete re-install of the OS with erasure of all my settings?.... I would really like to avoid that if at all possible.
    Many thanks for any ideas.

    This is a tough one. 
    Since you get the same results with 2 different backup drives, it sure sounds like something amiss on the internal's directory structure, but Disk Utility should have found that. 
    About all I can think of is to try to exclude whatever's causing the problem from being backed-up.   If we can manage to do that, then you can try to fix or replace the culprit.
    Backups are done alphabetically, starting with your Applications folder, then Library, private (hidden), System, and Users (there are a few other, very small, hidden system folders, too).
    So . . . we need to figure out where 16.1 GB's falls in that sequence.  See how large each of those folders is, via the Finder or Get Info. Do this as an Admin user, but even so, there are some files and folders you're not authorized to, so the numbers won't be exact.
    To see the private folder, you'll need to have the Finder show invisible items;  there's a Terminal command for that, but it's probably just as easy to use the TinkerTool app, per #A3 of Time Machine - Troubleshooting.
    Then open a Finder window to your internal HD.  You'll see all the hidden and visible folders, in the order Time Machine backs them up.  (Several of the hidden ones are excluded, so you needn't worry about them.)
    Once you have a guesstimate of where the backup gets to 16 GBs, exclude the appropriate folder from backups, via Time Machine Preferences > Options. Then try another backup.
    If you can get a good backup that way, then you can narrow it down by removing the large folder exclusion and excluding sub-folders, etc. 

  • [nForce] Lets solve this 1394 problem once and for all.

        
    Hi guys,
    For the past 3months I have been trying to connect my Panasonic GS150 to my comuter in order to use Avid dvxpress pro. I have the problem of when I connect the camera to the computer, nothing happens. I also have this problem with my Ipod, however testing various different devices with the computer produces a strange outcome. Various different cameras work, xp pops up witha found new hardware device (like it should). Its very strange.
    I started to think it was my system. I changed my onboard firewire to a pci card, same solution. So then, i reinstalled windows, same outcome. So i bought a new motherboard nforce2 platinum and to my total amazment, same problem. If was after i had totally failed in finding the solution that i started to look elsewhere on the net for anyone who knows the answer. It seems to be a VIA firewire chipset problem. Every post of people who had similiar problems where looking for the answer but NOONE has solved it, ive come across about 1000 posts with no reply's. Its a problem that thousands have but not many people ever use ther're firewire ports so they dont they've got the problem.
    I really dont know what the problem is anymore, is it windows, is it certain 1394 devices, or is it the Via chipset. I havent a clue, so if anyone wants to attempt to solve this problem once and forall they will be the hero of about 3000 potential customers...
    Anyone?
    Jon.

    Yes thats correct.   Regardless of the hardware, and various 1394 devices are recognised. I've bought a 4pin to 4pin cable which i will test with different devices to see if they are consistent with a 6pin to 4pin cable, it may be a power issue. Not sure what chip on pci card, heres the info from website.
    - Three external 6-pin FireWire ports
    - Interoperable with existing, as well as older, 1394 consumer electronics and peripheral products
    - Complies with OHCI requirements
    - Compliant with IEEE 1394a-2000 standard
    - Isochronous transfer support (guaranteed bandwidth) for DV video data transfer from Camcorder to PC
    - Provides three fully compliant cable ports, each supporting 400Mbits/sec, 200Mbits/sec and 100Mbits/sec traffic
    - Plug and Play & Hot-Swappable for all ports
    - Power overload and protection failure on each port
    - PCI bus master with PCI 2.2 Bus specification
     

  • Help me to solve this Jsp problem

    //Class1.java
    package p1.p2;
    public class Class1 implements Serializable
    private String name1,name2;
    public void setName1(String name)
    name1=name;
    public String getName1()
    return name1;
    public void setName2(String name)
    name2=name;
    public String getName2()
    return name2;
    //Class2.java
    package p1.p2;
    public class Class2
    String name1,name2;
    public String insert(Class1 c1)
    name1 = c1.getName();
    name2 = c2.getName();
    return name1;
    //Class3.jsp
    <%@ page import="p1.p2.*" %>
    <html>
    <form action="/bobby/Class3.jsp" method=post>
    Name1 : <input type=text name="cn1">
    Name2 : <input type=text name="cn2">
    <input type=submit value="Click"/>
    </form>
    </html>
    <%! String a,b,c; %>
    <%
    Class1 c1 = new Class1();
    Class1 c2 = new Class2();
    a=request.getParameter("cn1");
    b=request.getParameter("cn2");
    c1.setName(a);
    c1.setName(b);
    c=c2.insert(c1);
    out.println(c);
    %>
    WHEN I RUN THE JSP PROGRAM I GOT THE FOLLOWING ERROR.TELL ME THE SOLUTION TO SOLVE THIS PROBLEM.
    javax.servlet.ServletException:
    p1.p2.Class2.insert(Lp1/p2/Class1;)Ljava/lang/String;
    org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl .java:825)
    org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.j ava:758)
    org.apache.jsp.Class3_jsp._jspService(Class3_jsp.java:76)
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:298)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    root cause
    java.lang.NoSuchMethodError: p1.p2.Class2.insert(Lp1/p2/Class1;)Ljava/lang/String;
    org.apache.jsp.Class3_jsp._jspService(Class3_jsp.java:67)
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:298)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

    First, please put your code inside code tags. There's a nice little button. All you have to do is paste your code, highlight it and press the little code button. Thanks.
    I had to make some adjustments to your original post. Either you had some closing braces in the wrong place, or you hve no idea what you're doing. I'm going to assume that Class1 is in a file named p1/p2/Class1.java and Class2 is in p1/p2/Class2.java.
    //Class1.java
    package p1.p2;
    public class Class1 implements Serializable
        private String name1,name2;
        public void setName1(String name)
            name1=name;
        public String getName1()
            return name1;
        public void setName2(String name)
            name2=name;
        public String getName2()
            return name2;
    //Class2.java
    package p1.p2;
    public class Class2
        String name1,name2;
        public String insert(Class1 c1)
            name1 = c1.getName();
            name2 = c2.getName();
            return name1;
    //Class3.jsp
    <%@ page import="p1.p2.*" %>
    <html>
    <form action="/bobby/Class3.jsp" method=post>
    Name1 : <input type=text name="cn1">
    Name2 : <input type=text name="cn2">
    <input type=submit value="Click"/>
    </form>
    </html>
    <%! String a,b,c; %>
    <%
        Class1 c1 = new Class1();
        Class1 c2 = new Class2(); //<-- problem here, do you see it?
        a=request.getParameter("cn1");
        b=request.getParameter("cn2");
        c1.setName(a);
        c1.setName(b);
        c=c2.insert(c1);
        out.println(c);
    %>Note the I highlighted the problem above. HTH.

  • Do i have to use JavaScript to solve this relation Problem?

    Hi everybody,
    i have bounded the DataSource:
    Node Customer (0..n)
    - Attribute: Name
    - Attribute: CustomerNo
    -Node Orders (in Node Customer) also (0..n)
      Attribute: CustomerNo
      Attribute: OrderName
    I have different Customers and every Customer have some Orders. Now i want a list in my interactive Form
    with every Customer with his Orders, one after another-> like this:
    Cutomer-Name: MSA AG Customer-CustomerNo: 1
    - Order1
    - Order2
    - Order3
    Customer-Name: NFKA Co.KG CustomerNo: 2
    - Orderxx
    - Orderxy
    - Orderxz
    So i made a 
    - subform (table-flowed)
    -- subform1 (bodyrow-flowed- reapete subform for each data item)
    -> in this subform are the fields Customer-Name and Customer-No
    ---subform2 (bodyrow-flowed-repeate subform for each data item)
    -> in this subform are teh fields Customer-No and OrderName (both from Node Order)
    so if i build my print form. The list ist mixed up:
    First there is the first Customername, then all Orders of all Customers, then there is the list of all other Customernames.
    But i want -> CustomerName-All Orders to this Customer, next CustomerName with all Orders to this Customer and so on...
    How do i solve this problem?! Do i have to use Java Script ?! How would it look like and where i have to to write it (in Initialize of the Form)?
    Edited by: Andreas Kunz on Dec 18, 2008 1:15 PM
    Here is the Java Code (Web Dynpro) where i fill the Nodes with some Datas:
    IPrivatePagebreak.ICustomerElement customer = null;
         for( int i=0; i<5;i++){
         customer = wdContext.createCustomerElement();
         customer.setCustomerno(String.valueOf(i));
         customer.setFirstName("FirstName"+i);
         customer.setLastName("LastName"+i);
         customer.setPosition("Position"+i);
         customer.setNationality("Nationality"+i);
         wdContext.nodeCustomer().addElement(customer);
         IPrivatePagebreak.IOrderElement order = null;
         for(int j = 0; j < 2; j++)
              order = wdContext.createOrderElement();
              order.setCustomerno(String.valueOf(i));
              order.setOrderno("No"ij);
              order.setOrderName("Order"ij);
              wdContext.nodeCustomer().nodeOrder().addElement(order);
    Edited by: Andreas Kunz on Dec 18, 2008 1:22 PM

    Hi,
    you have two possibilities:
    a) use Java Script in the Form:
        - Loop over the customers
          - Loop over the orders. Create a new instance of the table (instanceManager.create ...)
    b) Modify your data structure using table in table and map the into sub-forms:
        - Outer sub-form with the customers
        - Inner sub-form with a table of the orders
    Using the option b) would be better. You avoid horrible Java Script in the Form.
    Take care,
    Thomas

  • CAN SOMEONE SOLVE THIS APPLICATION PROBLEM? URGENT!

    As per the installation instruction in the "Read Me for
    Installing Schema and Examples for the Tutorial " write-up, I
    executed all the scripts listed there. But when I try to add
    the application component portlet, I do not find the
    TUTORIAL30_APPLICATION listed under TUTORIAL APPLICATION. When I
    try to access the TUTORIAL30_APPLICATION by clicking the
    Applications under the provider "Oracle Portal", it lists the
    TUTORIAL30_APPLICATION but when I try to select this
    application, it gives the following error messages:
    NOTE: THIS PROBLEM I AM FACING WHATEVER I CREATE UNDER
    APPLICATION and TRY TO ADD IT. WHEN I TRY TO FIND OUT MY
    PARTICULAR FORM OR REPORT UNDER MY NEWLY CREATED APPLICATION
    ALSO, THE PROBLEM IS SAME. SHOULD I RE-INSTALL PORTAL FROm THE
    SCRATCH?
    <!--StartFragment-->PORTAL30.wwpob_page.render_portlet_screen:
    SIGNATURE (parameter names) MISMATCH
    VARIABLES IN FORM NOT IN PROCEDURE: P_APP_ID
    NON-DEFAULT VARIABLES IN PROCEDURE NOT IN FORM:^^9
    DAD name: portal30
    PROCEDURE : PORTAL30.wwpob_page.render_portlet_screen
    URL :
    http://GALAXY:80/pls/portal30/PORTAL30.wwpob_page.render_portlet_
    screen?
    p_providerid=927142&p_portletid=10&p_referencepath=&p_mode=100&p_
    back_url=&p_app_id=1880851862
    PARAMETERS :
    ============
    P_PROVIDERID:
    927142
    P_PORTLETID:
    10
    P_REFERENCEPATH:
    P_MODE:
    100
    P_BACK_URL:
    P_APP_ID:
    1880851862
    ENVIRONMENT:
    ============
    PLSQL_GATEWAY=WebDb
    GATEWAY_IVERSION=2
    SERVER_SOFTWARE=Apache/1.3.12 (Win32) ApacheJServ/1.1
    mod_ssl/2.6.4 OpenSSL/0.9.5a mod_perl/1.22
    GATEWAY_INTERFACE=CGI/1.1
    SERVER_PORT=80
    SERVER_NAME=GALAXY
    REQUEST_METHOD=GET
    QUERY_STRING=p_providerid=927142&p_portletid=10&p_referencepath=&
    p_mode=100&p_back_url=&p_app_id=1880851862
    PATH_INFO=/pls/portal30/PORTAL30.wwpob_page.render_portlet_screen
    SCRIPT_NAME=/pls
    REMOTE_HOST=
    REMOTE_ADDR=127.0.0.1
    SERVER_PROTOCOL=HTTP/1.1
    REQUEST_PROTOCOL=HTTP
    REMOTE_USER=
    HTTP_CONTENT_LENGTH=
    HTTP_CONTENT_TYPE=
    HTTP_USER_AGENT=Mozilla/4.0 (compatible; MSIE 5.5; Windows
    NT 5.0)
    HTTP_HOST=galaxy
    HTTP_ACCEPT=image/gif, image/x-xbitmap, image/jpeg,
    image/pjpeg, application/vnd.ms-excel, application/msword,
    application/x-comet, */*
    HTTP_ACCEPT_ENCODING=gzip, deflate
    HTTP_ACCEPT_LANGUAGE=en-us
    HTTP_ACCEPT_CHARSET=
    HTTP_COOKIE=portal30=1099809DBE27A307E6FF5A5FF7E396AF52E5454321FA
    A327D5BB5E6DA30D30796B206707FAE9EB7BD8790F59A74BBB23B583571C566D2
    DADAA731C1568F3FCB57FBF52030A3048D4134154E7045BD074000B614984DF6A
    3F;
    portal30_sso=2FB35B6FA45359778768C27D9B08A5F491569395DDA49D88BC88
    C9AF1C05A5AAAA444725B5302FDCE62BDF1DE2596D12314B3C01B14129371F9BC
    3E2281C7BF3E737399C65AC10E97D8441700B9D7A9DE7DEDD8E5D64A8F7
    Authorization=
    HTTP_IF_MODIFIED_SINCE=
    Please look into the problem and provide me the solution.
    If I want to un-install the tutorial etc. what should I do?.
    I suspect in the execution of the following command script:
    cd ..\src\wwu\appimp.cmd -s <PortalOwner_username> -p
    <PortalOwner_password> -m CREATE -a TUTORIAL30_APPLICATION -f
    <demo_dir>/hlw30_trl_comp.sql -o portalnew -c <connect_string>
    I executed the above command as follows:
    c:\pschema> appimp.cmd -s portal30 -p portal30 -m CREATE -a
    TUTORIAL30_APPLICATION -f hlw30_trl_comp.sql -o portalnew -c
    ORCL8
    How to re-execute the above script?. I tried to re-execute the
    above script by deleting the TUTORIAL30_APPLICATION rows from
    wwv_modules$ table, but the appimp.cmd script terminated after
    the following messages:
    ...Importing component: ID = 3365687784 Name = TUTORIAL_HRREP
    Owner = TUTORIAL30_APPLICATION Type = REPORT
    Input truncated to 6 characters
    Disconnected from Oracle8i .......
    Thanks,
    A. Moyeed
    E-mail: [email protected]
    Note:
    OS Windows 2000 Professional
    Database: Oracle 8.1.6.0.0
    Portal 3.0.6.3.3

    InPHeCTed wrote:
    Most Wifi hotspots are configured for PC's and not Macs. Most will work with macs, but will have some issues. Unfortunately there is no way to solve this other than asking the hospitals to update their wifi network with Mac-friendly wireless routers
    How do you configure a hot spot for PC only? What are "Mac-friendly wireless routers"? Hot spots use wifi technology based on 802.x. This is a wifi standard supported by wifi routers, PCs, and Apple products.

  • Honestly, this annoying problem I have had for months on end... [X201]

    And its freaking pissing me off. When I occasionally go on Youtube, my laptop screen goes black and hangs up until I do a hard reset. If I wait for the black to go away it just doesn't. It will show some buttons on my screen but for the most part it just goes black and I can't do anything until I force a shutdown by holding down the power button.
    This is NOT cool. I could be damaging my laptop in the longterm if I don't find a work around. And this annoying issue only happens when I go on Youtube sometimes. First the battery problem and now this? Can someone give me a solid solution to this problem or will I have to toss this laptop out my apartment window? I know it has to do with the graphics card in some shape or form and I know 100% that I can't be the only one experiencing this problem.

    Here, let me PM you a Valium. Feel better now?
    Let's look at the issue, determine a cause and figure out a solution.
    First, does this happen each and every time you go to youtube or just sometimes. It isn't clear from your description if you only occasionally go to Youtube (and it hangs everytime) or it only hangs occasionally (but you go to Youtube often.)
    YouTube is just a website like any other but may require some plugins or updated drivers. This isn't a Lenovo issue but may be an issue with drivers or the browser you are using.

  • Does anybody know how to solve this font problem?

    Hello everyone,
    I have had this font problem for weeks now and I can't seem to get it solved. There are a number of fonts that won't load properly in Illustrator, PS, and InDesign. They are loaded in the system, but refuse to show up in the list. I've installed them in the home directory/library/fonts. These are commercial opentype fonts and one homemade opentype font. Sometimes the font that I created will appear, other times it does not, but many other fonts refuse to show up in the font display lists of these 3 software packages.
    I've cleared the font caches with FontNuke, everything looks like it should work properly, but it does not. Also, with Font Book, I've resolved any duplicate font problems. Does anybody know how to solve this problem? Is this a known CS4 bug?
    Any help would be greatly appreciated. I'm using the latest Mac Mini and CS4 software.
    Thanks in advance.
    CB

    Hi,
    How do I check if the fonts have the correct creator and so on?
    Anyway, I've spent the better part of today validating and removing suspect
    fonts. Why does the right click choice for resolve duplicates and the
    validate font behave completely differently in Font Book? I discovered that
    when this is investigated further with the validate font command, I found I
    had a massive amount of duplicates that according to font book cause minor
    errors. I thought that would have been sorted out with the resolve duplicate
    command, instead I ended up check marking and manually removing the fonts
    that had minor errors.
    I still have many commercial fonts plus my own font not showing up in
    Illustrator or PhotoShop. If I copy and paste the font directly into
    InDesign's font folder, my font shows up. I also tried removing my font to
    see if this would fix any of the other problems. It doesn't. I did type in
    my font name in the console dialog box and this message is displayed for
    this font as well as mine and many others.
    10-04-06 5:21:09 PM Font Book[12940] ##### ERROR:  The font system thinks
    the font
    file://localhost/Library/Fonts/Voluta%20Script%20Pro/VolutaScriptPro-Regular.otf
    is active, but the file no longer exists!
    Then I went back to font book to check to see if it is there and it is
    enabled. For my font the caution triangle appears with the multiple copies
    of the font is installed. Resolving duplicates doesn't solve this problem.
    Any ideas of how to fix this problem?
    Thanks
    CB

Maybe you are looking for